Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed







Rev Author Line No. Line
4349 Serge 1
2
"http://www.w3.org/TR/html4/loose.dtd">
3
4
5
6
FreeType-2.5.0 API Reference
7
32
33
34
 
35
[Index]
36
37
[TOC]
38

FreeType-2.5.0 API Reference

39
 
40

41
The TrueType Engine
42
43

Synopsis

44
45
FT_TrueTypeEngineTypeFT_Get_TrueType_Engine_Type
46


47
 
48
49

This section contains a function used to query the level of TrueType bytecode support compiled in this version of the library.

50

51
52

FT_TrueTypeEngineType

53
54
Defined in FT_MODULE_H (freetype/ftmodapi.h).
55

56
57
 
58
  typedef enum  FT_TrueTypeEngineType_
59
  {
60
    FT_TRUETYPE_ENGINE_TYPE_NONE = 0,
61
    FT_TRUETYPE_ENGINE_TYPE_UNPATENTED,
62
    FT_TRUETYPE_ENGINE_TYPE_PATENTED
63
 
64
  } FT_TrueTypeEngineType;
65
 
66

67
68

A list of values describing which kind of TrueType bytecode engine is implemented in a given FT_Library instance. It is used by the FT_Get_TrueType_Engine_Type function.

69

70
values
71

72
73
FT_TRUETYPE_ENGINE_TYPE_NONE
74
75

The library doesn't implement any kind of bytecode interpreter.

76
77
FT_TRUETYPE_ENGINE_TYPE_UNPATENTED
78
79

The library implements a bytecode interpreter that doesn't support the patented operations of the TrueType virtual machine.

80

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.

81
82
FT_TRUETYPE_ENGINE_TYPE_PATENTED
83
84

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).

85
86
87
88
since
89

2.2

90
91
92

93
[Index]
94
95
[TOC]
96
 
97
98

FT_Get_TrueType_Engine_Type

99
100
Defined in FT_MODULE_H (freetype/ftmodapi.h).
101

102
103
 
104
  FT_EXPORT( FT_TrueTypeEngineType )
105
  FT_Get_TrueType_Engine_Type( FT_Library  library );
106
 
107

108
109

Return an FT_TrueTypeEngineType value to indicate which level of the TrueType virtual machine a given library instance supports.

110

111
input
112

113
114
library
115

A library instance.

116
117
118
119
return
120

A value indicating which level is supported.

121
122
since
123

2.2

124
125
126

127
[Index]
128
129
[TOC]
130
 
131
132