25 static FT_Service_PfrMetrics
28 FT_Service_PfrMetrics service =
NULL;
48 FT_Service_PfrMetrics service;
52 return FT_THROW( Invalid_Face_Handle );
69 if ( aoutline_resolution )
70 *aoutline_resolution =
face->units_per_EM;
72 if ( ametrics_resolution )
73 *ametrics_resolution =
face->units_per_EM;
75 x_scale = y_scale = 0x10000L;
78 x_scale =
face->size->metrics.x_scale;
79 y_scale =
face->size->metrics.y_scale;
82 if ( ametrics_x_scale )
83 *ametrics_x_scale = x_scale;
85 if ( ametrics_y_scale )
86 *ametrics_y_scale = y_scale;
104 FT_Service_PfrMetrics service;
108 return FT_THROW( Invalid_Face_Handle );
111 return FT_THROW( Invalid_Argument );
132 FT_Service_PfrMetrics service;
136 return FT_THROW( Invalid_Face_Handle );
139 return FT_THROW( Invalid_Argument );
143 error = service->get_advance(
face, gindex, aadvance );
FT_Get_Kerning(FT_Face face, FT_UInt left_glyph, FT_UInt right_glyph, FT_UInt kern_mode, FT_Vector *akerning)
FT_BEGIN_HEADER typedef signed long FT_Pos
FT_Get_PFR_Metrics(FT_Face face, FT_UInt *aoutline_resolution, FT_UInt *ametrics_resolution, FT_Fixed *ametrics_x_scale, FT_Fixed *ametrics_y_scale)
static FT_Service_PfrMetrics ft_pfr_check(FT_Face face)
FT_Get_PFR_Advance(FT_Face face, FT_UInt gindex, FT_Pos *aadvance)
FT_Get_PFR_Kerning(FT_Face face, FT_UInt left, FT_UInt right, FT_Vector *avector)
#define FT_FACE_LOOKUP_SERVICE(face, ptr, id)
GLenum GLuint GLint GLenum face