artemp/trac2github — Issue #560: Auto-registering of all supported freetype font formats (beyond just .ttf)
Author: artemp
Created: 2011-10-09 20:40:32+00:00
State: open
Labels: Boost_Python_Binding

The Mapnik python bindings automatically register the dejavu and unifont .ttf files in the mapnik font directory (usually /usr/local/lib/mapnik/fonts), but Freetype2 supports other font formats with different extensions.

from: http://www.freetype.org/freetype2/index.html

{{{
By default, FreeType 2 supports the following font formats.

TrueType fonts (and collections)
Type 1 fonts
CID-keyed Type 1 fonts
CFF fonts
OpenType fonts (both TrueType and CFF variants)
SFNT-based bitmap fonts
X11 PCF fonts
Windows FNT fonts
BDF fonts (including anti-aliased ones)
PFR fonts
Type 42 fonts (limited support)

}}}