19#include FT_INTERNAL_DEBUG_H
21#include FT_INTERNAL_OBJECTS_H
22#include FT_SERVICE_PFR_H
26 static FT_Service_PfrMetrics
29 FT_Service_PfrMetrics service =
NULL;
49 FT_Service_PfrMetrics service;
53 return FT_THROW( Invalid_Face_Handle );
70 if ( aoutline_resolution )
71 *aoutline_resolution =
face->units_per_EM;
73 if ( ametrics_resolution )
74 *ametrics_resolution =
face->units_per_EM;
76 x_scale = y_scale = 0x10000L;
79 x_scale =
face->size->metrics.x_scale;
80 y_scale =
face->size->metrics.y_scale;
83 if ( ametrics_x_scale )
84 *ametrics_x_scale = x_scale;
86 if ( ametrics_y_scale )
87 *ametrics_y_scale = y_scale;
105 FT_Service_PfrMetrics service;
109 return FT_THROW( Invalid_Face_Handle );
112 return FT_THROW( Invalid_Argument );
133 FT_Service_PfrMetrics service;
137 return FT_THROW( Invalid_Face_Handle );
140 return FT_THROW( Invalid_Argument );
144 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