[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Gnome 2 and Font Servers



>>>>> "Mark" == Mark L Kahnt <kahnt@hosehead.dyndns.org> writes:

Mark> Well, I tried that, because XftConfig was limited to just:

Mark> dir "/usr/X11R6/lib/X11/fonts/Type1" dir
Mark> "/usr/X11R6/lib/X11/fonts/TrueType"

Mark> and now contains:

Mark> dir "/usr/X11R6/lib/X11/fonts/Type1"
Mark> dir "/usr/X11R6/lib/X11/fonts/TrueType"
Mark> dir "/usr/lib/X11/fonts/misc"
Mark> dir "/usr/lib/X11/fonts/cyrillic"
Mark> dir "/usr/lib/X11/fonts/100dpi/:unscaled"
Mark> dir "/usr/lib/X11/fonts/75dpi/:unscaled"
Mark> dir "/usr/lib/X11/fonts/Speedo"
Mark> dir "/usr/lib/X11/fonts/100dpi"
Mark> dir "/usr/lib/X11/fonts/75dpi"

Oh.  OK, I failed to mention, Xft can only use TrueType and Type1 fonts
(and maybe Speedo, but I'm not sure about that).  Since the directories
that you added only contain bitmapped fonts, this won't help.

I believe if you turn off antialiasing, both KDE and GTK will use the
classic X font selection method, which should be able to find all your
fonts.  If antialiasing is on, they use Xft which only uses TrueType and
Type1 (for now -- I hear bitmapped support will eventually be added to
FreeType, which should trickle down the support to Xft).

Since you mention that you need to support Arabic and Cyrillic text, it
would probably be better to turn off antialiasing, since foreign
character support in TrueType and Type1 fonts seems to be a bit sparse
at the moment, unless you get a hold of the Arial Unicode font, or some
other good font that has support for non-latin characters.  It's
probably easier to find a font with Cyrillic characters than one with
Arabic.

You can turn off antialiasing in KDE using some control panel
application.  For GTK, I think you just need to make sure that the
GDK_USE_XFT environment variable isn't set.

Mark> followed by logging out, restarting xfs and xfstt, and gdm, only
Mark> to find myself no further ahead.

Xft isn't related to xfs (or xfstt).  Changes to XftConfig should be
almost-immediate (i.e. you should just need to restart an application).

BTW, you shouldn't need both xfs and xfstt.

-- 
Hubert Chan <hubert@uhoreg.ca> - http://www.uhoreg.ca/
PGP/GnuPG key: 1024D/124B61FA
Fingerprint: 96C5 012F 5F74 A5F7 1FF7  5291 AF29 C719 124B 61FA
Key available at wwwkeys.pgp.net.   Encrypted e-mail preferred.

Attachment: pgpK9pieLfWxK.pgp
Description: PGP signature


Reply to: