/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. p { text-align: justify; }
  12. h1 { text-align: center; }
  13. li { text-align: justify; }
  14. td { padding: 0 0.5em 0 0.5em; }
  15. td.left { padding: 0 0.5em 0 0.5em;
  16. text-align: left; }
  17. a:link { color: #0000EF; }
  18. a:visited { color: #51188E; }
  19. a:hover { color: #FF0000; }
  20. span.keyword { font-family: monospace;
  21. text-align: left;
  22. white-space: pre;
  23. color: darkblue; }
  24. pre.colored { color: blue; }
  25. ul.empty { list-style-type: none; }
  26. </style>
  27. </head>
  28. <body>
  29. <table align=center><tr><td><font size=-1>[<a href="ft2-index.html">Index</a>]</font></td>
  30. <td width="100%"></td>
  31. <td><font size=-1>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  32. <center><h1>FreeType-2.4.3 API Reference</h1></center>
  33. <center><h1>
  34. Type 1 Tables
  35. </h1></center>
  36. <h2>Synopsis</h2>
  37. <table align=center cellspacing=5 cellpadding=0 border=0>
  38. <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>
  39. <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>
  40. <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>
  41. <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>
  42. <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>
  43. </table><br><br>
  44. <table align=center width="87%"><tr><td>
  45. <p>This section contains the definition of Type 1-specific tables, including structures related to other PostScript font formats.</p>
  46. </td></tr></table><br>
  47. <table align=center width="75%"><tr><td>
  48. <h4><a name="PS_FontInfoRec">PS_FontInfoRec</a></h4>
  49. <table align=center width="87%"><tr><td>
  50. Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
  51. </td></tr></table><br>
  52. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  53. <span class="keyword">typedef</span> <span class="keyword">struct</span> PS_FontInfoRec_
  54. {
  55. <a href="ft2-basic_types.html#FT_String">FT_String</a>* version;
  56. <a href="ft2-basic_types.html#FT_String">FT_String</a>* notice;
  57. <a href="ft2-basic_types.html#FT_String">FT_String</a>* full_name;
  58. <a href="ft2-basic_types.html#FT_String">FT_String</a>* family_name;
  59. <a href="ft2-basic_types.html#FT_String">FT_String</a>* weight;
  60. <a href="ft2-basic_types.html#FT_Long">FT_Long</a> italic_angle;
  61. <a href="ft2-basic_types.html#FT_Bool">FT_Bool</a> is_fixed_pitch;
  62. <a href="ft2-basic_types.html#FT_Short">FT_Short</a> underline_position;
  63. <a href="ft2-basic_types.html#FT_UShort">FT_UShort</a> underline_thickness;
  64. } <b>PS_FontInfoRec</b>;
  65. </pre></table><br>
  66. <table align=center width="87%"><tr><td>
  67. <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>
  68. </td></tr></table><br>
  69. </td></tr></table>
  70. <hr width="75%">
  71. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  72. <td width="100%"></td>
  73. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  74. <table align=center width="75%"><tr><td>
  75. <h4><a name="PS_FontInfo">PS_FontInfo</a></h4>
  76. <table align=center width="87%"><tr><td>
  77. Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
  78. </td></tr></table><br>
  79. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  80. <span class="keyword">typedef</span> <span class="keyword">struct</span> PS_FontInfoRec_* <b>PS_FontInfo</b>;
  81. </pre></table><br>
  82. <table align=center width="87%"><tr><td>
  83. <p>A handle to a <a href="ft2-type1_tables.html#PS_FontInfoRec">PS_FontInfoRec</a> structure.</p>
  84. </td></tr></table><br>
  85. </td></tr></table>
  86. <hr width="75%">
  87. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  88. <td width="100%"></td>
  89. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  90. <table align=center width="75%"><tr><td>
  91. <h4><a name="T1_FontInfo">T1_FontInfo</a></h4>
  92. <table align=center width="87%"><tr><td>
  93. Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
  94. </td></tr></table><br>
  95. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  96. <span class="keyword">typedef</span> <a href="ft2-type1_tables.html#PS_FontInfoRec">PS_FontInfoRec</a> <b>T1_FontInfo</b>;
  97. </pre></table><br>
  98. <table align=center width="87%"><tr><td>
  99. <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>
  100. </td></tr></table><br>
  101. </td></tr></table>
  102. <hr width="75%">
  103. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  104. <td width="100%"></td>
  105. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  106. <table align=center width="75%"><tr><td>
  107. <h4><a name="PS_PrivateRec">PS_PrivateRec</a></h4>
  108. <table align=center width="87%"><tr><td>
  109. Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
  110. </td></tr></table><br>
  111. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  112. <span class="keyword">typedef</span> <span class="keyword">struct</span> PS_PrivateRec_
  113. {
  114. <a href="ft2-basic_types.html#FT_Int">FT_Int</a> unique_id;
  115. <a href="ft2-basic_types.html#FT_Int">FT_Int</a> lenIV;
  116. <a href="ft2-basic_types.html#FT_Byte">FT_Byte</a> num_blue_values;
  117. <a href="ft2-basic_types.html#FT_Byte">FT_Byte</a> num_other_blues;
  118. <a href="ft2-basic_types.html#FT_Byte">FT_Byte</a> num_family_blues;
  119. <a href="ft2-basic_types.html#FT_Byte">FT_Byte</a> num_family_other_blues;
  120. <a href="ft2-basic_types.html#FT_Short">FT_Short</a> blue_values[14];
  121. <a href="ft2-basic_types.html#FT_Short">FT_Short</a> other_blues[10];
  122. <a href="ft2-basic_types.html#FT_Short">FT_Short</a> family_blues [14];
  123. <a href="ft2-basic_types.html#FT_Short">FT_Short</a> family_other_blues[10];
  124. <a href="ft2-basic_types.html#FT_Fixed">FT_Fixed</a> blue_scale;
  125. <a href="ft2-basic_types.html#FT_Int">FT_Int</a> blue_shift;
  126. <a href="ft2-basic_types.html#FT_Int">FT_Int</a> blue_fuzz;
  127. <a href="ft2-basic_types.html#FT_UShort">FT_UShort</a> standard_width[1];
  128. <a href="ft2-basic_types.html#FT_UShort">FT_UShort</a> standard_height[1];
  129. <a href="ft2-basic_types.html#FT_Byte">FT_Byte</a> num_snap_widths;
  130. <a href="ft2-basic_types.html#FT_Byte">FT_Byte</a> num_snap_heights;
  131. <a href="ft2-basic_types.html#FT_Bool">FT_Bool</a> force_bold;
  132. <a href="ft2-basic_types.html#FT_Bool">FT_Bool</a> round_stem_up;
  133. <a href="ft2-basic_types.html#FT_Short">FT_Short</a> snap_widths [13]; /* including std width */
  134. <a href="ft2-basic_types.html#FT_Short">FT_Short</a> snap_heights[13]; /* including std height */
  135. <a href="ft2-basic_types.html#FT_Fixed">FT_Fixed</a> expansion_factor;
  136. <a href="ft2-basic_types.html#FT_Long">FT_Long</a> language_group;
  137. <a href="ft2-basic_types.html#FT_Long">FT_Long</a> password;
  138. <a href="ft2-basic_types.html#FT_Short">FT_Short</a> min_feature[2];
  139. } <b>PS_PrivateRec</b>;
  140. </pre></table><br>
  141. <table align=center width="87%"><tr><td>
  142. <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>
  143. </td></tr></table><br>
  144. </td></tr></table>
  145. <hr width="75%">
  146. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  147. <td width="100%"></td>
  148. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  149. <table align=center width="75%"><tr><td>
  150. <h4><a name="PS_Private">PS_Private</a></h4>
  151. <table align=center width="87%"><tr><td>
  152. Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
  153. </td></tr></table><br>
  154. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  155. <span class="keyword">typedef</span> <span class="keyword">struct</span> PS_PrivateRec_* <b>PS_Private</b>;
  156. </pre></table><br>
  157. <table align=center width="87%"><tr><td>
  158. <p>A handle to a <a href="ft2-type1_tables.html#PS_PrivateRec">PS_PrivateRec</a> structure.</p>
  159. </td></tr></table><br>
  160. </td></tr></table>
  161. <hr width="75%">
  162. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  163. <td width="100%"></td>
  164. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  165. <table align=center width="75%"><tr><td>
  166. <h4><a name="T1_Private">T1_Private</a></h4>
  167. <table align=center width="87%"><tr><td>
  168. Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
  169. </td></tr></table><br>
  170. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  171. <span class="keyword">typedef</span> <a href="ft2-type1_tables.html#PS_PrivateRec">PS_PrivateRec</a> <b>T1_Private</b>;
  172. </pre></table><br>
  173. <table align=center width="87%"><tr><td>
  174. <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>
  175. </td></tr></table><br>
  176. </td></tr></table>
  177. <hr width="75%">
  178. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  179. <td width="100%"></td>
  180. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  181. <table align=center width="75%"><tr><td>
  182. <h4><a name="T1_Blend_Flags">T1_Blend_Flags</a></h4>
  183. <table align=center width="87%"><tr><td>
  184. Defined 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. <span class="keyword">typedef</span> <span class="keyword">enum</span> T1_Blend_Flags_
  188. {
  189. /*# required fields in a FontInfo blend dictionary */
  190. T1_BLEND_UNDERLINE_POSITION = 0,
  191. T1_BLEND_UNDERLINE_THICKNESS,
  192. T1_BLEND_ITALIC_ANGLE,
  193. /*# required fields in a Private blend dictionary */
  194. T1_BLEND_BLUE_VALUES,
  195. T1_BLEND_OTHER_BLUES,
  196. T1_BLEND_STANDARD_WIDTH,
  197. T1_BLEND_STANDARD_HEIGHT,
  198. T1_BLEND_STEM_SNAP_WIDTHS,
  199. T1_BLEND_STEM_SNAP_HEIGHTS,
  200. T1_BLEND_BLUE_SCALE,
  201. T1_BLEND_BLUE_SHIFT,
  202. T1_BLEND_FAMILY_BLUES,
  203. T1_BLEND_FAMILY_OTHER_BLUES,
  204. T1_BLEND_FORCE_BOLD,
  205. /*# never remove */
  206. T1_BLEND_MAX
  207. } <b>T1_Blend_Flags</b>;
  208. </pre></table><br>
  209. <table align=center width="87%"><tr><td>
  210. <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>
  211. </td></tr></table><br>
  212. </td></tr></table>
  213. <hr width="75%">
  214. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  215. <td width="100%"></td>
  216. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  217. <table align=center width="75%"><tr><td>
  218. <h4><a name="CID_FaceDictRec">CID_FaceDictRec</a></h4>
  219. <table align=center width="87%"><tr><td>
  220. Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
  221. </td></tr></table><br>
  222. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  223. <span class="keyword">typedef</span> <span class="keyword">struct</span> CID_FaceDictRec_
  224. {
  225. <a href="ft2-type1_tables.html#PS_PrivateRec">PS_PrivateRec</a> private_dict;
  226. <a href="ft2-basic_types.html#FT_UInt">FT_UInt</a> len_buildchar;
  227. <a href="ft2-basic_types.html#FT_Fixed">FT_Fixed</a> forcebold_threshold;
  228. <a href="ft2-basic_types.html#FT_Pos">FT_Pos</a> stroke_width;
  229. <a href="ft2-basic_types.html#FT_Fixed">FT_Fixed</a> expansion_factor;
  230. <a href="ft2-basic_types.html#FT_Byte">FT_Byte</a> paint_type;
  231. <a href="ft2-basic_types.html#FT_Byte">FT_Byte</a> font_type;
  232. <a href="ft2-basic_types.html#FT_Matrix">FT_Matrix</a> font_matrix;
  233. <a href="ft2-basic_types.html#FT_Vector">FT_Vector</a> font_offset;
  234. <a href="ft2-basic_types.html#FT_UInt">FT_UInt</a> num_subrs;
  235. <a href="ft2-basic_types.html#FT_ULong">FT_ULong</a> subrmap_offset;
  236. <a href="ft2-basic_types.html#FT_Int">FT_Int</a> sd_bytes;
  237. } <b>CID_FaceDictRec</b>;
  238. </pre></table><br>
  239. <table align=center width="87%"><tr><td>
  240. <p>A structure used to represent data in a CID top-level dictionary.</p>
  241. </td></tr></table><br>
  242. </td></tr></table>
  243. <hr width="75%">
  244. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  245. <td width="100%"></td>
  246. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  247. <table align=center width="75%"><tr><td>
  248. <h4><a name="CID_FaceDict">CID_FaceDict</a></h4>
  249. <table align=center width="87%"><tr><td>
  250. Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
  251. </td></tr></table><br>
  252. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  253. <span class="keyword">typedef</span> <span class="keyword">struct</span> CID_FaceDictRec_* <b>CID_FaceDict</b>;
  254. </pre></table><br>
  255. <table align=center width="87%"><tr><td>
  256. <p>A handle to a <a href="ft2-type1_tables.html#CID_FaceDictRec">CID_FaceDictRec</a> structure.</p>
  257. </td></tr></table><br>
  258. </td></tr></table>
  259. <hr width="75%">
  260. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  261. <td width="100%"></td>
  262. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  263. <table align=center width="75%"><tr><td>
  264. <h4><a name="CID_FaceInfoRec">CID_FaceInfoRec</a></h4>
  265. <table align=center width="87%"><tr><td>
  266. Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
  267. </td></tr></table><br>
  268. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  269. <span class="keyword">typedef</span> <span class="keyword">struct</span> CID_FaceInfoRec_
  270. {
  271. <a href="ft2-basic_types.html#FT_String">FT_String</a>* cid_font_name;
  272. <a href="ft2-basic_types.html#FT_Fixed">FT_Fixed</a> cid_version;
  273. <a href="ft2-basic_types.html#FT_Int">FT_Int</a> cid_font_type;
  274. <a href="ft2-basic_types.html#FT_String">FT_String</a>* registry;
  275. <a href="ft2-basic_types.html#FT_String">FT_String</a>* ordering;
  276. <a href="ft2-basic_types.html#FT_Int">FT_Int</a> supplement;
  277. <a href="ft2-type1_tables.html#PS_FontInfoRec">PS_FontInfoRec</a> font_info;
  278. <a href="ft2-basic_types.html#FT_BBox">FT_BBox</a> font_bbox;
  279. <a href="ft2-basic_types.html#FT_ULong">FT_ULong</a> uid_base;
  280. <a href="ft2-basic_types.html#FT_Int">FT_Int</a> num_xuid;
  281. <a href="ft2-basic_types.html#FT_ULong">FT_ULong</a> xuid[16];
  282. <a href="ft2-basic_types.html#FT_ULong">FT_ULong</a> cidmap_offset;
  283. <a href="ft2-basic_types.html#FT_Int">FT_Int</a> fd_bytes;
  284. <a href="ft2-basic_types.html#FT_Int">FT_Int</a> gd_bytes;
  285. <a href="ft2-basic_types.html#FT_ULong">FT_ULong</a> cid_count;
  286. <a href="ft2-basic_types.html#FT_Int">FT_Int</a> num_dicts;
  287. <a href="ft2-type1_tables.html#CID_FaceDict">CID_FaceDict</a> font_dicts;
  288. <a href="ft2-basic_types.html#FT_ULong">FT_ULong</a> data_offset;
  289. } <b>CID_FaceInfoRec</b>;
  290. </pre></table><br>
  291. <table align=center width="87%"><tr><td>
  292. <p>A structure used to represent CID Face information.</p>
  293. </td></tr></table><br>
  294. </td></tr></table>
  295. <hr width="75%">
  296. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  297. <td width="100%"></td>
  298. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  299. <table align=center width="75%"><tr><td>
  300. <h4><a name="CID_FaceInfo">CID_FaceInfo</a></h4>
  301. <table align=center width="87%"><tr><td>
  302. Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
  303. </td></tr></table><br>
  304. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  305. <span class="keyword">typedef</span> <span class="keyword">struct</span> CID_FaceInfoRec_* <b>CID_FaceInfo</b>;
  306. </pre></table><br>
  307. <table align=center width="87%"><tr><td>
  308. <p>A handle to a <a href="ft2-type1_tables.html#CID_FaceInfoRec">CID_FaceInfoRec</a> structure.</p>
  309. </td></tr></table><br>
  310. </td></tr></table>
  311. <hr width="75%">
  312. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  313. <td width="100%"></td>
  314. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  315. <table align=center width="75%"><tr><td>
  316. <h4><a name="CID_Info">CID_Info</a></h4>
  317. <table align=center width="87%"><tr><td>
  318. Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
  319. </td></tr></table><br>
  320. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  321. <span class="keyword">typedef</span> <a href="ft2-type1_tables.html#CID_FaceInfoRec">CID_FaceInfoRec</a> <b>CID_Info</b>;
  322. </pre></table><br>
  323. <table align=center width="87%"><tr><td>
  324. <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>
  325. </td></tr></table><br>
  326. </td></tr></table>
  327. <hr width="75%">
  328. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  329. <td width="100%"></td>
  330. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  331. <table align=center width="75%"><tr><td>
  332. <h4><a name="FT_Has_PS_Glyph_Names">FT_Has_PS_Glyph_Names</a></h4>
  333. <table align=center width="87%"><tr><td>
  334. Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
  335. </td></tr></table><br>
  336. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  337. FT_EXPORT( <a href="ft2-basic_types.html#FT_Int">FT_Int</a> )
  338. <b>FT_Has_PS_Glyph_Names</b>( <a href="ft2-base_interface.html#FT_Face">FT_Face</a> face );
  339. </pre></table><br>
  340. <table align=center width="87%"><tr><td>
  341. <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>
  342. <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>
  343. </td></tr></table><br>
  344. <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>input</b></em></td></tr><tr><td>
  345. <p></p>
  346. <table cellpadding=3 border=0>
  347. <tr valign=top><td><b>face</b></td><td>
  348. <p>face handle</p>
  349. </td></tr>
  350. </table>
  351. </td></tr></table>
  352. <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>return</b></em></td></tr><tr><td>
  353. <p>Boolean. True if glyph names are reliable.</p>
  354. </td></tr></table>
  355. </td></tr></table>
  356. <hr width="75%">
  357. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  358. <td width="100%"></td>
  359. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  360. <table align=center width="75%"><tr><td>
  361. <h4><a name="FT_Get_PS_Font_Info">FT_Get_PS_Font_Info</a></h4>
  362. <table align=center width="87%"><tr><td>
  363. Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
  364. </td></tr></table><br>
  365. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  366. FT_EXPORT( <a href="ft2-basic_types.html#FT_Error">FT_Error</a> )
  367. <b>FT_Get_PS_Font_Info</b>( <a href="ft2-base_interface.html#FT_Face">FT_Face</a> face,
  368. <a href="ft2-type1_tables.html#PS_FontInfo">PS_FontInfo</a> afont_info );
  369. </pre></table><br>
  370. <table align=center width="87%"><tr><td>
  371. <p>Retrieve the <a href="ft2-type1_tables.html#PS_FontInfoRec">PS_FontInfoRec</a> structure corresponding to a given PostScript font.</p>
  372. </td></tr></table><br>
  373. <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>input</b></em></td></tr><tr><td>
  374. <p></p>
  375. <table cellpadding=3 border=0>
  376. <tr valign=top><td><b>face</b></td><td>
  377. <p>PostScript face handle.</p>
  378. </td></tr>
  379. </table>
  380. </td></tr></table>
  381. <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>output</b></em></td></tr><tr><td>
  382. <p></p>
  383. <table cellpadding=3 border=0>
  384. <tr valign=top><td><b>afont_info</b></td><td>
  385. <p>Output font info structure pointer.</p>
  386. </td></tr>
  387. </table>
  388. </td></tr></table>
  389. <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>return</b></em></td></tr><tr><td>
  390. <p>FreeType error code. 0&nbsp;means success.</p>
  391. </td></tr></table>
  392. <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>note</b></em></td></tr><tr><td>
  393. <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>
  394. <p>If the font's format is not PostScript-based, this function will return the &lsquo;FT_Err_Invalid_Argument&rsquo; error code.</p>
  395. </td></tr></table>
  396. </td></tr></table>
  397. <hr width="75%">
  398. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  399. <td width="100%"></td>
  400. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  401. <table align=center width="75%"><tr><td>
  402. <h4><a name="FT_Get_PS_Font_Private">FT_Get_PS_Font_Private</a></h4>
  403. <table align=center width="87%"><tr><td>
  404. Defined 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. FT_EXPORT( <a href="ft2-basic_types.html#FT_Error">FT_Error</a> )
  408. <b>FT_Get_PS_Font_Private</b>( <a href="ft2-base_interface.html#FT_Face">FT_Face</a> face,
  409. <a href="ft2-type1_tables.html#PS_Private">PS_Private</a> afont_private );
  410. </pre></table><br>
  411. <table align=center width="87%"><tr><td>
  412. <p>Retrieve the <a href="ft2-type1_tables.html#PS_PrivateRec">PS_PrivateRec</a> structure corresponding to a given PostScript font.</p>
  413. </td></tr></table><br>
  414. <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>input</b></em></td></tr><tr><td>
  415. <p></p>
  416. <table cellpadding=3 border=0>
  417. <tr valign=top><td><b>face</b></td><td>
  418. <p>PostScript face handle.</p>
  419. </td></tr>
  420. </table>
  421. </td></tr></table>
  422. <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>output</b></em></td></tr><tr><td>
  423. <p></p>
  424. <table cellpadding=3 border=0>
  425. <tr valign=top><td><b>afont_private</b></td><td>
  426. <p>Output private dictionary structure pointer.</p>
  427. </td></tr>
  428. </table>
  429. </td></tr></table>
  430. <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>return</b></em></td></tr><tr><td>
  431. <p>FreeType error code. 0&nbsp;means success.</p>
  432. </td></tr></table>
  433. <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>note</b></em></td></tr><tr><td>
  434. <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>
  435. <p>If the font's format is not PostScript-based, this function returns the &lsquo;FT_Err_Invalid_Argument&rsquo; error code.</p>
  436. </td></tr></table>
  437. </td></tr></table>
  438. <hr width="75%">
  439. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  440. <td width="100%"></td>
  441. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  442. </body>
  443. </html>