Home | History | Annotate | Download | only in sfnt

Lines Matching refs:face

51   /*    Load the `hmtx' or `vmtx' table into a face object.                */
54 /* face :: A handle to the target face object. */
66 tt_face_load_hmtx( TT_Face face,
79 ptable_offset = &face->vert_metrics_offset;
80 ptable_size = &face->vert_metrics_size;
85 ptable_offset = &face->horz_metrics_offset;
86 ptable_size = &face->horz_metrics_size;
89 error = face->goto_table( face, tag, stream, &table_size );
103 tt_face_load_hmtx( TT_Face face,
120 void* lm = &face->vertical.long_metrics;
121 void** sm = &face->vertical.short_metrics;
124 error = face->goto_table( face, TTAG_vmtx, stream, &table_len );
128 num_longs = face->vertical.number_Of_VMetrics;
132 face->vertical.number_Of_VMetrics = 0;
139 void* lm = &face->horizontal.long_metrics;
140 void** sm = &face->horizontal.short_metrics;
143 error = face->goto_table( face, TTAG_hmtx, stream, &table_len );
147 num_longs = face->horizontal.number_Of_HMetrics;
151 face->horizontal.number_Of_HMetrics = 0;
159 num_shorts = face->max_profile.numGlyphs - num_longs;
226 face->vertical.number_Of_VMetrics = (FT_UShort)num_longs;
228 face->horizontal.number_Of_HMetrics = (FT_UShort)num_longs;
243 /* Load the `hhea' or 'vhea' table into a face object. */
246 /* face :: A handle to the target face object. */
256 tt_face_load_hhea( TT_Face face,
292 void *v = &face->vertical;
295 error = face->goto_table( face, TTAG_vhea, stream, 0 );
303 error = face->goto_table( face, TTAG_hhea, stream, 0 );
307 header = &face->horizontal;
349 tt_face_get_metrics( TT_Face face,
356 FT_Stream stream = face->root.stream;
364 void* v = &face->vertical;
368 table_pos = face->vert_metrics_offset;
369 table_size = face->vert_metrics_size;
373 header = &face->horizontal;
374 table_pos = face->horz_metrics_offset;
375 table_size = face->horz_metrics_size;
428 tt_face_get_metrics( TT_Face face,
434 void* v = &face->vertical;
435 void* h = &face->horizontal;
444 gindex >= (FT_UInt)face->max_profile.numGlyphs )