Home
last modified time | relevance | path

Searched refs:ascender (Results 1 – 25 of 58) sorted by relevance

123

/external/harfbuzz_ng/src/
Dhb-ot-metrics.cc73 GET_METRIC_Y (hhea, ascender); in _hb_ot_metrics_get_position_common()
80 case HB_OT_METRICS_TAG_VERTICAL_ASCENDER: return GET_METRIC_X (vhea, ascender); in _hb_ot_metrics_get_position_common()
172 case _HB_OT_METRICS_TAG_HORIZONTAL_ASCENDER_HHEA: return GET_METRIC_Y (hhea, ascender); in hb_ot_metrics_get_position()
Dhb-ot-font.cc173 *y = font_extents.ascender; in hb_ot_get_glyph_v_origin()
233 …ot_metrics_get_position_common (font, HB_OT_METRICS_TAG_HORIZONTAL_ASCENDER, &metrics->ascender) && in hb_ot_get_font_h_extents()
244 …b_ot_metrics_get_position_common (font, HB_OT_METRICS_TAG_VERTICAL_ASCENDER, &metrics->ascender) && in hb_ot_get_font_v_extents()
Dhb-font.hh378 extents->ascender = y_scale * .8; in get_h_extents_with_fallback()
379 extents->descender = extents->ascender - y_scale; in get_h_extents_with_fallback()
387 extents->ascender = x_scale / 2; in get_v_extents_with_fallback()
388 extents->descender = extents->ascender - x_scale; in get_v_extents_with_fallback()
433 *y = extents.ascender; in guess_v_origin_minus_h_origin()
Dhb-ft.cc490 metrics->ascender = FT_MulFix(ft_face->ascender, ft_face->size->metrics.y_scale); in hb_ft_get_font_h_extents()
492 …T_MulFix( ft_face->height, ft_face->size->metrics.y_scale ) - (metrics->ascender - metrics->descen… in hb_ft_get_font_h_extents()
495 metrics->ascender = -metrics->ascender; in hb_ft_get_font_h_extents()
Dhb-ot-hhea-table.hh58 FWORD ascender; /* Typographic ascent. */ member
Dhb-font.cc71 extents->ascender = font->parent_scale_y_distance (extents->ascender); in hb_font_get_font_h_extents_default()
95 extents->ascender = font->parent_scale_x_distance (extents->ascender); in hb_font_get_font_v_extents_default()
/external/freetype/src/sfnt/
Dsfobjs.c1285 root->ascender = face->os2.sTypoAscender; in sfnt_load_face()
1287 root->height = root->ascender - root->descender + in sfnt_load_face()
1292 root->ascender = face->horizontal.Ascender; in sfnt_load_face()
1294 root->height = root->ascender - root->descender + in sfnt_load_face()
1297 if ( !( root->ascender || root->descender ) ) in sfnt_load_face()
1303 root->ascender = face->os2.sTypoAscender; in sfnt_load_face()
1305 root->height = root->ascender - root->descender + in sfnt_load_face()
1310 root->ascender = (FT_Short)face->os2.usWinAscent; in sfnt_load_face()
1312 root->height = root->ascender - root->descender; in sfnt_load_face()
Dttsbit.c324 metrics->ascender = (FT_Char)strike[16] * 64; /* hori.ascender */ in tt_face_load_strike_metrics()
346 if ( metrics->ascender == 0 ) in tt_face_load_strike_metrics()
358 metrics->ascender = max_before_bl * 64; in tt_face_load_strike_metrics()
363 metrics->ascender = metrics->y_ppem * 64; in tt_face_load_strike_metrics()
374 metrics->height = metrics->ascender - metrics->descender; in tt_face_load_strike_metrics()
383 metrics->descender = metrics->ascender - metrics->height; in tt_face_load_strike_metrics()
441 metrics->ascender = in tt_face_load_strike_metrics()
/external/harfbuzz_ng/util/
Dview-cairo.cc46 double ascent = y_sign * scalbn ((double) extents.ascender, scale_bits); in render()
48 …double font_height = y_sign * scalbn ((double) extents.ascender - extents.descender + extents.line… in render()
/external/freetype/src/cid/
Dcidobjs.c442 cidface->ascender = (FT_Short)( cidface->bbox.yMax ); in cid_face_init()
446 if ( cidface->height < cidface->ascender - cidface->descender ) in cid_face_init()
447 cidface->height = (FT_Short)( cidface->ascender - cidface->descender ); in cid_face_init()
/external/freetype/src/psaux/
Dpsblues.c126 &ascender, in cf2_blues_init()
129 if ( ascender - descender == unitsPerEm ) in cf2_blues_init()
132 emBoxTop = cf2_intToFixed( ascender ); in cf2_blues_init()
/external/sfntly/cpp/src/sfntly/table/core/
Dhorizontal_header_table.cc121 void HorizontalHeaderTable::Builder::SetAscender(int32_t ascender) { in SetAscender() argument
122 InternalWriteData()->WriteShort(Offset::kVersion, ascender); in SetAscender()
Dhorizontal_header_table.h45 void SetAscender(int32_t ascender);
/external/freetype/src/type1/
Dt1objs.c480 root->ascender = (FT_Short)( root->bbox.yMax ); in T1_Face_Init()
484 if ( root->height < root->ascender - root->descender ) in T1_Face_Init()
485 root->height = (FT_Short)( root->ascender - root->descender ); in T1_Face_Init()
/external/freetype/src/pfr/
Dpfrobjs.c201 pfrface->ascender = (FT_Short) phy_font->bbox.yMax; in pfr_face_init()
205 if ( pfrface->height < pfrface->ascender - pfrface->descender ) in pfr_face_init()
206 pfrface->height = (FT_Short)(pfrface->ascender - pfrface->descender); in pfr_face_init()
/external/pdfium/core/fxge/
Dcfx_font.cpp401 int ascender = FXFT_Get_Face_Ascender(m_Face->GetRec()); in GetAscent() local
402 if (ascender < kThousandthMinInt || ascender > kThousandthMaxInt) in GetAscent()
405 return EM_ADJUST(FXFT_Get_Face_UnitsPerEM(m_Face->GetRec()), ascender); in GetAscent()
Dfx_freetype.h84 #define FXFT_Get_Face_Ascender(face) (face)->ascender
/external/skqp/src/sfnt/
DSkOTTable_EBLC.h30 SK_OT_CHAR ascender; member
/external/skia/src/sfnt/
DSkOTTable_EBLC.h30 SK_OT_CHAR ascender; member
/external/freetype/src/autofit/
Daflatin.h81 FT_Pos ascender; member
Daflatin.c367 FT_Pos ascender; in af_latin_metrics_init_blues() local
425 ascender = 0; in af_latin_metrics_init_blues()
539 ascender = FT_MAX( ascender, best_y + y_offset ); in af_latin_metrics_init_blues()
556 ascender = FT_MAX( ascender, points[pp].y + y_offset ); in af_latin_metrics_init_blues()
961 blue->ascender = ascender; in af_latin_metrics_init_blues()
1270 max_height = FT_MAX( max_height, Axis->blues[nn].ascender ); in af_latin_metrics_scale_dim()
/external/icu/icu4c/source/samples/layout/
DGnomeFontInstance.cpp82 fAscent = (le_int32) (yUnitsToPoints(fFace->ascender) * fDeviceScaleY); in GnomeFontInstance()
/external/freetype/include/freetype/
Dfreetype.h1068 FT_Short ascender; member
1616 FT_Pos ascender; /* ascender in 26.6 frac. pixels */ member
/external/angle/src/libANGLE/
Dgen_overlay_fonts.py178 glyph_ascender = face.size.ascender >> 6
/external/freetype/src/type42/
Dt42objs.c318 root->ascender = face->ttf_face->ascender; in T42_Face_Init()

123