PageRenderTime 49ms CodeModel.GetById 13ms app.highlight 29ms RepoModel.GetById 1ms app.codeStats 0ms

/modules/freetype2/docs/reference/ft2-type1_tables.html

http://github.com/zpao/v8monkey
HTML | 522 lines | 443 code | 79 blank | 0 comment | 0 complexity | 9a3400d9a8365849ebee78d8d2d2bb9a MD5 | raw file
  1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  2"http://www.w3.org/TR/html4/loose.dtd">
  3<html>
  4<head>
  5<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6<title>FreeType-2.4.3 API Reference</title>
  7<style type="text/css">
  8  body { font-family: Verdana, Geneva, Arial, Helvetica, serif;
  9         color: #000000;
 10         background: #FFFFFF; }
 11
 12  p { text-align: justify; }
 13  h1 { text-align: center; }
 14  li { text-align: justify; }
 15  td { padding: 0 0.5em 0 0.5em; }
 16  td.left { padding: 0 0.5em 0 0.5em;
 17            text-align: left; }
 18
 19  a:link { color: #0000EF; }
 20  a:visited { color: #51188E; }
 21  a:hover { color: #FF0000; }
 22
 23  span.keyword { font-family: monospace;
 24                 text-align: left;
 25                 white-space: pre;
 26                 color: darkblue; }
 27
 28  pre.colored { color: blue; }
 29
 30  ul.empty { list-style-type: none; }
 31</style>
 32</head>
 33<body>
 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.4.3 API Reference</h1></center>
 39
 40<center><h1>
 41Type 1 Tables
 42</h1></center>
 43<h2>Synopsis</h2>
 44<table align=center cellspacing=5 cellpadding=0 border=0>
 45<tr><td></td><td><a href="#PS_FontInfoRec">PS_FontInfoRec</a></td><td></td><td><a href="#T1_Private">T1_Private</a></td><td></td><td><a href="#CID_FaceInfo">CID_FaceInfo</a></td></tr>
 46<tr><td></td><td><a href="#PS_FontInfo">PS_FontInfo</a></td><td></td><td><a href="#T1_Blend_Flags">T1_Blend_Flags</a></td><td></td><td><a href="#CID_Info">CID_Info</a></td></tr>
 47<tr><td></td><td><a href="#T1_FontInfo">T1_FontInfo</a></td><td></td><td><a href="#CID_FaceDictRec">CID_FaceDictRec</a></td><td></td><td><a href="#FT_Has_PS_Glyph_Names">FT_Has_PS_Glyph_Names</a></td></tr>
 48<tr><td></td><td><a href="#PS_PrivateRec">PS_PrivateRec</a></td><td></td><td><a href="#CID_FaceDict">CID_FaceDict</a></td><td></td><td><a href="#FT_Get_PS_Font_Info">FT_Get_PS_Font_Info</a></td></tr>
 49<tr><td></td><td><a href="#PS_Private">PS_Private</a></td><td></td><td><a href="#CID_FaceInfoRec">CID_FaceInfoRec</a></td><td></td><td><a href="#FT_Get_PS_Font_Private">FT_Get_PS_Font_Private</a></td></tr>
 50</table><br><br>
 51
 52<table align=center width="87%"><tr><td>
 53<p>This section contains the definition of Type 1-specific tables, including structures related to other PostScript font formats.</p>
 54</td></tr></table><br>
 55<table align=center width="75%"><tr><td>
 56<h4><a name="PS_FontInfoRec">PS_FontInfoRec</a></h4>
 57<table align=center width="87%"><tr><td>
 58Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
 59</td></tr></table><br>
 60<table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
 61
 62  <span class="keyword">typedef</span> <span class="keyword">struct</span>  PS_FontInfoRec_
 63  {
 64    <a href="ft2-basic_types.html#FT_String">FT_String</a>*  version;
 65    <a href="ft2-basic_types.html#FT_String">FT_String</a>*  notice;
 66    <a href="ft2-basic_types.html#FT_String">FT_String</a>*  full_name;
 67    <a href="ft2-basic_types.html#FT_String">FT_String</a>*  family_name;
 68    <a href="ft2-basic_types.html#FT_String">FT_String</a>*  weight;
 69    <a href="ft2-basic_types.html#FT_Long">FT_Long</a>     italic_angle;
 70    <a href="ft2-basic_types.html#FT_Bool">FT_Bool</a>     is_fixed_pitch;
 71    <a href="ft2-basic_types.html#FT_Short">FT_Short</a>    underline_position;
 72    <a href="ft2-basic_types.html#FT_UShort">FT_UShort</a>   underline_thickness;
 73
 74  } <b>PS_FontInfoRec</b>;
 75
 76</pre></table><br>
 77<table align=center width="87%"><tr><td>
 78<p>A structure used to model a Type&nbsp;1 or Type&nbsp;2 FontInfo dictionary. Note that for Multiple Master fonts, each instance has its own FontInfo dictionary.</p>
 79</td></tr></table><br>
 80</td></tr></table>
 81<hr width="75%">
 82<table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
 83<td width="100%"></td>
 84<td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
 85
 86<table align=center width="75%"><tr><td>
 87<h4><a name="PS_FontInfo">PS_FontInfo</a></h4>
 88<table align=center width="87%"><tr><td>
 89Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
 90</td></tr></table><br>
 91<table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
 92
 93  <span class="keyword">typedef</span> <span class="keyword">struct</span> PS_FontInfoRec_*  <b>PS_FontInfo</b>;
 94
 95</pre></table><br>
 96<table align=center width="87%"><tr><td>
 97<p>A handle to a <a href="ft2-type1_tables.html#PS_FontInfoRec">PS_FontInfoRec</a> structure.</p>
 98</td></tr></table><br>
 99</td></tr></table>
100<hr width="75%">
101<table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
102<td width="100%"></td>
103<td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
104
105<table align=center width="75%"><tr><td>
106<h4><a name="T1_FontInfo">T1_FontInfo</a></h4>
107<table align=center width="87%"><tr><td>
108Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
109</td></tr></table><br>
110<table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
111
112  <span class="keyword">typedef</span> <a href="ft2-type1_tables.html#PS_FontInfoRec">PS_FontInfoRec</a>  <b>T1_FontInfo</b>;
113
114</pre></table><br>
115<table align=center width="87%"><tr><td>
116<p>This type is equivalent to <a href="ft2-type1_tables.html#PS_FontInfoRec">PS_FontInfoRec</a>. It is deprecated but kept to maintain source compatibility between various versions of FreeType.</p>
117</td></tr></table><br>
118</td></tr></table>
119<hr width="75%">
120<table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
121<td width="100%"></td>
122<td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
123
124<table align=center width="75%"><tr><td>
125<h4><a name="PS_PrivateRec">PS_PrivateRec</a></h4>
126<table align=center width="87%"><tr><td>
127Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
128</td></tr></table><br>
129<table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
130
131  <span class="keyword">typedef</span> <span class="keyword">struct</span>  PS_PrivateRec_
132  {
133    <a href="ft2-basic_types.html#FT_Int">FT_Int</a>     unique_id;
134    <a href="ft2-basic_types.html#FT_Int">FT_Int</a>     lenIV;
135
136    <a href="ft2-basic_types.html#FT_Byte">FT_Byte</a>    num_blue_values;
137    <a href="ft2-basic_types.html#FT_Byte">FT_Byte</a>    num_other_blues;
138    <a href="ft2-basic_types.html#FT_Byte">FT_Byte</a>    num_family_blues;
139    <a href="ft2-basic_types.html#FT_Byte">FT_Byte</a>    num_family_other_blues;
140
141    <a href="ft2-basic_types.html#FT_Short">FT_Short</a>   blue_values[14];
142    <a href="ft2-basic_types.html#FT_Short">FT_Short</a>   other_blues[10];
143
144    <a href="ft2-basic_types.html#FT_Short">FT_Short</a>   family_blues      [14];
145    <a href="ft2-basic_types.html#FT_Short">FT_Short</a>   family_other_blues[10];
146
147    <a href="ft2-basic_types.html#FT_Fixed">FT_Fixed</a>   blue_scale;
148    <a href="ft2-basic_types.html#FT_Int">FT_Int</a>     blue_shift;
149    <a href="ft2-basic_types.html#FT_Int">FT_Int</a>     blue_fuzz;
150
151    <a href="ft2-basic_types.html#FT_UShort">FT_UShort</a>  standard_width[1];
152    <a href="ft2-basic_types.html#FT_UShort">FT_UShort</a>  standard_height[1];
153
154    <a href="ft2-basic_types.html#FT_Byte">FT_Byte</a>    num_snap_widths;
155    <a href="ft2-basic_types.html#FT_Byte">FT_Byte</a>    num_snap_heights;
156    <a href="ft2-basic_types.html#FT_Bool">FT_Bool</a>    force_bold;
157    <a href="ft2-basic_types.html#FT_Bool">FT_Bool</a>    round_stem_up;
158
159    <a href="ft2-basic_types.html#FT_Short">FT_Short</a>   snap_widths [13];  /* including std width  */
160    <a href="ft2-basic_types.html#FT_Short">FT_Short</a>   snap_heights[13];  /* including std height */
161
162    <a href="ft2-basic_types.html#FT_Fixed">FT_Fixed</a>   expansion_factor;
163
164    <a href="ft2-basic_types.html#FT_Long">FT_Long</a>    language_group;
165    <a href="ft2-basic_types.html#FT_Long">FT_Long</a>    password;
166
167    <a href="ft2-basic_types.html#FT_Short">FT_Short</a>   min_feature[2];
168
169  } <b>PS_PrivateRec</b>;
170
171</pre></table><br>
172<table align=center width="87%"><tr><td>
173<p>A structure used to model a Type&nbsp;1 or Type&nbsp;2 private dictionary. Note that for Multiple Master fonts, each instance has its own Private dictionary.</p>
174</td></tr></table><br>
175</td></tr></table>
176<hr width="75%">
177<table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
178<td width="100%"></td>
179<td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
180
181<table align=center width="75%"><tr><td>
182<h4><a name="PS_Private">PS_Private</a></h4>
183<table align=center width="87%"><tr><td>
184Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
185</td></tr></table><br>
186<table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
187
188  <span class="keyword">typedef</span> <span class="keyword">struct</span> PS_PrivateRec_*  <b>PS_Private</b>;
189
190</pre></table><br>
191<table align=center width="87%"><tr><td>
192<p>A handle to a <a href="ft2-type1_tables.html#PS_PrivateRec">PS_PrivateRec</a> structure.</p>
193</td></tr></table><br>
194</td></tr></table>
195<hr width="75%">
196<table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
197<td width="100%"></td>
198<td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
199
200<table align=center width="75%"><tr><td>
201<h4><a name="T1_Private">T1_Private</a></h4>
202<table align=center width="87%"><tr><td>
203Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
204</td></tr></table><br>
205<table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
206
207  <span class="keyword">typedef</span> <a href="ft2-type1_tables.html#PS_PrivateRec">PS_PrivateRec</a>  <b>T1_Private</b>;
208
209</pre></table><br>
210<table align=center width="87%"><tr><td>
211<p>This type is equivalent to <a href="ft2-type1_tables.html#PS_PrivateRec">PS_PrivateRec</a>. It is deprecated but kept to maintain source compatibility between various versions of FreeType.</p>
212</td></tr></table><br>
213</td></tr></table>
214<hr width="75%">
215<table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
216<td width="100%"></td>
217<td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
218
219<table align=center width="75%"><tr><td>
220<h4><a name="T1_Blend_Flags">T1_Blend_Flags</a></h4>
221<table align=center width="87%"><tr><td>
222Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
223</td></tr></table><br>
224<table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
225
226  <span class="keyword">typedef</span> <span class="keyword">enum</span>  T1_Blend_Flags_
227  {
228    /*# required fields in a FontInfo blend dictionary */
229    T1_BLEND_UNDERLINE_POSITION = 0,
230    T1_BLEND_UNDERLINE_THICKNESS,
231    T1_BLEND_ITALIC_ANGLE,
232
233    /*# required fields in a Private blend dictionary */
234    T1_BLEND_BLUE_VALUES,
235    T1_BLEND_OTHER_BLUES,
236    T1_BLEND_STANDARD_WIDTH,
237    T1_BLEND_STANDARD_HEIGHT,
238    T1_BLEND_STEM_SNAP_WIDTHS,
239    T1_BLEND_STEM_SNAP_HEIGHTS,
240    T1_BLEND_BLUE_SCALE,
241    T1_BLEND_BLUE_SHIFT,
242    T1_BLEND_FAMILY_BLUES,
243    T1_BLEND_FAMILY_OTHER_BLUES,
244    T1_BLEND_FORCE_BOLD,
245
246    /*# never remove */
247    T1_BLEND_MAX
248
249  } <b>T1_Blend_Flags</b>;
250
251</pre></table><br>
252<table align=center width="87%"><tr><td>
253<p>A set of flags used to indicate which fields are present in a given blend dictionary (font info or private). Used to support Multiple Masters fonts.</p>
254</td></tr></table><br>
255</td></tr></table>
256<hr width="75%">
257<table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
258<td width="100%"></td>
259<td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
260
261<table align=center width="75%"><tr><td>
262<h4><a name="CID_FaceDictRec">CID_FaceDictRec</a></h4>
263<table align=center width="87%"><tr><td>
264Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
265</td></tr></table><br>
266<table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
267
268  <span class="keyword">typedef</span> <span class="keyword">struct</span>  CID_FaceDictRec_
269  {
270    <a href="ft2-type1_tables.html#PS_PrivateRec">PS_PrivateRec</a>  private_dict;
271
272    <a href="ft2-basic_types.html#FT_UInt">FT_UInt</a>        len_buildchar;
273    <a href="ft2-basic_types.html#FT_Fixed">FT_Fixed</a>       forcebold_threshold;
274    <a href="ft2-basic_types.html#FT_Pos">FT_Pos</a>         stroke_width;
275    <a href="ft2-basic_types.html#FT_Fixed">FT_Fixed</a>       expansion_factor;
276
277    <a href="ft2-basic_types.html#FT_Byte">FT_Byte</a>        paint_type;
278    <a href="ft2-basic_types.html#FT_Byte">FT_Byte</a>        font_type;
279    <a href="ft2-basic_types.html#FT_Matrix">FT_Matrix</a>      font_matrix;
280    <a href="ft2-basic_types.html#FT_Vector">FT_Vector</a>      font_offset;
281
282    <a href="ft2-basic_types.html#FT_UInt">FT_UInt</a>        num_subrs;
283    <a href="ft2-basic_types.html#FT_ULong">FT_ULong</a>       subrmap_offset;
284    <a href="ft2-basic_types.html#FT_Int">FT_Int</a>         sd_bytes;
285
286  } <b>CID_FaceDictRec</b>;
287
288</pre></table><br>
289<table align=center width="87%"><tr><td>
290<p>A structure used to represent data in a CID top-level dictionary.</p>
291</td></tr></table><br>
292</td></tr></table>
293<hr width="75%">
294<table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
295<td width="100%"></td>
296<td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
297
298<table align=center width="75%"><tr><td>
299<h4><a name="CID_FaceDict">CID_FaceDict</a></h4>
300<table align=center width="87%"><tr><td>
301Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
302</td></tr></table><br>
303<table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
304
305  <span class="keyword">typedef</span> <span class="keyword">struct</span> CID_FaceDictRec_*  <b>CID_FaceDict</b>;
306
307</pre></table><br>
308<table align=center width="87%"><tr><td>
309<p>A handle to a <a href="ft2-type1_tables.html#CID_FaceDictRec">CID_FaceDictRec</a> structure.</p>
310</td></tr></table><br>
311</td></tr></table>
312<hr width="75%">
313<table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
314<td width="100%"></td>
315<td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
316
317<table align=center width="75%"><tr><td>
318<h4><a name="CID_FaceInfoRec">CID_FaceInfoRec</a></h4>
319<table align=center width="87%"><tr><td>
320Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
321</td></tr></table><br>
322<table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
323
324  <span class="keyword">typedef</span> <span class="keyword">struct</span>  CID_FaceInfoRec_
325  {
326    <a href="ft2-basic_types.html#FT_String">FT_String</a>*      cid_font_name;
327    <a href="ft2-basic_types.html#FT_Fixed">FT_Fixed</a>        cid_version;
328    <a href="ft2-basic_types.html#FT_Int">FT_Int</a>          cid_font_type;
329
330    <a href="ft2-basic_types.html#FT_String">FT_String</a>*      registry;
331    <a href="ft2-basic_types.html#FT_String">FT_String</a>*      ordering;
332    <a href="ft2-basic_types.html#FT_Int">FT_Int</a>          supplement;
333
334    <a href="ft2-type1_tables.html#PS_FontInfoRec">PS_FontInfoRec</a>  font_info;
335    <a href="ft2-basic_types.html#FT_BBox">FT_BBox</a>         font_bbox;
336    <a href="ft2-basic_types.html#FT_ULong">FT_ULong</a>        uid_base;
337
338    <a href="ft2-basic_types.html#FT_Int">FT_Int</a>          num_xuid;
339    <a href="ft2-basic_types.html#FT_ULong">FT_ULong</a>        xuid[16];
340
341    <a href="ft2-basic_types.html#FT_ULong">FT_ULong</a>        cidmap_offset;
342    <a href="ft2-basic_types.html#FT_Int">FT_Int</a>          fd_bytes;
343    <a href="ft2-basic_types.html#FT_Int">FT_Int</a>          gd_bytes;
344    <a href="ft2-basic_types.html#FT_ULong">FT_ULong</a>        cid_count;
345
346    <a href="ft2-basic_types.html#FT_Int">FT_Int</a>          num_dicts;
347    <a href="ft2-type1_tables.html#CID_FaceDict">CID_FaceDict</a>    font_dicts;
348
349    <a href="ft2-basic_types.html#FT_ULong">FT_ULong</a>        data_offset;
350
351  } <b>CID_FaceInfoRec</b>;
352
353</pre></table><br>
354<table align=center width="87%"><tr><td>
355<p>A structure used to represent CID Face information.</p>
356</td></tr></table><br>
357</td></tr></table>
358<hr width="75%">
359<table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
360<td width="100%"></td>
361<td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
362
363<table align=center width="75%"><tr><td>
364<h4><a name="CID_FaceInfo">CID_FaceInfo</a></h4>
365<table align=center width="87%"><tr><td>
366Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
367</td></tr></table><br>
368<table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
369
370  <span class="keyword">typedef</span> <span class="keyword">struct</span> CID_FaceInfoRec_*  <b>CID_FaceInfo</b>;
371
372</pre></table><br>
373<table align=center width="87%"><tr><td>
374<p>A handle to a <a href="ft2-type1_tables.html#CID_FaceInfoRec">CID_FaceInfoRec</a> structure.</p>
375</td></tr></table><br>
376</td></tr></table>
377<hr width="75%">
378<table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
379<td width="100%"></td>
380<td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
381
382<table align=center width="75%"><tr><td>
383<h4><a name="CID_Info">CID_Info</a></h4>
384<table align=center width="87%"><tr><td>
385Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
386</td></tr></table><br>
387<table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
388
389  <span class="keyword">typedef</span> <a href="ft2-type1_tables.html#CID_FaceInfoRec">CID_FaceInfoRec</a>  <b>CID_Info</b>;
390
391</pre></table><br>
392<table align=center width="87%"><tr><td>
393<p>This type is equivalent to <a href="ft2-type1_tables.html#CID_FaceInfoRec">CID_FaceInfoRec</a>. It is deprecated but kept to maintain source compatibility between various versions of FreeType.</p>
394</td></tr></table><br>
395</td></tr></table>
396<hr width="75%">
397<table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
398<td width="100%"></td>
399<td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
400
401<table align=center width="75%"><tr><td>
402<h4><a name="FT_Has_PS_Glyph_Names">FT_Has_PS_Glyph_Names</a></h4>
403<table align=center width="87%"><tr><td>
404Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
405</td></tr></table><br>
406<table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
407
408  FT_EXPORT( <a href="ft2-basic_types.html#FT_Int">FT_Int</a> )
409  <b>FT_Has_PS_Glyph_Names</b>( <a href="ft2-base_interface.html#FT_Face">FT_Face</a>  face );
410
411</pre></table><br>
412<table align=center width="87%"><tr><td>
413<p>Return true if a given face provides reliable PostScript glyph names. This is similar to using the <a href="ft2-base_interface.html#FT_HAS_GLYPH_NAMES">FT_HAS_GLYPH_NAMES</a> macro, except that certain fonts (mostly TrueType) contain incorrect glyph name tables.</p>
414<p>When this function returns true, the caller is sure that the glyph names returned by <a href="ft2-base_interface.html#FT_Get_Glyph_Name">FT_Get_Glyph_Name</a> are reliable.</p>
415</td></tr></table><br>
416<table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>input</b></em></td></tr><tr><td>
417<p></p>
418<table cellpadding=3 border=0>
419<tr valign=top><td><b>face</b></td><td>
420<p>face handle</p>
421</td></tr>
422</table>
423</td></tr></table>
424<table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>return</b></em></td></tr><tr><td>
425<p>Boolean. True if glyph names are reliable.</p>
426</td></tr></table>
427</td></tr></table>
428<hr width="75%">
429<table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
430<td width="100%"></td>
431<td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
432
433<table align=center width="75%"><tr><td>
434<h4><a name="FT_Get_PS_Font_Info">FT_Get_PS_Font_Info</a></h4>
435<table align=center width="87%"><tr><td>
436Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
437</td></tr></table><br>
438<table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
439
440  FT_EXPORT( <a href="ft2-basic_types.html#FT_Error">FT_Error</a> )
441  <b>FT_Get_PS_Font_Info</b>( <a href="ft2-base_interface.html#FT_Face">FT_Face</a>      face,
442                       <a href="ft2-type1_tables.html#PS_FontInfo">PS_FontInfo</a>  afont_info );
443
444</pre></table><br>
445<table align=center width="87%"><tr><td>
446<p>Retrieve the <a href="ft2-type1_tables.html#PS_FontInfoRec">PS_FontInfoRec</a> structure corresponding to a given PostScript font.</p>
447</td></tr></table><br>
448<table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>input</b></em></td></tr><tr><td>
449<p></p>
450<table cellpadding=3 border=0>
451<tr valign=top><td><b>face</b></td><td>
452<p>PostScript face handle.</p>
453</td></tr>
454</table>
455</td></tr></table>
456<table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>output</b></em></td></tr><tr><td>
457<p></p>
458<table cellpadding=3 border=0>
459<tr valign=top><td><b>afont_info</b></td><td>
460<p>Output font info structure pointer.</p>
461</td></tr>
462</table>
463</td></tr></table>
464<table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>return</b></em></td></tr><tr><td>
465<p>FreeType error code. 0&nbsp;means success.</p>
466</td></tr></table>
467<table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>note</b></em></td></tr><tr><td>
468<p>The string pointers within the font info structure are owned by the face and don't need to be freed by the caller.</p>
469<p>If the font's format is not PostScript-based, this function will return the &lsquo;FT_Err_Invalid_Argument&rsquo; error code.</p>
470</td></tr></table>
471</td></tr></table>
472<hr width="75%">
473<table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
474<td width="100%"></td>
475<td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
476
477<table align=center width="75%"><tr><td>
478<h4><a name="FT_Get_PS_Font_Private">FT_Get_PS_Font_Private</a></h4>
479<table align=center width="87%"><tr><td>
480Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
481</td></tr></table><br>
482<table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
483
484  FT_EXPORT( <a href="ft2-basic_types.html#FT_Error">FT_Error</a> )
485  <b>FT_Get_PS_Font_Private</b>( <a href="ft2-base_interface.html#FT_Face">FT_Face</a>     face,
486                          <a href="ft2-type1_tables.html#PS_Private">PS_Private</a>  afont_private );
487
488</pre></table><br>
489<table align=center width="87%"><tr><td>
490<p>Retrieve the <a href="ft2-type1_tables.html#PS_PrivateRec">PS_PrivateRec</a> structure corresponding to a given PostScript font.</p>
491</td></tr></table><br>
492<table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>input</b></em></td></tr><tr><td>
493<p></p>
494<table cellpadding=3 border=0>
495<tr valign=top><td><b>face</b></td><td>
496<p>PostScript face handle.</p>
497</td></tr>
498</table>
499</td></tr></table>
500<table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>output</b></em></td></tr><tr><td>
501<p></p>
502<table cellpadding=3 border=0>
503<tr valign=top><td><b>afont_private</b></td><td>
504<p>Output private dictionary structure pointer.</p>
505</td></tr>
506</table>
507</td></tr></table>
508<table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>return</b></em></td></tr><tr><td>
509<p>FreeType error code. 0&nbsp;means success.</p>
510</td></tr></table>
511<table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>note</b></em></td></tr><tr><td>
512<p>The string pointers within the <a href="ft2-type1_tables.html#PS_PrivateRec">PS_PrivateRec</a> structure are owned by the face and don't need to be freed by the caller.</p>
513<p>If the font's format is not PostScript-based, this function returns the &lsquo;FT_Err_Invalid_Argument&rsquo; error code.</p>
514</td></tr></table>
515</td></tr></table>
516<hr width="75%">
517<table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
518<td width="100%"></td>
519<td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
520
521</body>
522</html>