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, Alexander Gottwald wrote:

> 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

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

> > > 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?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw


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