[Fontconfig] monospace support disabled?

Keith Packard fontconfig@fontconfig.org
Fri, 28 Mar 2003 09:10:21 -0800


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