Thread: [Tuxpaint-devel] Font shows only squares in Tux Paint
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
From: Bill K. <nb...@so...> - 2005-06-29 03:14:18
|
Does anyone have any clues about the following? [11:38] <yvesC> I am trying to install a ttf font file for tuxpaint (linux). [11:39] <yvesC> http://alecole.vienneinfo.org/magazine/telech2.htm ec.ttf [11:39] <yvesC> http://alecole.vienneinfo.org/magazine/telechar/ec.ttf [11:39] <yvesC> but tuxpaint shows me only squares instead of characters [11:39] <yvesC> any hints ? In Tux Paint 0.9.14, I also get squares. In Tux Paint from CVS, I don't actually see the font. (Note, I have to run with "--nosysfonts" because some font somewhere is causing Tux Paint to crash. I do have another TTF in my "~/.tuxpaint/fonts/" directory, and it works fine.) Thanks! -- -bill! Picn*x14 --- Linux Anniversary Picnic & BBQ! bi...@ne... Sunnyvale Baylands Park, Sunday, August 14th http://newbreedsoftware.com/ http://linuxpicnic.org/ to RSVP & volunteer! |
From: Albert C. <al...@us...> - 2005-06-29 04:35:23
|
On Tue, 2005-06-28 at 20:14 -0700, Bill Kendrick wrote: > Does anyone have any clues about the following? > > [11:38] <yvesC> I am trying to install a ttf font file for tuxpaint (linux). > [11:39] <yvesC> http://alecole.vienneinfo.org/magazine/telech2.htm ec.ttf > [11:39] <yvesC> http://alecole.vienneinfo.org/magazine/telechar/ec.ttf > [11:39] <yvesC> but tuxpaint shows me only squares instead of characters > [11:39] <yvesC> any hints ? Lots of strange fonts will only give you squares. Maybe the font uses a symbol encoding, similar to a Dingbats or Webdings font. > In Tux Paint 0.9.14, I also get squares. In Tux Paint from CVS, I don't > actually see the font. (Note, I have to run with "--nosysfonts" because > some font somewhere is causing Tux Paint to crash. I do have another TTF > in my "~/.tuxpaint/fonts/" directory, and it works fine.) It's time to get to the bottom of this, don't you think? I'd like you to upgrade all font-related libraries. There have been some very serious bugs. Problem gone? Running tuxpaint under a debugger might be revealing. Doing without the background font scanner should make the debug info easier to follow. You could print font names (filenames) as they are used. |
From: Bill K. <nb...@so...> - 2005-06-29 05:23:51
|
On Wed, Jun 29, 2005 at 12:32:27AM -0400, Albert Cahalan wrote: > I'd like you to upgrade all font-related libraries. Heheh. :^) Well, I'm using Debian Testing, so I figured I'd be _relatively_ current. Let's see what I have: libsdl-ttf2.0-0 2.0.6-5 [latest from libsdl.org is 2.0.7-1] libfreetype6 2.1.7-2.4 [latest from savannah is 2.1.10] > There have been some very serious bugs. Problem gone? When I get the time, I'll try using the absolute latest of these, built from source (or, if there are apt repositories I can find, from binary), and see if things work better. > Running tuxpaint under a debugger might be revealing. > Doing without the background font scanner should make > the debug info easier to follow. You could print font > names (filenames) as they are used. Yeah, I need to look into that, too. My time for actual Tux Paint development and testing has come to a standstill lately. Every time I _do_ get around to it, I'm way too tired, and decide I should probably get to bed so I can get up for work the next day. :^) -- -bill! Picn*x14 --- Linux Anniversary Picnic & BBQ! bi...@ne... Sunnyvale Baylands Park, Sunday, August 14th http://newbreedsoftware.com/ http://linuxpicnic.org/ to RSVP & volunteer! |
From: Bill K. <nb...@so...> - 2005-07-17 20:39:39
|
On Wed, Jun 29, 2005 at 12:32:27AM -0400, Albert Cahalan wrote: > On Tue, 2005-06-28 at 20:14 -0700, Bill Kendrick wrote: > > Does anyone have any clues about the following? > > > > [11:38] <yvesC> I am trying to install a ttf font file for tuxpaint (linux). > > [11:39] <yvesC> http://alecole.vienneinfo.org/magazine/telech2.htm ec.ttf > > [11:39] <yvesC> http://alecole.vienneinfo.org/magazine/telechar/ec.ttf > > [11:39] <yvesC> but tuxpaint shows me only squares instead of characters > > [11:39] <yvesC> any hints ? > > Lots of strange fonts will only give you squares. Maybe the font > uses a symbol encoding, similar to a Dingbats or Webdings font. yvesC told me on IRC that he ran the TTFs through 'fontforge' and it fixed the issue. -- -bill! Picn*x14 --- Linux Anniversary Picnic & BBQ! bi...@ne... Sunnyvale Baylands Park, Sunday, August 14th http://newbreedsoftware.com/ http://linuxpicnic.org/ to RSVP & volunteer! |
From: Bill K. <nb...@so...> - 2005-07-17 20:45:01
|
On Sun, Jul 17, 2005 at 01:39:09PM -0700, Bill Kendrick wrote: > yvesC told me on IRC that he ran the TTFs through 'fontforge' and it fixed > the issue. Specifically: [13:44] <yvesC> i just fix encoding in "Info Fontes" (Policy Info i think in english) [13:44] <yvesC> It was custom, i put iso 8859-15 -bill! |
From: Albert C. <al...@us...> - 2005-07-17 22:15:15
|
On Sun, 2005-07-17 at 13:44 -0700, Bill Kendrick wrote: > On Sun, Jul 17, 2005 at 01:39:09PM -0700, Bill Kendrick wrote: > > yvesC told me on IRC that he ran the TTFs through 'fontforge' and it fixed > > the issue. > > Specifically: > > [13:44] <yvesC> i just fix encoding in "Info Fontes" > (Policy Info i think in english) > [13:44] <yvesC> It was custom, i put iso 8859-15 That would do it. I suppose that libSDLttf, or whatever that library is called, should detect this and do something about it. Tux Paint can't deal with this unless it switches to not using that library. If this has come up before (has it?) then it could go in the documentation I guess. |