[Fontconfig] monospace support disabled?

Keith Packard keithp at keithp.com
Sat Mar 29 04:10:21 EST 2003


Around 8 o'clock on Mar 28, Keith Packard wrote:

> 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.

I've gone ahead and done this; it seems to work quite well.  It's 
essentially free as the library had to scan every glyph in the font to 
detect glyphs which were encoded but had no outlines (many TTF files 
"remove" some glyphs by leaving the encoding entries but stripping out the 
glyphs).

-keith






More information about the Fontconfig mailing list