Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TTF font problems



On Nov 27, 2007, at 12:53 PM, Harald Hanche-Olsen wrote:

I like using the bitstream vera mono font for my terminals and
emacsen.  This doesn't work under Leopard:  The font files are in
/usr/X11/lib/X11/fonts/TTF/, but the Vera fonts are not listed in
/usr/X11/lib/X11/fonts/TTF/fonts.dir.

That's a bug; we're apparently running mkfontdir too early in the build process. Please file a bug at bugreport.apple.com.


So I tried running the commands

 mkfontscale /usr/X11/lib/X11/fonts/TTF/
 mkfontdir /usr/X11/lib/X11/fonts/TTF/
 xset fp recache

but then the final command produces this output:

/usr/X11R6/bin/xset: bad font path element (#63), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax


I have no idea how that (#63) is supposed to enlighten me, and anyway,
the vera fonts dont appear:  The fonts.dir contains lines like

Vera.ttf -bitstream-bitstream vera sans-medium-r-normal--0-0-0-0-p-0- iso10646-1

but xlsfonts does not list the font.

Is this a bug in the X server's handling of truetype fonts, or did I
make a mistake, or is something else going on?

I have no clue why xset gives that error, but you should see the fonts in the output of xlsfonts if you restart X11.app.
--
Ben Byer
CoreOS / BSD Technology Group, XDarwin maintainer


_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden
References: 
 >TTF font problems (From: Harald Hanche-Olsen <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.