PageRenderTime 20ms CodeModel.GetById 7ms app.highlight 10ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://github.com/zpao/v8monkey
HTML | 132 lines | 117 code | 15 blank | 0 comment | 0 complexity | 221c2a014d03a595df622be9237d892b 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>
 41The TrueType Engine
 42</h1></center>
 43<h2>Synopsis</h2>
 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>
 46</table><br><br>
 47
 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>
 54Defined in FT_MODULE_H (freetype/ftmodapi.h).
 55</td></tr></table><br>
 56<table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
 57
 58  <span class="keyword">typedef</span> <span class="keyword">enum</span>  FT_TrueTypeEngineType_
 59  {
 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>
 63
 64  } <b>FT_TrueTypeEngineType</b>;
 65
 66</pre></table><br>
 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>
 71<p></p>
 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>
 76</td></tr>
 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>
 81</td></tr>
 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>
 85</td></tr>
 86</table>
 87</td></tr></table>
 88<table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>since</b></em></td></tr><tr><td>
 89<p>2.2</p>
 90</td></tr></table>
 91</td></tr></table>
 92<hr width="75%">
 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>
 96
 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>
100Defined in FT_MODULE_H (freetype/ftmodapi.h).
101</td></tr></table><br>
102<table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
103
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 );
106
107</pre></table><br>
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>
112<p></p>
113<table cellpadding=3 border=0>
114<tr valign=top><td><b>library</b></td><td>
115<p>A library instance.</p>
116</td></tr>
117</table>
118</td></tr></table>
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>
121</td></tr></table>
122<table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>since</b></em></td></tr><tr><td>
123<p>2.2</p>
124</td></tr></table>
125</td></tr></table>
126<hr width="75%">
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>
130
131</body>
132</html>