Qt API | Qtopia API | Qtopia Documentation | ![]() |
The FontDatabase class provides information about available fonts. More...
#include <qtopia/fontdatabase.h>
Most often you will simply want to query the database for the available font families().
Use FontDatabase rather than QFontDatabase when you may need access to fonts that are not normally available. For example, if the freetype library and the Qtopia freetype plugin are installed, TrueType fonts will be available to your application. Font renderer plugins have greater resource requirements than system fonts so they should be used only when necessary. You can force the loading of font renderer plugins with loadRenderers().
Note that on the SHARP SL5500, some fonts return pointSizes() that are 10 times too large. A heuristic for detecting this case is that the first size in the list is more than 70.
See also Qtopia Classes.
This file is part of the Qtopia , copyright © 1995-2002 Trolltech, all rights reserved.
Copyright © 2001-2002 Trolltech | Trademarks | Qtopia version 1.7.1
|