~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to src/3rdparty/freetype/docs/reference/ft2-pfr_fonts.html

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-11-02 18:30:08 UTC
  • mfrom: (1.2.2 upstream)
  • mto: (15.2.5 experimental)
  • mto: This revision was merged to the branch mainline in revision 88.
  • Revision ID: james.westby@ubuntu.com-20091102183008-b6a4gcs128mvfb3m
Tags: upstream-4.6.0~beta1
ImportĀ upstreamĀ versionĀ 4.6.0~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<html>
4
4
<head>
5
5
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6
 
<title>FreeType-2.3.6 API Reference</title>
 
6
<title>FreeType-2.3.9 API Reference</title>
7
7
<style type="text/css">
8
8
  body { font-family: Verdana, Geneva, Arial, Helvetica, serif;
9
9
         color: #000000;
31
31
</style>
32
32
</head>
33
33
<body>
34
 
<center><h1>FreeType-2.3.6 API Reference</h1></center>
 
34
 
 
35
<table align=center><tr><td><font size=-1>[<a href="ft2-index.html">Index</a>]</font></td>
 
36
<td width="100%"></td>
 
37
<td><font size=-1>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
 
38
<center><h1>FreeType-2.3.9 API Reference</h1></center>
35
39
 
36
40
<center><h1>
37
41
PFR Fonts
74
78
<p></p>
75
79
<table cellpadding=3 border=0>
76
80
<tr valign=top><td><b>aoutline_resolution</b></td><td>
77
 
<p>Outline resolution. This is equivalent to &lsquo;face-&gt;units_per_EM&rsquo;. Optional (parameter can be NULL).</p>
 
81
<p>Outline resolution. This is equivalent to &lsquo;face-&gt;units_per_EM&rsquo; for non-PFR fonts. Optional (parameter can be NULL).</p>
78
82
</td></tr>
79
83
<tr valign=top><td><b>ametrics_resolution</b></td><td>
80
84
<p>Metrics resolution. This is equivalent to &lsquo;outline_resolution&rsquo; for non-PFR fonts. Optional (parameter can be NULL).</p>
81
85
</td></tr>
82
86
<tr valign=top><td><b>ametrics_x_scale</b></td><td>
83
 
<p>A 16.16 fixed-point number used to scale distance expressed in metrics units to device sub-pixels. This is equivalent to &lsquo;face-&gt;size-&gt;x_scale&rsquo;, but for metrics only. Optional (parameter can be NULL)</p>
 
87
<p>A 16.16 fixed-point number used to scale distance expressed in metrics units to device sub-pixels. This is equivalent to &lsquo;face-&gt;size-&gt;x_scale&rsquo;, but for metrics only. Optional (parameter can be NULL).</p>
84
88
</td></tr>
85
89
<tr valign=top><td><b>ametrics_y_scale</b></td><td>
86
 
<p>Same as &lsquo;ametrics_x_scale&rsquo; but for the vertical direction. optional (parameter can be NULL)</p>
 
90
<p>Same as &lsquo;ametrics_x_scale&rsquo; but for the vertical direction. optional (parameter can be NULL).</p>
87
91
</td></tr>
88
92
</table>
89
93
</td></tr></table>
90
94
<table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>return</b></em></td></tr><tr><td>
91
 
<p>FreeType error code. 0 means success.</p>
 
95
<p>FreeType error code. 0&nbsp;means success.</p>
92
96
</td></tr></table>
93
97
<table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>note</b></em></td></tr><tr><td>
94
98
<p>If the input face is not a PFR, this function will return an error. However, in all cases, it will return valid values.</p>
139
143
</table>
140
144
</td></tr></table>
141
145
<table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>return</b></em></td></tr><tr><td>
142
 
<p>FreeType error code. 0 means success.</p>
 
146
<p>FreeType error code. 0&nbsp;means success.</p>
143
147
</td></tr></table>
144
148
<table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>note</b></em></td></tr><tr><td>
145
149
<p>This function always return distances in original PFR metrics units. This is unlike <a href="ft2-base_interface.html#FT_Get_Kerning">FT_Get_Kerning</a> with the <a href="ft2-base_interface.html#FT_Kerning_Mode">FT_KERNING_UNSCALED</a> mode, which always returns distances converted to outline units.</p>
187
191
</table>
188
192
</td></tr></table>
189
193
<table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>return</b></em></td></tr><tr><td>
190
 
<p>FreeType error code. 0 means success.</p>
 
194
<p>FreeType error code. 0&nbsp;means success.</p>
191
195
</td></tr></table>
192
196
<table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>note</b></em></td></tr><tr><td>
193
197
<p>You can use the &lsquo;x_scale&rsquo; or &lsquo;y_scale&rsquo; results of <a href="ft2-pfr_fonts.html#FT_Get_PFR_Metrics">FT_Get_PFR_Metrics</a> to convert the advance to device sub-pixels (i.e., 1/64th of pixels).</p>