Go to the source code of this file.
◆ FT_Get_PFR_Advance()
Definition at line 127 of file ftpfr.c.
130 {
132 FT_Service_PfrMetrics service;
133
134
136 return FT_THROW( Invalid_Face_Handle );
137
138 if ( !aadvance )
139 return FT_THROW( Invalid_Argument );
140
142 if ( service )
143 error = service->get_advance(
face, gindex, aadvance );
144 else
145
147
149 }
static FT_Service_PfrMetrics ft_pfr_check(FT_Face face)
GLenum GLuint GLint GLenum face
◆ FT_Get_PFR_Kerning()
Definition at line 98 of file ftpfr.c.
102 {
104 FT_Service_PfrMetrics service;
105
106
108 return FT_THROW( Invalid_Face_Handle );
109
110 if ( !avector )
111 return FT_THROW( Invalid_Argument );
112
114 if ( service )
116 else
119
121 }
FT_Get_Kerning(FT_Face face, FT_UInt left_glyph, FT_UInt right_glyph, FT_UInt kern_mode, FT_Vector *akerning)
◆ FT_Get_PFR_Metrics()
Definition at line 41 of file ftpfr.c.
46 {
48 FT_Service_PfrMetrics service;
49
50
52 return FT_THROW( Invalid_Face_Handle );
53
55 if ( service )
56 {
58 aoutline_resolution,
59 ametrics_resolution,
60 ametrics_x_scale,
61 ametrics_y_scale );
62 }
63 else
64 {
66
67
68
69 if ( aoutline_resolution )
70 *aoutline_resolution =
face->units_per_EM;
71
72 if ( ametrics_resolution )
73 *ametrics_resolution =
face->units_per_EM;
74
75 x_scale = y_scale = 0x10000L;
77 {
78 x_scale =
face->size->metrics.x_scale;
79 y_scale =
face->size->metrics.y_scale;
80 }
81
82 if ( ametrics_x_scale )
83 *ametrics_x_scale = x_scale;
84
85 if ( ametrics_y_scale )
86 *ametrics_y_scale = y_scale;
87
89 }
90
92 }