1QFontManager(3qt) QFontManager(3qt)
2
3
4
6 QFontManager - Implements font management in Qt/Embedded
7
9 #include <qfontmanager_qws.h>
10
11 Public Members
12 QFontManager ()
13 ~QFontManager ()
14 QDiskFont * get ( const QFontDef & f )
15
16 Static Public Members
17 void initialize ()
18 void cleanup ()
19
21 The QFontManager class implements font management in Qt/Embedded.
22
23 There is one and only one QFontManager per Qt/Embedded application. The
24 qt_fontmanager global variable points to it. It keeps a list of font
25 factories, a cache of rendered fonts and a list of fonts available on
26 disk. QFontManager is called when a new font needs to be rendered from
27 a Freetype-compatible or BDF font on disk; this only happens if there
28 isn't an appropriate QPF font already available.
29
30 See also Qt/Embedded.
31
34 Creates a font manager. This method reads in the font definition file
35 from INSTALL/lib/fonts/fontdir, where INSTALL is the directory where
36 Qt/Embedded was installed, and creates a list of QDiskFonts to hold the
37 information in the file. It also constructs any defined font factories.
38
40 Destroys the QFontManager and sets qt_fontmanager to 0.
41
43 Destroys the font manager
44
46 Returns the QDiskFont that best matches f, based on family, weight,
47 italicity and font size.
48
50 Creates a new QFontManager and points qt_fontmanager to it
51
52
54 http://doc.trolltech.com/qfontmanager.html
55 http://www.trolltech.com/faq/tech.html
56
58 Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
59 license file included in the distribution for a complete license
60 statement.
61
63 Generated automatically from the source code.
64
66 If you find a bug in Qt, please report it as described in
67 http://doc.trolltech.com/bughowto.html. Good bug reports help us to
68 help you. Thank you.
69
70 The definitive Qt documentation is provided in HTML format; it is
71 located at $QTDIR/doc/html and can be read using Qt Assistant or with a
72 web browser. This man page is provided as a convenience for those users
73 who prefer man pages, although this format is not officially supported
74 by Trolltech.
75
76 If you find errors in this manual page, please report them to qt-
77 bugs@trolltech.com. Please include the name of the manual page
78 (qfontmanager.3qt) and the Qt version (3.3.8).
79
80
81
82Trolltech AS 2 February 2007 QFontManager(3qt)