Home
last modified time | relevance | path

Searched refs:FT_Short (Results 1 – 25 of 72) sorted by relevance

123

/external/freetype/include/freetype/
Dtttables.h98 FT_Short xMin;
99 FT_Short yMin;
100 FT_Short xMax;
101 FT_Short yMax;
106 FT_Short Font_Direction;
107 FT_Short Index_To_Loc_Format;
108 FT_Short Glyph_Data_Format;
203 FT_Short Ascender;
204 FT_Short Descender;
205 FT_Short Line_Gap;
[all …]
Dt1tables.h97 FT_Short underline_position;
146 FT_Short blue_values[14];
147 FT_Short other_blues[10];
149 FT_Short family_blues [14];
150 FT_Short family_other_blues[10];
164 FT_Short snap_widths [13]; /* including std width */
165 FT_Short snap_heights[13]; /* including std height */
172 FT_Short min_feature[2];
Dfreetype.h357 FT_Short height;
358 FT_Short width;
1055 FT_Short ascender;
1056 FT_Short descender;
1057 FT_Short height;
1059 FT_Short max_advance_width;
1060 FT_Short max_advance_height;
1062 FT_Short underline_position;
1063 FT_Short underline_thickness;
/external/freetype/src/pcf/
Dpcf.h95 FT_Short leftSideBearing;
96 FT_Short rightSideBearing;
97 FT_Short characterWidth;
98 FT_Short ascent;
99 FT_Short descent;
100 FT_Short attributes;
Dpcfread.c347 metric->leftSideBearing = (FT_Short)( compr.leftSideBearing - 0x80 ); in pcf_get_metric()
348 metric->rightSideBearing = (FT_Short)( compr.rightSideBearing - 0x80 ); in pcf_get_metric()
349 metric->characterWidth = (FT_Short)( compr.characterWidth - 0x80 ); in pcf_get_metric()
350 metric->ascent = (FT_Short)( compr.ascent - 0x80 ); in pcf_get_metric()
351 metric->descent = (FT_Short)( compr.descent - 0x80 ); in pcf_get_metric()
1574 FT_Short resolution_x = 0, resolution_y = 0; in pcf_load_font()
1597 bsize->height = FT_ABS( (FT_Short)( face->accel.fontAscent + in pcf_load_font()
1614 bsize->width = FT_ABS( (FT_Short)( ( prop->value.l + 5 ) / 10 ) ); in pcf_load_font()
1619 bsize->width = (FT_Short)FT_MulDiv( bsize->height, 2, 3 ); in pcf_load_font()
1656 bsize->y_ppem = FT_ABS( (FT_Short)prop->value.l ) << 6; in pcf_load_font()
[all …]
/external/freetype/src/autofit/
Dafhints.h248 FT_Short fx, fy; /* original, unscaled position (in font units) */
268 FT_Short pos; /* position of segment */
269 FT_Short delta; /* deviation from segment position */
270 FT_Short min_coord; /* minimum coordinate of segment */
271 FT_Short max_coord; /* maximum coordinate of segment */
272 FT_Short height; /* the hinted segment height */
290 FT_Short fpos; /* original, unscaled position (in font units) */
Daflatin.c1692 segment->pos = (FT_Short)( ( min_pos + max_pos ) >> 1 ); in af_latin_hints_compute_segments()
1693 segment->delta = (FT_Short)( ( max_pos - min_pos ) >> 1 ); in af_latin_hints_compute_segments()
1702 segment->min_coord = (FT_Short)min_coord; in af_latin_hints_compute_segments()
1703 segment->max_coord = (FT_Short)max_coord; in af_latin_hints_compute_segments()
1753 prev_segment->pos = (FT_Short)( ( min_pos + in af_latin_hints_compute_segments()
1755 prev_segment->delta = (FT_Short)( ( max_pos - in af_latin_hints_compute_segments()
1764 prev_segment->min_coord = (FT_Short)min_coord; in af_latin_hints_compute_segments()
1765 prev_segment->max_coord = (FT_Short)max_coord; in af_latin_hints_compute_segments()
1785 prev_segment->pos = (FT_Short)( ( prev_min_pos + in af_latin_hints_compute_segments()
1787 prev_segment->delta = (FT_Short)( ( prev_max_pos - in af_latin_hints_compute_segments()
[all …]
/external/freetype/include/freetype/internal/
Dtttypes.h171 FT_Short bearing;
185 typedef FT_Short TT_ShortMetrics;
437 FT_Short horiBearingX;
438 FT_Short horiBearingY;
441 FT_Short vertBearingX;
442 FT_Short vertBearingY;
1694 FT_Short max_contours;
1696 FT_Short n_contours; /* number of contours */
1739 FT_Short n_contours;
Dftstream.h310 #define FT_GET_SHORT() FT_GET_MACRO( FT_Stream_GetUShort, FT_Short )
318 #define FT_GET_SHORT_LE() FT_GET_MACRO( FT_Stream_GetUShortLE, FT_Short )
338 #define FT_READ_SHORT( var ) FT_READ_MACRO( FT_Stream_ReadUShort, FT_Short, var )
345 #define FT_READ_SHORT_LE( var ) FT_READ_MACRO( FT_Stream_ReadUShortLE, FT_Short, var )
/external/freetype/src/gxvalid/
Dgxvmort1.c103 FT_Short wordOffset, in gxv_mort_subtable_type1_offset_to_subst_validate()
148 FT_Short markOffset; in gxv_mort_subtable_type1_entry_validate()
149 FT_Short currentOffset; in gxv_mort_subtable_type1_entry_validate()
161 markOffset = (FT_Short)( glyphOffset_p->ul >> 16 ); in gxv_mort_subtable_type1_entry_validate()
162 currentOffset = (FT_Short)( glyphOffset_p->ul ); in gxv_mort_subtable_type1_entry_validate()
Dgxvmorx1.c117 FT_Short markIndex; in gxv_morx_subtable_type1_entry_validate()
118 FT_Short currentIndex; in gxv_morx_subtable_type1_entry_validate()
135 markIndex = (FT_Short)( glyphOffset_p->ul >> 16 ); in gxv_morx_subtable_type1_entry_validate()
136 currentIndex = (FT_Short)( glyphOffset_p->ul ); in gxv_morx_subtable_type1_entry_validate()
Dgxvopbd.c77 FT_Short delta_value; in gxv_opbd_LookupValue_validate()
147 relative_gindex * 4 * sizeof ( FT_Short ) ); in gxv_opbd_LookupFmt4_transit()
Dgxvlcar.c69 gxv_lcar_partial_validate( FT_Short partial, in gxv_lcar_partial_validate()
93 FT_Short partial; in gxv_lcar_LookupValue_validate()
/external/freetype/src/pfr/
Dpfrobjs.c201 pfrface->ascender = (FT_Short) phy_font->bbox.yMax; in pfr_face_init()
202 pfrface->descender = (FT_Short) phy_font->bbox.yMin; in pfr_face_init()
204 pfrface->height = (FT_Short)( ( pfrface->units_per_EM * 12 ) / 10 ); in pfr_face_init()
206 pfrface->height = (FT_Short)(pfrface->ascender - pfrface->descender); in pfr_face_init()
223 size->height = (FT_Short)strike->y_ppm; in pfr_face_init()
224 size->width = (FT_Short)strike->x_ppm; in pfr_face_init()
234 pfrface->max_advance_width = (FT_Short)phy_font->standard_advance; in pfr_face_init()
248 pfrface->max_advance_width = (FT_Short)max; in pfr_face_init()
253 pfrface->underline_position = (FT_Short)( -pfrface->units_per_EM / 10 ); in pfr_face_init()
254 pfrface->underline_thickness = (FT_Short)( pfrface->units_per_EM / 30 ); in pfr_face_init()
/external/freetype/src/type1/
Dt1objs.c479 root->ascender = (FT_Short)( root->bbox.yMax ); in T1_Face_Init()
480 root->descender = (FT_Short)( root->bbox.yMin ); in T1_Face_Init()
482 root->height = (FT_Short)( ( root->units_per_EM * 12 ) / 10 ); in T1_Face_Init()
484 root->height = (FT_Short)( root->ascender - root->descender ); in T1_Face_Init()
488 (FT_Short)( root->bbox.xMax ); in T1_Face_Init()
497 root->max_advance_width = (FT_Short)FIXED_TO_INT( max_advance ); in T1_Face_Init()
504 root->underline_position = (FT_Short)info->underline_position; in T1_Face_Init()
505 root->underline_thickness = (FT_Short)info->underline_thickness; in T1_Face_Init()
Dt1driver.c404 *((FT_Short *)value) = type1->private_dict.blue_values[idx]; in t1_ps_get_font_value()
437 *((FT_Short *)value) = type1->private_dict.other_blues[idx]; in t1_ps_get_font_value()
452 *((FT_Short *)value) = type1->private_dict.family_blues[idx]; in t1_ps_get_font_value()
467 *((FT_Short *)value) = type1->private_dict.family_other_blues[idx]; in t1_ps_get_font_value()
482 *((FT_Short *)value) = type1->private_dict.snap_widths[idx]; in t1_ps_get_font_value()
497 *((FT_Short *)value) = type1->private_dict.snap_heights[idx]; in t1_ps_get_font_value()
519 *((FT_Short *)value) = type1->private_dict.min_feature[idx]; in t1_ps_get_font_value()
550 *((FT_Short *)value) = type1->font_info.underline_position; in t1_ps_get_font_value()
/external/freetype/src/cid/
Dcidobjs.c442 cidface->ascender = (FT_Short)( cidface->bbox.yMax ); in cid_face_init()
443 cidface->descender = (FT_Short)( cidface->bbox.yMin ); in cid_face_init()
445 cidface->height = (FT_Short)( ( cidface->units_per_EM * 12 ) / 10 ); in cid_face_init()
447 cidface->height = (FT_Short)( cidface->ascender - cidface->descender ); in cid_face_init()
449 cidface->underline_position = (FT_Short)info->underline_position; in cid_face_init()
450 cidface->underline_thickness = (FT_Short)info->underline_thickness; in cid_face_init()
/external/freetype/src/pshinter/
Dpshglob.c142 FT_Short* read, in psh_blues_set_zones_0()
236 FT_Short* blues, in psh_blues_set_zones()
238 FT_Short* other_blues, in psh_blues_set_zones()
526 static FT_Short
528 const FT_Short* values, in psh_calc_max_height()
529 FT_Short cur_max ) in psh_calc_max_height()
536 FT_Short cur_height = values[count + 1] - values[count]; in psh_calc_max_height()
656 FT_Short* read; in psh_globals_new()
712 FT_Short max_height = 1; in psh_globals_new()
/external/freetype/src/truetype/
Dttgload.h39 FT_Short* lsb,
46 FT_Short* tsb,
Dttgxvar.c78 ( (FT_Short)( ( (x) + 0x8000U ) >> 16 ) )
512 FT_Short start, peak, end; in ft_var_load_item_variation_store()
598 FT_Short delta; in ft_var_load_item_variation_store()
873 FT_Short* deltaSet; in ft_var_get_item_delta()
1099 p = (FT_Short*)&face->dflt; \
1105 p = (FT_Short*)&face->gasp.gaspRanges[idx].maxPPEM; \
1111 static FT_Short*
1115 FT_Short* p; in ft_var_get_value_pointer()
1282 FT_Short* p = ft_var_get_value_pointer( face, value->tag ); in ft_var_load_mvar()
1333 FT_Short mvar_hasc_delta = 0; in tt_apply_mvar()
[all …]
Dttgload.c101 FT_Short* lsb, in TT_Get_HMetrics()
120 FT_Short* tsb, in TT_Get_VMetrics()
128 *tsb = (FT_Short)( face->os2.sTypoAscender - yMax ); in TT_Get_VMetrics()
135 *tsb = (FT_Short)( face->horizontal.Ascender - yMax ); in TT_Get_VMetrics()
162 FT_Short left_bearing = 0, top_bearing = 0; in tt_get_metrics()
218 FT_Short left_bearing = 0, top_bearing = 0; in tt_get_metrics_incr_overrides()
242 left_bearing = (FT_Short)incr_metrics.bearing_x; in tt_get_metrics_incr_overrides()
258 top_bearing = (FT_Short)incr_metrics.bearing_y; in tt_get_metrics_incr_overrides()
367 FT_Short *cont, *cont_limit, prev_cont; in TT_Load_Simple_Glyph()
575 outline->n_points = (FT_Short)n_points; in TT_Load_Simple_Glyph()
[all …]
/external/freetype/src/cff/
Dcffobjs.c127 priv->blue_values[n] = (FT_Short)cpriv->blue_values[n]; in cff_make_private_dict()
131 priv->other_blues[n] = (FT_Short)cpriv->other_blues[n]; in cff_make_private_dict()
135 priv->family_blues[n] = (FT_Short)cpriv->family_blues[n]; in cff_make_private_dict()
139 priv->family_other_blues[n] = (FT_Short)cpriv->family_other_blues[n]; in cff_make_private_dict()
150 priv->snap_widths[n] = (FT_Short)cpriv->snap_widths[n]; in cff_make_private_dict()
154 priv->snap_heights[n] = (FT_Short)cpriv->snap_heights[n]; in cff_make_private_dict()
875 cffface->ascender = (FT_Short)( cffface->bbox.yMax ); in cff_face_init()
876 cffface->descender = (FT_Short)( cffface->bbox.yMin ); in cff_face_init()
878 cffface->height = (FT_Short)( ( cffface->units_per_EM * 12 ) / 10 ); in cff_face_init()
880 cffface->height = (FT_Short)( cffface->ascender - in cff_face_init()
[all …]
/external/freetype/src/bdf/
Dbdfdrivr.c450 FT_Short resolution_x = 0, resolution_y = 0; in BDF_Face_Init()
470 bsize->height = (FT_Short)( font->font_ascent + font->font_descent ); in BDF_Face_Init()
487 bsize->width = FT_ABS( (FT_Short)( ( prop->value.l + 5 ) / 10 ) ); in BDF_Face_Init()
492 bsize->width = (FT_Short)FT_MulDiv( bsize->height, 2, 3 ); in BDF_Face_Init()
546 bsize->y_ppem = FT_ABS( (FT_Short)prop->value.l ) << 6; in BDF_Face_Init()
567 resolution_x = FT_ABS( (FT_Short)value ); in BDF_Face_Init()
588 resolution_y = FT_ABS( (FT_Short)value ); in BDF_Face_Init()
/external/freetype/src/sfnt/
Dttmtx.c231 FT_Short *abearing, in tt_face_get_metrics()
332 *abearing = (FT_Short)b; in tt_face_get_metrics()
Dttmtx.h46 FT_Short* abearing,

123