Hi: > Except for the complete and total showstopper that it will not support > opentype features nor aat features. Please, if you want to continue > along this track, figure out how to some the enormous problem of missing > opentype feature support first. >
Complex text layout can only be done by combination of FreeType2 and otf layout support library. I do not know what the "complete OpenType feature support" means. If it just means it can dump the low-level GPOS, GSUB, GDEF related tables. libotf or harfbuzz has no problem doing them (both libotf and harfbuzz are small libraries and only depends on freetype2, so they are not system libraries). for OTF support in libotf, see http://www.m17n.org/libotf/otf.h [section 2-3, OTF_get_table() ] for OTF support in HarfBuzz, see harfbuzz-gdef.h harfbuzz-gsub.h and harfbuzz-gpos.h. both library are very stable and mature and can be used for production. (HarfBuzz is used in QT/Scribe and GTK+/Pango). It is also said on the website that FreeType is preparing a new library called "FT Layout" which have "Full opentype Layout support". but it is not released yet (http://freetype.sourceforge.net/ftlayout/). Yue Wang
