freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Freetype] font catalog


From: Brian Stell
Subject: [Freetype] font catalog
Date: Mon, 06 Aug 2001 22:43:04 -0700

One of the requirements for Mozilla is that the text should be
readable when ever possible.

TrueType cmaps often have non-zero glyph indexes that are supposed to
draw a glyphs but that in fact have no contours and thus are blank.

Hence I found I needed an accurate character map.

Unfortunately, this is too expensive to do at run time (takes 1-5
minutes for 200+ fonts) so I ended up making a font catalog that
contained a summary of the font info including the character map.

This font cataloging code is in the patches attached to 
http://bugzilla.mozilla.org/show_bug.cgi?id=82076 in the
nsFontCatalog.h and nsFontCatalog.cpp files.

It might be an interesting thing to add to FreeType.

Making this available to the XFree86 server would benefit all X 
clients.

-- 
Brian Stell
mailto:address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]