source: trunk/doc/html/qfontmanager.html@ 208

Last change on this file since 208 was 190, checked in by rudi, 14 years ago

reference documentation added

File size: 4.1 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/kernel/qfontmanager_qws.cpp:80 -->
3<html>
4<head>
5<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
6<title>QFontManager Class</title>
7<style type="text/css"><!--
8fn { margin-left: 1cm; text-indent: -1cm; }
9a:link { color: #004faf; text-decoration: none }
10a:visited { color: #672967; text-decoration: none }
11body { background: #ffffff; color: black; }
12--></style>
13</head>
14<body>
15
16<table border="0" cellpadding="0" cellspacing="0" width="100%">
17<tr bgcolor="#E5E5E5">
18<td valign=center>
19 <a href="index.html">
20<font color="#004faf">Home</font></a>
21 | <a href="classes.html">
22<font color="#004faf">All&nbsp;Classes</font></a>
23 | <a href="mainclasses.html">
24<font color="#004faf">Main&nbsp;Classes</font></a>
25 | <a href="annotated.html">
26<font color="#004faf">Annotated</font></a>
27 | <a href="groups.html">
28<font color="#004faf">Grouped&nbsp;Classes</font></a>
29 | <a href="functions.html">
30<font color="#004faf">Functions</font></a>
31</td>
32<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>QFontManager Class Reference</h1>
33
34<p>The QFontManager class implements font management in Qt/Embedded.
35<a href="#details">More...</a>
36<p><tt>#include &lt;<a href="qfontmanager_qws-h.html">qfontmanager_qws.h</a>&gt;</tt>
37<p><a href="qfontmanager-members.html">List of all member functions.</a>
38<h2>Public Members</h2>
39<ul>
40<li class=fn><a href="#QFontManager"><b>QFontManager</b></a> ()</li>
41<li class=fn><a href="#~QFontManager"><b>~QFontManager</b></a> ()</li>
42<li class=fn>QDiskFont * <a href="#get"><b>get</b></a> ( const&nbsp;QFontDef&nbsp;&amp;&nbsp;f )</li>
43</ul>
44<h2>Static Public Members</h2>
45<ul>
46<li class=fn>void <a href="#initialize"><b>initialize</b></a> ()</li>
47<li class=fn>void <a href="#cleanup"><b>cleanup</b></a> ()</li>
48</ul>
49<hr><a name="details"></a><h2>Detailed Description</h2>
50
51
52The QFontManager class implements font management in Qt/Embedded.
53
54<p> There is one and only one QFontManager per Qt/Embedded
55application. The <tt>qt_fontmanager</tt> global variable points to it. It
56keeps a list of font factories, a cache of rendered fonts and a
57list of fonts available on disk. QFontManager is called when a new
58font needs to be rendered from a Freetype-compatible or BDF font
59on disk; this only happens if there isn't an appropriate QPF font
60already available.
61<p>See also <a href="qws.html">Qt/Embedded</a>.
62
63<hr><h2>Member Function Documentation</h2>
64<h3 class=fn><a name="QFontManager"></a>QFontManager::QFontManager ()
65</h3>
66Creates a font manager. This method reads in the font definition
67file from <tt>INSTALL/lib/fonts/fontdir</tt>, where <tt>INSTALL</tt> is the
68directory where Qt/Embedded was installed, and creates a list of
69QDiskFonts to hold the information in the file. It also constructs
70any defined font factories.
71
72<h3 class=fn><a name="~QFontManager"></a>QFontManager::~QFontManager ()
73</h3>
74
75<p> Destroys the QFontManager and sets <tt>qt_fontmanager</tt> to 0.
76
77<h3 class=fn>void <a name="cleanup"></a>QFontManager::cleanup ()<tt> [static]</tt>
78</h3>
79Destroys the font manager
80
81<h3 class=fn>QDiskFont * <a name="get"></a>QFontManager::get ( const&nbsp;QFontDef&nbsp;&amp;&nbsp;f )
82</h3>
83Returns the QDiskFont that best matches <em>f</em>, based on family,
84weight, italicity and font size.
85
86<h3 class=fn>void <a name="initialize"></a>QFontManager::initialize ()<tt> [static]</tt>
87</h3>
88Creates a new QFontManager and points <tt>qt_fontmanager</tt> to it
89
90<!-- eof -->
91<hr><p>
92This file is part of the <a href="index.html">Qt toolkit</a>.
93Copyright &copy; 1995-2007
94<a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center>
95<table width=100% cellspacing=0 border=0><tr>
96<td>Copyright &copy; 2007
97<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
98<td align=right><div align=right>Qt 3.3.8</div>
99</table></div></address></body>
100</html>
Note: See TracBrowser for help on using the repository browser.