X-TrueType 1.x Resources

We'll stop the development of X-TT 1.x near the future.

The New FreeType(libfreetype-xtt2) Resources

We have been working for enhancements of the FreeType backend to support the X-TT functionalities for CJKV. The XFree86 Project has accepted our results; not only the "freetype" module but also the xfs and Xnest can handle the perfect TTCap options in XFree86-4.4.0. Here are some explanation on the new FreeType(libfreetype-xtt2) backend in the XFree86-4.4.0 release.

The power of the new FreeType backend

When loading a proportional fonts which contain a huge number of glyphs, the old FreeType delayed glyph rasterisation until the time at which the glyph was first used. But the new FreeType(libfreetype-xtt2) has the improved `very lazy' metric calculation method to speed up the process when loading TrueType or OpenType fonts.

The following is the result of testing the performance of the new FreeType backend using the following simple code:

/* bench.c */
#include <X11/Xlib.h>
int main( int argc, char *argv[] )
    Display* dis;
    XLoadQueryFont( dis, argv[1] );
    return 0;

The Cyberbit unicode font was used, and this is the test command:

% time ./bench "-bitstream-cyberbit-medium-r-normal--0-0-0-0-p-0-iso10646-1"

This is the result:


We find that the new FreeType's `very lazy' method is super-fast. This is the default method for FreeType when it loads multi-byte fonts. So, even with a unicode font with tens of thousands of glyphs, there will be no worrisome delays as long as the new FreeType backend is utilized.

Reference for TTCap Options

Following are the available options:

Last Modified: 5 Dec. 2003