/lib/freetype/docs/reference/ft2-font_formats.html

http://github.com/xbmc/xbmc · HTML · 83 lines · 72 code · 11 blank · 0 comment · 0 complexity · ad10df2b38ec6fed3f726103381d6848 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.3.9 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.3.9 API Reference</h1></center>
  33. <center><h1>
  34. Font Formats
  35. </h1></center>
  36. <h2>Synopsis</h2>
  37. <table align=center cellspacing=5 cellpadding=0 border=0>
  38. <tr><td></td><td><a href="#FT_Get_X11_Font_Format">FT_Get_X11_Font_Format</a></td><td></td><td></td><td></td><td></td></tr>
  39. </table><br><br>
  40. <table align=center width="87%"><tr><td>
  41. <p>The single function in this section can be used to get the font format. Note that this information is not needed normally; however, there are special cases (like in PDF devices) where it is important to differentiate, in spite of FreeType's uniform API.</p>
  42. </td></tr></table><br>
  43. <table align=center width="75%"><tr><td>
  44. <h4><a name="FT_Get_X11_Font_Format">FT_Get_X11_Font_Format</a></h4>
  45. <table align=center width="87%"><tr><td>
  46. Defined in FT_XFREE86_H (freetype/ftxf86.h).
  47. </td></tr></table><br>
  48. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  49. FT_EXPORT( <span class="keyword">const</span> <span class="keyword">char</span>* )
  50. <b>FT_Get_X11_Font_Format</b>( <a href="ft2-base_interface.html#FT_Face">FT_Face</a> face );
  51. </pre></table><br>
  52. <table align=center width="87%"><tr><td>
  53. <p>Return a string describing the format of a given face, using values which can be used as an X11 FONT_PROPERTY. Possible values are &lsquo;TrueType&rsquo;, &lsquo;Type&nbsp;1&rsquo;, &lsquo;BDF&rsquo;, &lsquo;PCF&rsquo;, &lsquo;Type&nbsp;42&rsquo;, &lsquo;CID&nbsp;Type&nbsp;1&rsquo;, &lsquo;CFF&rsquo;, &lsquo;PFR&rsquo;, and &lsquo;Windows&nbsp;FNT&rsquo;.</p>
  54. </td></tr></table><br>
  55. <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>input</b></em></td></tr><tr><td>
  56. <p></p>
  57. <table cellpadding=3 border=0>
  58. <tr valign=top><td><b>face</b></td><td>
  59. <p>Input face handle.</p>
  60. </td></tr>
  61. </table>
  62. </td></tr></table>
  63. <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>return</b></em></td></tr><tr><td>
  64. <p>Font format string. NULL in case of error.</p>
  65. </td></tr></table>
  66. </td></tr></table>
  67. <hr width="75%">
  68. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  69. <td width="100%"></td>
  70. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  71. </body>
  72. </html>