[Fontconfig] monospace support disabled?

Keith Packard keithp at keithp.com
Sat Mar 29 03:24:00 EST 2003

Around 1 o'clock on Mar 28, Chris Cheney wrote:

> What fonts were having the problem which caused you to disable the support?

The problems worked in both directions -- there were many fonts which are
useful in terminal emulators (like some versions of andale mono) which
weren't marked as monospaced, making those not visible in KDE, and (worse, 
it turns out), there were many Japanese fonts which were marked as 
monospaced but which were not.  This latter issue caused significant 
problems as Xft forced any font with the monospace attribute to be spaced 
according to the maximum width of all glyphs in the font.

One easy possibility is to compute the spacing attribute directly from the 
font; scan all of the glyphs and mark fonts as monospaced when they are in 
fact monospaced.  I think that would be easy enough to try, and may fix 
this particular problem well enough.


More information about the Fontconfig mailing list