Go to the source code of this file.
◆ FT_Get_PFR_Advance()
Definition at line 128 of file ftpfr.c.
131 {
133 FT_Service_PfrMetrics service;
134
135
137 return FT_THROW( Invalid_Face_Handle );
138
139 if ( !aadvance )
140 return FT_THROW( Invalid_Argument );
141
143 if ( service )
144 error = service->get_advance(
face, gindex, aadvance );
145 else
146
148
150 }
static FT_Service_PfrMetrics ft_pfr_check(FT_Face face)
GLenum GLuint GLint GLenum face
◆ FT_Get_PFR_Kerning()
Definition at line 99 of file ftpfr.c.
103 {
105 FT_Service_PfrMetrics service;
106
107
109 return FT_THROW( Invalid_Face_Handle );
110
111 if ( !avector )
112 return FT_THROW( Invalid_Argument );
113
115 if ( service )
117 else
120
122 }
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 42 of file ftpfr.c.
47 {
49 FT_Service_PfrMetrics service;
50
51
53 return FT_THROW( Invalid_Face_Handle );
54
56 if ( service )
57 {
59 aoutline_resolution,
60 ametrics_resolution,
61 ametrics_x_scale,
62 ametrics_y_scale );
63 }
64 else
65 {
67
68
69
70 if ( aoutline_resolution )
71 *aoutline_resolution =
face->units_per_EM;
72
73 if ( ametrics_resolution )
74 *ametrics_resolution =
face->units_per_EM;
75
76 x_scale = y_scale = 0x10000L;
78 {
79 x_scale =
face->size->metrics.x_scale;
80 y_scale =
face->size->metrics.y_scale;
81 }
82
83 if ( ametrics_x_scale )
84 *ametrics_x_scale = x_scale;
85
86 if ( ametrics_y_scale )
87 *ametrics_y_scale = y_scale;
88
90 }
91
93 }