[Fontconfig] Cyrillic monospace problem

Keith Packard keithp at keithp.com
Thu May 1 06:31:55 EST 2003

Around 11 o'clock on Apr 30, Stefan Baums wrote:

> FcConfigSubstitute Pattern 5 of 16
> 	family: "bitstream vera sans mono"(s) "sans"(s)
> 	size: 16(f)(s)
> 	slant: 0(i)(s)
> 	spacing: 100(i)(s)
> 	weight: 100(i)(s)

This does appear to be the fault of Qt or KDE -- it's asking for 
'bitstream vera sans mono' and if that's not available, use 'sans' instead.

It should be using 'monospace' instead of 'sans' for that second entry, or 
alternatively not including that second entry at all.

To kludge around this, you might try:

        <match target="pattern">
                <test name="family">
                <test name="family">
                <edit name="family">

in ~/.fonts.conf

This will switch patterns using sans-serif and monospace to prefer 
monospace instead of sans-serif.


More information about the Fontconfig mailing list