Home
last modified time | relevance | path

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

123

/external/freetype/include/freetype/
Dtttables.h97 FT_Short xMin;
98 FT_Short yMin;
99 FT_Short xMax;
100 FT_Short yMax;
105 FT_Short Font_Direction;
106 FT_Short Index_To_Loc_Format;
107 FT_Short Glyph_Data_Format;
218 FT_Short Ascender;
219 FT_Short Descender;
220 FT_Short Line_Gap;
[all …]
Dt1tables.h98 FT_Short underline_position;
148 FT_Short blue_values[14];
149 FT_Short other_blues[10];
151 FT_Short family_blues [14];
152 FT_Short family_other_blues[10];
166 FT_Short snap_widths [13]; /* including std width */
167 FT_Short snap_heights[13]; /* including std height */
174 FT_Short min_feature[2];
Dfreetype.h378 FT_Short height;
379 FT_Short width;
1122 FT_Short ascender;
1123 FT_Short descender;
1124 FT_Short height;
1126 FT_Short max_advance_width;
1127 FT_Short max_advance_height;
1129 FT_Short underline_position;
1130 FT_Short underline_thickness;
/external/freetype/include/freetype/internal/
Dtttypes.h248 FT_Short bearing;
262 typedef FT_Short TT_ShortMetrics;
516 FT_Short horiBearingX;
517 FT_Short horiBearingY;
520 FT_Short vertBearingX;
521 FT_Short vertBearingY;
1704 FT_Short* cvt;
1837 FT_Short max_contours;
1839 FT_Short n_contours; /* number of contours */
1882 FT_Short n_contours;
Dftstream.h299 #define FT_GET_SHORT() FT_GET_MACRO( FT_Stream_GetUShort, FT_Short )
307 #define FT_GET_SHORT_LE() FT_GET_MACRO( FT_Stream_GetUShortLE, FT_Short )
327 #define FT_READ_SHORT( var ) FT_READ_MACRO( FT_Stream_ReadUShort, FT_Short, var )
334 #define FT_READ_SHORT_LE( var ) FT_READ_MACRO( FT_Stream_ReadUShortLE, FT_Short, var )
/external/freetype/src/pcf/
Dpcf.h96 FT_Short leftSideBearing;
97 FT_Short rightSideBearing;
98 FT_Short characterWidth;
99 FT_Short ascent;
100 FT_Short descent;
101 FT_Short attributes;
Dpcfread.c348 metric->leftSideBearing = (FT_Short)( compr.leftSideBearing - 0x80 ); in pcf_get_metric()
349 metric->rightSideBearing = (FT_Short)( compr.rightSideBearing - 0x80 ); in pcf_get_metric()
350 metric->characterWidth = (FT_Short)( compr.characterWidth - 0x80 ); in pcf_get_metric()
351 metric->ascent = (FT_Short)( compr.ascent - 0x80 ); in pcf_get_metric()
352 metric->descent = (FT_Short)( compr.descent - 0x80 ); in pcf_get_metric()
1557 FT_Short resolution_x = 0, resolution_y = 0; in pcf_load_font()
1580 bsize->height = FT_ABS( (FT_Short)( face->accel.fontAscent + in pcf_load_font()
1597 bsize->width = FT_ABS( (FT_Short)( ( prop->value.l + 5 ) / 10 ) ); in pcf_load_font()
1602 bsize->width = (FT_Short)FT_MulDiv( bsize->height, 2, 3 ); in pcf_load_font()
1639 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) */
262 FT_Short pos; /* position of segment */
263 FT_Short delta; /* deviation from segment position */
264 FT_Short min_coord; /* minimum coordinate of segment */
265 FT_Short max_coord; /* maximum coordinate of segment */
266 FT_Short height; /* the hinted segment height */
284 FT_Short fpos; /* original, unscaled position (in font units) */
Daflatin.c1657 segment->pos = (FT_Short)( ( min_pos + max_pos ) >> 1 ); in af_latin_hints_compute_segments()
1658 segment->delta = (FT_Short)( ( max_pos - min_pos ) >> 1 ); in af_latin_hints_compute_segments()
1667 segment->min_coord = (FT_Short)min_coord; in af_latin_hints_compute_segments()
1668 segment->max_coord = (FT_Short)max_coord; in af_latin_hints_compute_segments()
1718 prev_segment->pos = (FT_Short)( ( min_pos + in af_latin_hints_compute_segments()
1720 prev_segment->delta = (FT_Short)( ( max_pos - in af_latin_hints_compute_segments()
1729 prev_segment->min_coord = (FT_Short)min_coord; in af_latin_hints_compute_segments()
1730 prev_segment->max_coord = (FT_Short)max_coord; in af_latin_hints_compute_segments()
1750 prev_segment->pos = (FT_Short)( ( prev_min_pos + in af_latin_hints_compute_segments()
1752 prev_segment->delta = (FT_Short)( ( prev_max_pos - in af_latin_hints_compute_segments()
[all …]
/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.c480 root->ascender = (FT_Short)( root->bbox.yMax ); in T1_Face_Init()
481 root->descender = (FT_Short)( root->bbox.yMin ); in T1_Face_Init()
483 root->height = (FT_Short)( ( root->units_per_EM * 12 ) / 10 ); in T1_Face_Init()
485 root->height = (FT_Short)( root->ascender - root->descender ); in T1_Face_Init()
489 (FT_Short)( root->bbox.xMax ); in T1_Face_Init()
498 root->max_advance_width = (FT_Short)FIXED_TO_INT( max_advance ); in T1_Face_Init()
505 root->underline_position = (FT_Short)info->underline_position; in T1_Face_Init()
506 root->underline_thickness = (FT_Short)info->underline_thickness; in T1_Face_Init()
Dt1driver.c403 *((FT_Short *)value) = type1->private_dict.blue_values[idx]; in t1_ps_get_font_value()
436 *((FT_Short *)value) = type1->private_dict.other_blues[idx]; in t1_ps_get_font_value()
451 *((FT_Short *)value) = type1->private_dict.family_blues[idx]; in t1_ps_get_font_value()
466 *((FT_Short *)value) = type1->private_dict.family_other_blues[idx]; in t1_ps_get_font_value()
481 *((FT_Short *)value) = type1->private_dict.snap_widths[idx]; in t1_ps_get_font_value()
496 *((FT_Short *)value) = type1->private_dict.snap_heights[idx]; in t1_ps_get_font_value()
518 *((FT_Short *)value) = type1->private_dict.min_feature[idx]; in t1_ps_get_font_value()
549 *((FT_Short *)value) = type1->font_info.underline_position; in t1_ps_get_font_value()
/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/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/truetype/
Dttgload.h40 FT_Short* lsb,
47 FT_Short* tsb,
Dttgload.c77 FT_Short* lsb, in TT_Get_HMetrics()
96 FT_Short* tsb, in TT_Get_VMetrics()
104 *tsb = (FT_Short)( face->os2.sTypoAscender - yMax ); in TT_Get_VMetrics()
111 *tsb = (FT_Short)( face->horizontal.Ascender - yMax ); in TT_Get_VMetrics()
133 FT_Short left_bearing = 0, top_bearing = 0; in tt_get_metrics()
189 FT_Short left_bearing = 0, top_bearing = 0; in tt_get_metrics_incr_overrides()
213 left_bearing = (FT_Short)incr_metrics.bearing_x; in tt_get_metrics_incr_overrides()
229 top_bearing = (FT_Short)incr_metrics.bearing_y; in tt_get_metrics_incr_overrides()
341 FT_Short *cont, *cont_limit, prev_cont; in TT_Load_Simple_Glyph()
546 outline->n_points = (FT_Short)n_points; in TT_Load_Simple_Glyph()
[all …]
Dttgxvar.h72 FT_Short* deltaSet; /* array of `itemCount' deltas */
189 FT_Short unmodified; /* values are either FT_Short or FT_UShort */
/external/freetype/src/cff/
Dcffobjs.c128 priv->blue_values[n] = (FT_Short)cpriv->blue_values[n]; in cff_make_private_dict()
132 priv->other_blues[n] = (FT_Short)cpriv->other_blues[n]; in cff_make_private_dict()
136 priv->family_blues[n] = (FT_Short)cpriv->family_blues[n]; in cff_make_private_dict()
140 priv->family_other_blues[n] = (FT_Short)cpriv->family_other_blues[n]; in cff_make_private_dict()
151 priv->snap_widths[n] = (FT_Short)cpriv->snap_widths[n]; in cff_make_private_dict()
155 priv->snap_heights[n] = (FT_Short)cpriv->snap_heights[n]; in cff_make_private_dict()
865 cffface->ascender = (FT_Short)( cffface->bbox.yMax ); in cff_face_init()
866 cffface->descender = (FT_Short)( cffface->bbox.yMin ); in cff_face_init()
868 cffface->height = (FT_Short)( ( cffface->units_per_EM * 12 ) / 10 ); in cff_face_init()
870 cffface->height = (FT_Short)( cffface->ascender - in cff_face_init()
[all …]
Dcffparse.c104 val = (FT_Short)( ( (FT_UShort)p[0] << 8 ) | p[1] ); in cff_parse_integer()
471 return (FT_Short)( in cff_parse_num()
477 return (FT_Short)( in cff_parse_num()
1393 *(FT_Short*)q = (FT_Short)val; in cff_parser_run()
1460 *(FT_Short*)q = (FT_Short)val; in cff_parser_run()
/external/freetype/src/bdf/
Dbdfdrivr.c438 FT_Short resolution_x = 0, resolution_y = 0; in BDF_Face_Init()
458 bsize->height = (FT_Short)( font->font_ascent + font->font_descent ); in BDF_Face_Init()
475 bsize->width = FT_ABS( (FT_Short)( ( prop->value.l + 5 ) / 10 ) ); in BDF_Face_Init()
480 bsize->width = (FT_Short)FT_MulDiv( bsize->height, 2, 3 ); in BDF_Face_Init()
534 bsize->y_ppem = FT_ABS( (FT_Short)prop->value.l ) << 6; in BDF_Face_Init()
555 resolution_x = FT_ABS( (FT_Short)value ); in BDF_Face_Init()
576 resolution_y = FT_ABS( (FT_Short)value ); in BDF_Face_Init()
/external/freetype/src/sfnt/
Dttmtx.c232 FT_Short *abearing, in tt_face_get_metrics()
331 *abearing = (FT_Short)b; in tt_face_get_metrics()

123