#252663 xfonts-intl-european and fontconfig

#252663#5
Date:
2004-06-04 16:05:18 UTC
From:
To:
Some fonts from this package are not processed by fontconfig and do not
appear on XFT-aware applications. For example the greek misc fonts of the etl
family:

$ cat /usr/X11R6/lib/X11/fonts/misc/fonts.dir  | grep grk
grk24-etl.pcf.gz -etl-fixed-medium-r-normal--24-240-72-72-c-120-iso8859-7
grk14-etl.pcf.gz -etl-fixed-medium-r-normal--14-140-72-72-c-70-iso8859-7
grk16-etl.pcf.gz -etl-fixed-medium-r-normal--16-160-72-72-c-80-iso8859-7

$ xlsfonts | grep etl | grep -- -7$
-etl-fixed-medium-r-normal--0-0-72-72-c-0-iso8859-7
-etl-fixed-medium-r-normal--14-140-72-72-c-70-iso8859-7
-etl-fixed-medium-r-normal--14-140-72-72-c-70-iso8859-7
-etl-fixed-medium-r-normal--16-160-72-72-c-80-iso8859-7
-etl-fixed-medium-r-normal--16-160-72-72-c-80-iso8859-7
-etl-fixed-medium-r-normal--24-240-72-72-c-120-iso8859-7
-etl-fixed-medium-r-normal--24-240-72-72-c-120-iso8859-7

BUT :

$ cat /usr/X11R6/lib/X11/fonts/misc/fonts.cache-1  | grep grk
$

$ fc-list "Fixed:lang=el" foundry
:foundry=Misc
$

As we can see, other fonts which are included in the package are
processed by fontconfig:

$ fc-list "Fixed" file | grep etl
/usr/X11R6/lib/X11/fonts/misc/lt1-24b-etl.pcf.gz:
/usr/X11R6/lib/X11/fonts/misc/lt1-18-etl.pcf.gz:
/usr/X11R6/lib/X11/fonts/misc/lt1-16b-etl.pcf.gz:
/usr/X11R6/lib/X11/fonts/misc/lt1-18b-etl.pcf.gz:
/usr/X11R6/lib/X11/fonts/misc/lt1-40-etl.pcf.gz:
/usr/X11R6/lib/X11/fonts/misc/lt1-18bi-etl.pcf.gz:
/usr/X11R6/lib/X11/fonts/misc/lt1-24i-etl.pcf.gz:
/usr/X11R6/lib/X11/fonts/misc/lt1-16i-etl.pcf.gz:
/usr/X11R6/lib/X11/fonts/misc/lt1-14-etl.pcf.gz:
/usr/X11R6/lib/X11/fonts/misc/lt1-18i-etl.pcf.gz:
/usr/X11R6/lib/X11/fonts/misc/lt1-24-etl.pcf.gz:
/usr/X11R6/lib/X11/fonts/misc/lt1-16bi-etl.pcf.gz:
/usr/X11R6/lib/X11/fonts/misc/lt1-24bi-etl.pcf.gz:
/usr/X11R6/lib/X11/fonts/misc/lt1-16-etl.pcf.gz:

(This is the iso8859-1 version of the font I was referring to at the
beginning of my post)

It is possible that only latin1 fonts are used by fontconfig, since none
of the other non-latin1 fonts appear on the list (for example the
lt2-14-etl.pcf.gz font file)

#252663#10
Date:
2004-06-11 10:42:42 UTC
From:
To:
Unfortunately, I don't know how fontconfig works, so I can't tell
whether this is a bug of fontconfig, a bug of the fonts or perhaps a bug
in your configuration.  Is there any document describing what the fonts
should satisfy to work with fontconfig?

Regards,

Milan Zamazal

#252663#15
Date:
2024-11-08 16:23:46 UTC
From:
To:
You can make /etc/fonts/conf.d/00-xfonts.conf with
-- >8 --
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
 <dir>/usr/share/fonts/X11/misc</dir>
</fontconfig>
-- >8 --

If you want to start including X fonts in your fontconf setup.
There's no reason to do this in 2024.
There was probably quite limited reason to do this in 2004.