This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fonts and symbolic links


On Wed, 25 Aug 2004, Igor Pechtchanski wrote:

> Sorry for the mess-up above, that should have been "`cygpath -W`/Fonts" 
> (but you still need the quotes).

right.

> > > > 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
> 
> Ah, I see now.  One more question: the above commands seem to ignore all 
> of the "microsoft-cp12*" encodings except "microsoft-cp1252".  I found 
> that I needed to add an explicit "-a microsoft-cp1251" flag if I wanted 
> the "microsoft-cp1251" encoding to be included.  Why is that, and where is 
> the default list of encodings coming from?

Hm. There is a file encodings.dir in /usr/X11R6/lib/X11/fonts/Type1.
Does it work if you copy it to the TTF directory?

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]