This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: fonts and symbolic links
On Wed, 25 Aug 2004, Alexander Gottwald wrote:
> On Wed, 25 Aug 2004, Alexander Gottwald wrote:
>
> > On Wed, 25 Aug 2004, Igor Pechtchanski wrote:
> > > 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?
Nope. But, FWIW, I was thinking of doing exactly what you proposed below.
IMO, all of the "microsoft-cp12*" encodings should be added as default for
Cygwin/X, since those are what Windows uses.
> It is hardcoded into mkfontscale.
>
> { "iso8859-1", "iso8859-2", "iso8859-3", "iso8859-4", "iso8859-5",
> "iso8859-6", "iso8859-6.8", "iso8859-6.8x", "iso8859-6.16",
> "iso8859-7", "iso8859-8", "iso8859-9", "iso8859-10",
> "iso8859-11", "iso8859-12", "iso8859-13", "iso8859-14",
> "iso8859-15", "iso8859-16",
> "ansi-1251", "koi8-r", "koi8-u", "koi8-ru", "koi8-e", "koi8-uni",
> "tis620-2",
> "sun.unicode.india-0", "suneu-greek",
> "adobe-standard", "adobe-symbol",
> "ibm-cp437", "ibm-cp850", "ibm-cp852", "ibm-cp866", "microsoft-cp1252",
> /* But not "adobe-dingbats", as it uses generic glyph names. */
> "cns11643-1", "cns11643-2", "cns11643-3",
> "jisx0201.1976-0", "jisx0208.1983-0", "jisx0208.1990-0",
> "jisx0212.1990-0", "big5-0", "big5.eten-0", "big5hkscs-0",
> "gb2312.1980-0", "gb18030.2000-0", "gb18030.2000-1",
> "ksc5601.1987-0", "ksc5601.1992-3"};
>
> I think of adding a wrapper which reads directories and encodings from
> configfiles (+some builtins) and does the fontdir update for us.
Yep, that'd be great. Thanks.
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