Keith Packard <[EMAIL PROTECTED]> $B$5$s$O=q$-$^$7$?(B:
(B
(B> Around 16 o'clock on Jan 19, Mike FABIAN wrote:
(B>
(B>>> Given two fonts w/ the same name but different glyph coverages, how
(B>>> does one configure fonts.conf to ensure that the large font is chosen?
(B>
(B> If the fonts are versioned correctly, fontconfig will prefer the largest 
(B> version number which should work.  Otherwise, you should delete the broken 
(B> font.  Mike's kludge will also work.
(B
(BThe kludge to specify the file name didn't seem to work when I
(Btried it. Apparently the file name was ignored. 
(B
(BI also tried to use the filename to force the usage of a particular
(Bbitmap font, but this didn't seem to work either. For example, if I
(Bwant to use the 10x20 bitmap font, in xterm via Xft, how to do that?
(B
(Bfc-list gives me:
(B
(B    mfabian@magellan:~$ LC_ALL=en_GB.UTF-8 fc-list "fixed:pixelsize=20" file
(B    /usr/X11R6/lib/X11/fonts/japanese/10x20b.pcf.gz:
(B    /usr/X11R6/lib/X11/fonts/japanese/10x20ai.pcf.gz:
(B    /usr/X11R6/lib/X11/fonts/japanese/10x20a.pcf.gz:
(B    /usr/X11R6/lib/X11/fonts/misc/10x20-ISO8859-1.pcf.gz:
(B    /usr/X11R6/lib/X11/fonts/misc/10x20.pcf.gz:
(B    /usr/X11R6/lib/X11/fonts/japanese/10x20bi.pcf.gz:
(B    mfabian@magellan:~$ LC_ALL=en_GB.UTF-8 fc-list 
(B"fixed:pixelsize=20:file=/usr/X11R6/lib/X11/fonts/misc/10x20.pcf.gz" file
(B    /usr/X11R6/lib/X11/fonts/misc/10x20.pcf.gz:
(B    mfabian@magellan:~$
(B
(BI.e. the last pattern gives me exactly 1 match from fc-list.
(B
(BNow I thought I could specify this as a parameter to xterm to get
(Bexactly this font, but it doesn't seem to work like that:
(B
(B    mfabian@magellan:~$ FC_DEBUG=1 LC_ALL=en_GB.UTF-8 xterm -fa 
(B"fixed:pixelsize=20:file=/usr/X11R6/lib/X11/fonts/misc/10x20.pcf.gz"
(B    Match Pattern 20 of 32
(B            antialias: FcTrue
(B            autohint: FcFalse
(B            dpi: 100.037
(B            family: "fixed" "Andale Mono"(w) "Courier New"(w) "Nimbus Mono
(B    L"(w) "Luxi Mono"(w) "Kochi Gothic"(w) "Kochi Mincho"(w)
(B    "HanyiSong"(w) "ZYSong18030"(w) "AR PL SungtiL GB"(w) "AR PL Mingti2L
(B    Big5"(w) "AR PL KaitiM GB"(w) "AR PL KaitiM Big5"(w) "Baekmuk
(B    Gulim"(w) "Baekmuk Dotum"(w) "Baekmuk Batang"(w) "monospace"(w)
(B            file: "/usr/X11R6/lib/X11/fonts/misc/10x20.pcf.gz"
(B
(B    [...]
(B
(B    Best score 0 0 0 100 101 0 0 0 0 0 100 0 0 2.14748e+11Pattern 14 of 14
(B            antialias: FcFalse
(B            charset: set
(B            family: "Fixed"
(B            file: "/usr/X11R6/lib/X11/fonts/japanese/10x20a.pcf.gz"
(B
(B    [...]
(B
(B    mfabian@magellan:~$
(B
(B-- 
(BMike Fabian   <[EMAIL PROTECTED]>   http://www.suse.de/~mfabian
$B?gL2ITB-$O$$$$;E;v$NE($@!#(B
(B_______________________________________________
(BFonts mailing list
([EMAIL PROTECTED]
(Bhttp://XFree86.Org/mailman/listinfo/fonts


Reply via email to