[Fontconfig] 'Fixed' font using incorrect font

Chris Picton chrisp at tangent.co.za
Mon Sep 1 10:04:15 PDT 2003


On Sun, 2003-08-31 at 22:29, James H. Cloos Jr. wrote:
> If you want to see what font is being used by fontconfig/xft for any
> given name (at least on linux; I don't have access to a bsd box that
> runs X to test) try using xfd to show the font; /proc/$pid/maps will
> list the font file xfd is using.  lsof -p $pid is an easy way to see
> that info.

But how do I tell xfd to display a font using a fontconfig sytle name?

xfd -fn "Fixed 10"  gives me:

Warning: Cannot convert string "Fixed 10" to type FontStruct
xfd:  no font to display

Doing a lsof doesn't show any font files (I am using xfs - maybe that is
why).

If I do a xlsfonts, I only see the old style font names and one called
'fixed', probably from the font alias files.

'xfd -fn fixed' displays the font I want to use for 'Fixed 10'.  It is 
-Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO8859-1

Any other tips?


> 
> At 133 dpi, I get this mapping for fixed-9, 10, 11:
> 
> fixed-9  == /usr/X11R6/lib/X11/fonts/misc/lt1-16-etl.pcf.gz
> fixed-10 == /usr/X11R6/lib/X11/fonts/misc/18x18ko.pcf.gz
> fixed-11 == /usr/X11R6/lib/X11/fonts/misc/10x20.pcf.gz
> 
> The font you see for fixed-10 is probably one of
> the -sony-fixed-medium-r-normal-* fonts.
> 
> -JimC
> 
> 
> _______________________________________________
> Fontconfig mailing list
> Fontconfig at fontconfig.org
> http://mail.fontconfig.org/mailman/listinfo/fontconfig
-- 
---------------------+--------------------------------------------------
        Chris Picton | PGP Key ID: 9D28A988 (wwwkeys.pgp.net)
 Solutions Developer | PGP Key Fingerprint:
     Tangent Systems | 2B46 29EA D530 79EC D9EA 3ED0 229D 6DD6 9D28 A988
chrisp at tangent.co.za | http://www.tangent.co.za/keys/chrisp.asc
---------------------+--------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : /pipermail/fontconfig/attachments/20030901/b2122ec9/attachment-0001.bin


More information about the Fontconfig mailing list