Around 20 o''clock on Apr 11, Seva Gluschenko wrote:> it''s strange to see it reports 0 fonts for > /usr/X11R6/lib/X11/fonts/koi8-1/misc:Fontconfig (and Xft) are only interested in fonts with a Unicode encoding, fontconfig explicitly skips .pcf fonts which are encoded in some other way. It would be possible to hack fontconfig to support koi8-1 encodings, but you''d also have to hack it to discover the PCF encoding through FreeType, something which would require digging through the PCF private data structures from FreeType. -keith
Seva Gluschenko
2005-Nov-21 08:50 UTC
[Fontconfig] problem: cyrillic fonts weren''t cached
Hello there. I''m trying fontconfig-2.1.92 and noticed the following messages during install: fc-cache: "/usr/X11R6/lib/X11/fonts/100dpi": caching, 397 fonts, 0 dirs fc-cache: "/usr/X11R6/lib/X11/fonts/75dpi": caching, 397 fonts, 0 dirs fc-cache: "/usr/X11R6/lib/X11/fonts/CID": caching, 0 fonts, 0 dirs fc-cache: "/usr/X11R6/lib/X11/fonts/PEX": caching, 0 fonts, 0 dirs fc-cache: "/usr/X11R6/lib/X11/fonts/Speedo": caching, 0 fonts, 0 dirs fc-cache: "/usr/X11R6/lib/X11/fonts/TTF": caching, 12 fonts, 0 dirs fc-cache: "/usr/X11R6/lib/X11/fonts/Type1": caching, 29 fonts, 0 dirs fc-cache: "/usr/X11R6/lib/X11/fonts/cyrillic": caching, 0 fonts, 0 dirs fc-cache: "/usr/X11R6/lib/X11/fonts/encodings": caching, 0 fonts, 1 dirs fc-cache: "/usr/X11R6/lib/X11/fonts/encodings/large": caching, 0 fonts, 0 dirs fc-cache: "/usr/X11R6/lib/X11/fonts/latin2": caching, 0 fonts, 2 dirs fc-cache: "/usr/X11R6/lib/X11/fonts/latin2/100dpi": caching, 0 fonts, 0 dirs fc-cache: "/usr/X11R6/lib/X11/fonts/latin2/75dpi": caching, 0 fonts, 0 dirs fc-cache: "/usr/X11R6/lib/X11/fonts/local": caching, 0 fonts, 0 dirs fc-cache: "/usr/X11R6/lib/X11/fonts/misc": caching, 55 fonts, 0 dirs fc-cache: "/usr/X11R6/lib/X11/fonts/util": caching, 0 fonts, 0 dirs fc-cache: "/usr/X11R6/lib/X11/fonts/koi8-1": caching, 0 fonts, 3 dirs fc-cache: "/usr/X11R6/lib/X11/fonts/koi8-1/misc": caching, 0 fonts, 0 dirs fc-cache: "/usr/X11R6/lib/X11/fonts/koi8-1/75dpi": caching, 0 fonts, 0 dirs fc-cache: "/usr/X11R6/lib/X11/fonts/koi8-1/doc": caching, 0 fonts, 0 dirs fc-cache: "/usr/X11R6/lib/X11/fonts/URW": caching, 35 fonts, 0 dirs fc-cache: "/usr/X11R6/lib/X11/fonts/TTF": caching, 12 fonts, 0 dirs fc-cache: "/usr/X11R6/lib/X11/fonts/Type1": caching, 29 fonts, 0 dirs fc-cache: "/usr/X11R6/lib/X11/fonts/URW": caching, 35 fonts, 0 dirs while it''s understandable 0 fonts in, say, /usr/X11R6/lib/X11/fonts/local which is really empty, it''s strange to see it reports 0 fonts for /usr/X11R6/lib/X11/fonts/koi8-1/misc:> ls -l /usr/X11R6/lib/X11/fonts/koi8-1/misc/total 102 -rw-r--r-- 1 root wheel 5676 Sep 30 2000 10x20k.pcf.gz -rw-r--r-- 1 root wheel 6898 Aug 9 2000 12x24k.pcf.gz -rw-r--r-- 1 root wheel 4202 Aug 9 2000 5x7k.pcf.gz -rw-r--r-- 1 root wheel 4836 Aug 9 2000 6x10k.pcf.gz -rw-r--r-- 1 root wheel 5029 Aug 9 2000 6x13Bk.pcf.gz -rw-r--r-- 1 root wheel 5035 Oct 7 2000 6x13k.pcf.gz -rw-r--r-- 1 root wheel 5146 Aug 9 2000 7x13Bk.pcf.gz -rw-r--r-- 1 root wheel 5202 Aug 9 2000 7x13k.pcf.gz -rw-r--r-- 1 root wheel 4878 Aug 9 2000 7x14Bk.pcf.gz -rw-r--r-- 1 root wheel 5007 Oct 7 2000 7x14k.pcf.gz -rw-r--r-- 1 root wheel 5235 Aug 9 2000 8x13Bk.pcf.gz -rw-r--r-- 1 root wheel 5200 Aug 9 2000 8x13k.pcf.gz -rw-r--r-- 1 root wheel 5701 Aug 9 2000 8x16k.pcf.gz -rw-r--r-- 1 root wheel 5501 Aug 9 2000 9x15Bk.pcf.gz -rw-r--r-- 1 root wheel 5372 Aug 9 2000 9x15k.pcf.gz -rw-r--r-- 1 root wheel 3306 Oct 7 2000 fonts.alias -rw-r--r-- 1 root wheel 0 Apr 11 20:24 fonts.cache-1 -rw-r--r-- 1 root wheel 1085 Oct 8 2002 fonts.dir -rw-r--r-- 1 root wheel 3084 Aug 9 2000 nil2k.pcf.gz it happens only against cyrillic fonts, other fonts are found and cached just fine. Could you advice how to handle this? Thank you in advance. SY, Seva Gluschenko, just stranger on The Road. Demos-Internet NOC | GVS-RIPE | GVS3-RIPN