fonts and symbolic links

Alexander Gottwald alexander.gottwald@s1999.tu-chemnitz.de
Wed Aug 25 17:55:00 GMT 2004


On Wed, 25 Aug 2004, Igor Pechtchanski wrote:

> > mkdir -p /usr/X11R6/lib/X11/fonts/windows
> > lndir `cygpath -W` /usr/X11R6/lib/X11/fonts/windows
>                    ^
> Shouldn't this be
> 
> lndir "`cygpath -W`"'\Fonts' /usr/X11R6/lib/X11/fonts/windows
> 

actually yes. missed that when copying the line

> ?
> 
> > mkfontscale -b -l /usr/X11R6/lib/X11/fonts/windows
> 
> Is "ttmkfdir" needed here too?

no. mkfontscale (and mkfontdir which is just a wrapper for mkfontscale)
can handle all true type fonts.

the wrapper mkfontdir looks like
exec /usr/X11R6/bin/mkfontscale -b -s -l "$@"

-b: read bitmap fonts 
-s: ignore scalable fonts

the correct way to setup a font dir is
mkfontscale $dir		# scan Truetype fonts
mkfontscale -b -s -l $dir	# scan bitmap fonts

bye
	ago
-- 
 Alexander.Gottwald@s1999.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723



More information about the Cygwin-xfree mailing list