Home
last modified time | relevance | path

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

12

/external/harfbuzz_ng/src/
Dhb-ot-font.cc49 unsigned short ascender; member
77 this->ascender = os2->sTypoAscender; in init()
80 got_font_extents = (this->ascender | this->descender) != 0; in init()
90 this->ascender = _hea->ascender; in init()
93 got_font_extents = (this->ascender | this->descender) != 0; in init()
453 ot_font->h_metrics.ascender - ot_font->h_metrics.descender); /* TODO Can we do this lazily? */ in _hb_ot_font_create()
543 metrics->ascender = font->em_scale_y (ot_font->h_metrics.ascender); in hb_ot_get_font_h_extents()
557 metrics->ascender = font->em_scale_x (ot_font->v_metrics.ascender); in hb_ot_get_font_v_extents()
Dhb-font-private.hh309 extents->ascender = y_scale * .8; in get_h_extents_with_fallback()
310 extents->descender = extents->ascender - y_scale; in get_h_extents_with_fallback()
318 extents->ascender = x_scale / 2; in get_v_extents_with_fallback()
319 extents->descender = extents->ascender - x_scale; in get_v_extents_with_fallback()
354 *y = extents.ascender; in guess_v_origin_minus_h_origin()
Dhb-ft.cc413 metrics->ascender = ft_face->size->metrics.ascender; in hb_ft_get_font_h_extents()
415 …metrics->line_gap = ft_face->size->metrics.height - (ft_face->size->metrics.ascender - ft_face->si… in hb_ft_get_font_h_extents()
418 metrics->ascender = -metrics->ascender; in hb_ft_get_font_h_extents()
Dhb-ot-hhea-table.hh60 FWORD ascender; /* Typographic ascent. */ member
Dhb-font.cc55 metrics->ascender = font->parent_scale_y_distance (metrics->ascender); in hb_font_get_font_h_extents_parent()
79 metrics->ascender = font->parent_scale_x_distance (metrics->ascender); in hb_font_get_font_v_extents_parent()
/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/pdfium/third_party/freetype/src/cid/
Dcidobjs.c435 cidface->ascender = (FT_Short)( cidface->bbox.yMax ); in cid_face_init()
439 if ( cidface->height < cidface->ascender - cidface->descender ) in cid_face_init()
440 cidface->height = (FT_Short)( cidface->ascender - cidface->descender ); in cid_face_init()
/external/freetype/src/cff/
Dcf2blues.c126 &ascender, in cf2_blues_init()
129 if ( ascender - descender == unitsPerEm ) in cf2_blues_init()
132 emBoxTop = cf2_intToFixed( ascender ); in cf2_blues_init()
Dcffobjs.c876 cffface->ascender = (FT_Short)( cffface->bbox.yMax ); in cff_face_init()
880 if ( cffface->height < cffface->ascender - cffface->descender ) in cff_face_init()
881 cffface->height = (FT_Short)( cffface->ascender - cffface->descender ); in cff_face_init()
/external/pdfium/third_party/freetype/src/cff/
Dcf2blues.c126 &ascender, in cf2_blues_init()
129 if ( ascender - descender == unitsPerEm ) in cf2_blues_init()
132 emBoxTop = cf2_intToFixed( ascender ); in cf2_blues_init()
Dcffobjs.c760 cffface->ascender = (FT_Short)( cffface->bbox.yMax ); in cff_face_init()
764 if ( cffface->height < cffface->ascender - cffface->descender ) in cff_face_init()
765 cffface->height = (FT_Short)( cffface->ascender - cffface->descender ); in cff_face_init()
/external/pdfium/third_party/freetype/src/type1/
Dt1objs.c469 root->ascender = (FT_Short)( root->bbox.yMax ); in T1_Face_Init()
473 if ( root->height < root->ascender - root->descender ) in T1_Face_Init()
474 root->height = (FT_Short)( root->ascender - root->descender ); in T1_Face_Init()
/external/pdfium/third_party/freetype/src/sfnt/
Dsfobjs.c1457 root->ascender = face->horizontal.Ascender; in sfnt_load_face()
1460 root->height = root->ascender - root->descender + in sfnt_load_face()
1463 if ( !( root->ascender || root->descender ) ) in sfnt_load_face()
1469 root->ascender = face->os2.sTypoAscender; in sfnt_load_face()
1472 root->height = root->ascender - root->descender + in sfnt_load_face()
1477 root->ascender = (FT_Short)face->os2.usWinAscent; in sfnt_load_face()
1480 root->height = root->ascender - root->descender; in sfnt_load_face()
/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/sfnt/
Dttsbit.c320 metrics->ascender = (FT_Char)strike[16] * 64; /* hori.ascender */ in tt_face_load_strike_metrics()
342 if ( metrics->ascender == 0 ) in tt_face_load_strike_metrics()
354 metrics->ascender = max_before_bl * 64; in tt_face_load_strike_metrics()
359 metrics->ascender = metrics->y_ppem * 64; in tt_face_load_strike_metrics()
370 metrics->height = metrics->ascender - metrics->descender; in tt_face_load_strike_metrics()
379 metrics->descender = metrics->ascender - metrics->height; in tt_face_load_strike_metrics()
437 metrics->ascender = in tt_face_load_strike_metrics()
Dsfobjs.c1575 root->ascender = face->horizontal.Ascender; in sfnt_load_face()
1578 root->height = root->ascender - root->descender + in sfnt_load_face()
1581 if ( !( root->ascender || root->descender ) ) in sfnt_load_face()
1587 root->ascender = face->os2.sTypoAscender; in sfnt_load_face()
1590 root->height = root->ascender - root->descender + in sfnt_load_face()
1595 root->ascender = (FT_Short)face->os2.usWinAscent; in sfnt_load_face()
1598 root->height = root->ascender - root->descender; in sfnt_load_face()
/external/skia/src/sfnt/
DSkOTTable_EBLC.h30 SK_OT_CHAR ascender; member
/external/freetype/src/autofit/
Daflatin.h81 FT_Pos ascender; member
Daflatin.c349 FT_Pos ascender; in af_latin_metrics_init_blues() local
407 ascender = 0; in af_latin_metrics_init_blues()
521 ascender = FT_MAX( ascender, best_y + y_offset ); in af_latin_metrics_init_blues()
538 ascender = FT_MAX( ascender, points[pp].y + y_offset ); in af_latin_metrics_init_blues()
943 blue->ascender = ascender; in af_latin_metrics_init_blues()
1210 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/pdfium/third_party/freetype/src/base/
Dftobjs.c2650 metrics->ascender = FT_PIX_CEIL( FT_MulFix( face->ascender, in ft_recompute_scaled_metrics()
2662 metrics->ascender = FT_MulFix( face->ascender, in ft_recompute_scaled_metrics()
2704 metrics->ascender = bsize->y_ppem; in FT_Select_Metrics()
2715 FT_TRACE5(( " ascender: %f\n", metrics->ascender / 64.0 )); in FT_Select_Metrics()
2745 w = h = face->ascender - face->descender; in FT_Request_Metrics()
2755 h = face->ascender - face->descender; in FT_Request_Metrics()
2835 FT_TRACE5(( " ascender: %f\n", metrics->ascender / 64.0 )); in FT_Request_Metrics()
2878 FT_TRACE5(( " ascender: %f\n", metrics->ascender / 64.0 )); in FT_Select_Size()
2932 FT_TRACE5(( " ascender: %f\n", metrics->ascender / 64.0 )); in FT_Request_Size()
/external/pdfium/third_party/freetype/include/freetype/
Dfreetype.h1061 FT_Short ascender; member
1509 FT_Pos ascender; /* ascender in 26.6 frac. pixels */ member
/external/freetype/include/freetype/
Dfreetype.h1077 FT_Short ascender; member
1541 FT_Pos ascender; /* ascender in 26.6 frac. pixels */ member
/external/freetype/src/base/
Dftobjs.c2785 metrics->ascender = FT_PIX_CEIL( FT_MulFix( face->ascender, in ft_recompute_scaled_metrics()
2797 metrics->ascender = FT_MulFix( face->ascender, in ft_recompute_scaled_metrics()
2839 metrics->ascender = bsize->y_ppem; in FT_Select_Metrics()
2850 FT_TRACE5(( " ascender: %f\n", metrics->ascender / 64.0 )); in FT_Select_Metrics()
2880 w = h = face->ascender - face->descender; in FT_Request_Metrics()
2890 h = face->ascender - face->descender; in FT_Request_Metrics()
2970 FT_TRACE5(( " ascender: %f\n", metrics->ascender / 64.0 )); in FT_Request_Metrics()
3013 FT_TRACE5(( " ascender: %f\n", metrics->ascender / 64.0 )); in FT_Select_Size()
3067 FT_TRACE5(( " ascender: %f\n", metrics->ascender / 64.0 )); in FT_Request_Size()

12