1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6 <title>FreeType-2.4.12 API Reference</title>
7 <style type="text/css">
8 body { font-family: Verdana, Geneva, Arial, Helvetica, serif;
10 background: #FFFFFF; }
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;
19 a:link { color: #0000EF; }
20 a:visited { color: #51188E; }
21 a:hover { color: #FF0000; }
23 span.keyword { font-family: monospace;
28 pre.colored { color: blue; }
30 ul.empty { list-style-type: none; }
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.12 API Reference</h1></center>
44 <table align=center cellspacing=5 cellpadding=0 border=0>
45 <tr><td></td><td><a href="#FT_TrueTypeEngineType">FT_TrueTypeEngineType</a></td><td></td><td><a href="#FT_Get_TrueType_Engine_Type">FT_Get_TrueType_Engine_Type</a></td></tr>
48 <table align=center width="87%"><tr><td>
49 <p>This section contains a function used to query the level of TrueType bytecode support compiled in this version of the library.</p>
50 </td></tr></table><br>
51 <table align=center width="75%"><tr><td>
52 <h4><a name="FT_TrueTypeEngineType">FT_TrueTypeEngineType</a></h4>
53 <table align=center width="87%"><tr><td>
54 Defined in FT_MODULE_H (freetype/ftmodapi.h).
55 </td></tr></table><br>
56 <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
58 <span class="keyword">typedef</span> <span class="keyword">enum</span> FT_TrueTypeEngineType_
60 <a href="ft2-truetype_engine.html#FT_TrueTypeEngineType">FT_TRUETYPE_ENGINE_TYPE_NONE</a> = 0,
61 <a href="ft2-truetype_engine.html#FT_TrueTypeEngineType">FT_TRUETYPE_ENGINE_TYPE_UNPATENTED</a>,
62 <a href="ft2-truetype_engine.html#FT_TrueTypeEngineType">FT_TRUETYPE_ENGINE_TYPE_PATENTED</a>
64 } <b>FT_TrueTypeEngineType</b>;
67 <table align=center width="87%"><tr><td>
68 <p>A list of values describing which kind of TrueType bytecode engine is implemented in a given FT_Library instance. It is used by the <a href="ft2-truetype_engine.html#FT_Get_TrueType_Engine_Type">FT_Get_TrueType_Engine_Type</a> function.</p>
69 </td></tr></table><br>
70 <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>values</b></em></td></tr><tr><td>
72 <table cellpadding=3 border=0>
73 <tr valign=top><td colspan=0><b>FT_TRUETYPE_ENGINE_TYPE_NONE</b></td></tr>
74 <tr valign=top><td></td><td>
75 <p>The library doesn't implement any kind of bytecode interpreter.</p>
77 <tr valign=top><td colspan=0><b>FT_TRUETYPE_ENGINE_TYPE_UNPATENTED</b></td></tr>
78 <tr valign=top><td></td><td>
79 <p>The library implements a bytecode interpreter that doesn't support the patented operations of the TrueType virtual machine.</p>
80 <p>Its main use is to load certain Asian fonts which position and scale glyph components with bytecode instructions. It produces bad output for most other fonts.</p>
82 <tr valign=top><td colspan=0><b>FT_TRUETYPE_ENGINE_TYPE_PATENTED</b></td></tr>
83 <tr valign=top><td></td><td>
84 <p>The library implements a bytecode interpreter that covers the full instruction set of the TrueType virtual machine (this was governed by patents until May 2010, hence the name).</p>
88 <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>since</b></em></td></tr><tr><td>
93 <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
94 <td width="100%"></td>
95 <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
97 <table align=center width="75%"><tr><td>
98 <h4><a name="FT_Get_TrueType_Engine_Type">FT_Get_TrueType_Engine_Type</a></h4>
99 <table align=center width="87%"><tr><td>
100 Defined in FT_MODULE_H (freetype/ftmodapi.h).
101 </td></tr></table><br>
102 <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
104 FT_EXPORT( <a href="ft2-truetype_engine.html#FT_TrueTypeEngineType">FT_TrueTypeEngineType</a> )
105 <b>FT_Get_TrueType_Engine_Type</b>( <a href="ft2-base_interface.html#FT_Library">FT_Library</a> library );
108 <table align=center width="87%"><tr><td>
109 <p>Return an <a href="ft2-truetype_engine.html#FT_TrueTypeEngineType">FT_TrueTypeEngineType</a> value to indicate which level of the TrueType virtual machine a given library instance supports.</p>
110 </td></tr></table><br>
111 <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>input</b></em></td></tr><tr><td>
113 <table cellpadding=3 border=0>
114 <tr valign=top><td><b>library</b></td><td>
115 <p>A library instance.</p>
119 <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>return</b></em></td></tr><tr><td>
120 <p>A value indicating which level is supported.</p>
122 <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>since</b></em></td></tr><tr><td>
127 <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
128 <td width="100%"></td>
129 <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>