Re: Installing a new font
Re: Installing a new font
- Subject: Re: Installing a new font
- From: "Ambrose Li" <email@hidden>
- Date: Tue, 25 Dec 2007 02:08:38 -0500
On 25/12/2007, Jeremy Huddleston <email@hidden> wrote:
> > Well, for the record, I think you're confusing the two font systems
> > (fontconfig which is in userland, and the server-provided fonts)
> > which is quite common... heck, it confuses me sometimes. The server
> > currently doesn't support providing fonts in user home directories.
> > This is something we hope to remedy but is a rather low priority
> > because server provided fonts are the way of the past.
> > Additionally, this is something that isn't supported on linux either.
> >
> > Dropping fonts into ~/.fonts should work for fontconfig, but you
> > don't run 'mkfontdir', you run 'fc-cache'. You should then see that
> > font in the output of 'fc-list'. If you want the font to be
> > provided by the server, you should drop it into /usr/X11/lib/X11/
> > fonts/TTF then run mkfontdir and mkfontsale on that dir.
I notice that the original poster mentioned a combination of
dropping the font into ~/.fonts, running mkfontdir, and modifying
the font path. Assuming that the server and client are on the same
box, doing all three SHOULD work (to provide a server-side font).
As to whether server-provided fonts are "the way of the past",
I'd not be so sure to dismiss them. There are a number of
applications where scaled client-side fonts give very poor
results. One such thing (something that I have to do every
week at work) is to create small, low-res, unantialiased
bitmaps of text of small (12- to 16-pixel) point sizes (e.g.,
for LCD panels) where old-style hand-tuned bitmap fonts
would give the best results and the scalable fonts generally
produce very illegible text, with or without hinting. Scaled
Chinese looks especially illegible, and I'd love to use those
hand-tuned Japanese fonts, if they can still easily be used...
(Surely this is not exactly server- vs client-side font handling
but rather lack of support of bitmap fonts. But bitmap fonts
are generally associated with server-side font handling and
scalable fonts, client-side font handling.)
--
cheers,
-ambrose
Yahoo and Gmail must die. Yes, I use them, but they still must die.
PS: Don't trust everything you read in Wikipedia. (Very Important)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden