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

Re: inconsistent font availability



On Sat, Apr 19, 2003 at 01:18:51PM +0100, Shri Shrikumar wrote:
> Hi All,
> 
> I have this strange problem with fonts on my machine. Different apps
> seem to report different sets of fonts.
> 
> Anjuta (Gnome based app) reports a list of fonts which believe to be
> correct. 

GTK1.3-based apps will get their list of fonts from /etc/X11/XF86Config.

Well, unless you've installed libgdkxft0, which uses Xft1 and will thus
get it's list from /etc/X11/XftConfig.

> However, gnome-terminal (gnome2 app) seems to list a set of
> fonts which are mostly nowhere else and Konsole lists only a dozen
> fonts.

gtk2-based programs should be using fontconfig and getting a list of
fonts from /etc/font/{local,fonts}.conf.

> At first I though the Konsole thing might be something to do with kde
> but Krusader and Konquerer seem to show the list of fonts similar to the
> one in Anjuta.

Hm,  not sure about his.  I have heard of some bug in fontconfig that
meant that konsole didn't see all the available fonts (or something like
that), though, but I'm not sure if it's fixed or not...

> Openoffice also displays only around a dozen fonts.

I think OpenOffice uses it's own funny font system.  Doesn't it come
with some sort of font import utility?

> I am hoping that this is not because I am using a testing / unstable
> workstation with remote woody xfs-xtt server.

Firstly, you know X can use TrueType fonts directly without a font
server, right?  Secondly, (as far as I know, anyway) the only part of X
that uses (and can use) the font server is the core X fonts aka the old
X font system.  KDE3 and GNOME2 will NOT see these fonts.  At all.  They
see fonts based on what /etc/fonts/* tells them.

If you're using xft-xtt to share fonts between multiple hosts to save
disk space, then I'd suggest using a read-only NFS mount to put the
fontdir somewhere in each machines disk view, and then mention this dir
in /etc/fonts/local.conf.  If not, just install the fonts on each
machine normally, and watch it Just Work.

-- 
Rob Weir <rweir@ertius.org>                              http://www.ertius.org/
GPG keys: 1024D/1E73B7CD, 4096R/3ABDE5EC     |      Do I look like I want a CC?
Words of the day:      Reno Forte Albanian global terrorism warfare SEAL Team 6

Attachment: pgpVBWATdCeee.pgp
Description: PGP signature


Reply to: