-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It has been a while since I asked about this but I wanted to pass this along
in case it helps or enlightens anyone.

I finally got the font (flubber) to work. It is a hack, and I still don't
understand why some of the fonts won't work the way Mandrake installs them,
but I don't have the time nor the patience to make a major study of this. I
expect this to work with many of the other 'broken fonts' that are found in
/usr/share/fonts/ .

Here is how I made the font work. (I basically just installed it into a 'more
standard ?' location)

1) Copy the font into a new location:

   # cd /usr/X11R6/lib/X11/fonts/TTF
   # cp /usr/share/fonts/ttf/decoratives/flubber.ttf .

2) Create a line in fonts.scale for the font, using an editor.

   # vi fonts.scale

My line looks like this (not totally correct but close enough):

flubber.ttf -b&h-Flubber-medium-r-normal--0-0-0-0-m-0-iso8859-1

The fonts.scale file is set read-only so you will have to chmod the file or
override the status (ie: w! in vi)

3) Issued the following commands to update and restart the font server.

   # mkfontdir
   # xset fp rehash
   # service xfs restart

This has worked on both of the boxes I have tried this on. (Both Mdk 9.1) I
should probably remove the old entry/location but at least this is workable. I
stumbled upon this while I was installing a new font. Like I said, it is a
hack but it works for me and I hope this will help someone else to live with
the problem or perhaps find a better solution.

I am not going to install/upgrade all of the necessary pieces to build the
latest version of Gimp, just to fix a 'broken font' problem, but I do
appreciate that advice also.

I don't understand why we have fonts in two different places in the
filesystem(s)...

YMMV, KevinO

Jack Coates wrote:
> I ran into this several years ago, and there was an FAQ on the gimp.org
> site about it. Have you read and tried anything from the gimp.org FAQ?
>
Yes
> On Fri, 2003-05-23 at 02:55, KevinO wrote:
>
>>-----BEGIN PGP SIGNED MESSAGE-----
>>Hash: SHA1
>>
>>Stephlub wrote:
>>
>>>I encountered this problem, I didn't solve it.
>>>suspect to be the font import module of Gimp which isn't able to pick some
>>>sorts of TTF.
>>>while it was not important for me, I made with Ooo the gifs I used with Gimp
>>>
>>
>>Bummer. I asked a friend of mine to check his 9.1 box and he has the same
>>thing. I wonder if these fonts (flubber, for instance) work for anyone under
>>9.1...
>>
>>Toggling anti-aliasing or dynamic fonts makes no difference.
>>
>>Is this a change that was made to the gimp code or am I experiencing another
>>'distribution tweak?'.
>>
>>
>>
>>>
>>>>We have two Mandrake 9.1 boxes here and they both appear to have the same
>>>>problem. A lot of the fonts (flubber, for instance) appear in the list of
>>>>fonts for gimp but when you try to select them you get a message "font is
>>>
>>>not
>>>
>>>
>>>>available".
>>>>
>>>>The fonts in question are installed on both machines. The fonts can be
>>>
>>>used in
>>>
>>>
>>>>open-office-writer and kwrite, on either machine.
>>>>
>>>>The paths to the fonts are listed in /usr/X11R6/lib/X11/fs/config.
>>>>
>>>>xlsfonts lists the fonts in question.
>>>>
>>>>I am starting to suspect some kind of a 'disconnect' between xfs and gimp.
>>>
>>>If
>>>
>>>
>>>>I sit at one of our other boxes and open an ssh session to either of the
>>>
>>>9.1
>>>
>>>
>>>>boxes, the fonts work fine.
>>>>
>>>>Any ideas?
>>>>
>>>>TIA
>>
>>- --
>>KevinO

- --
KevinO

"If truth is beauty, how come no one has their hair done in the library?"
- -- Lily Tomlin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/CTdxWOfRC7Rnmv8RArvgAJ4wKk3MeAHE1u+bAc9cqJPsEHlQ6QCdEESK
BM7/NuLaLMoXikQZWhfYvnY=
=A9u3
-----END PGP SIGNATURE-----


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to