Home
last modified time | relevance | path

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

123

/external/harfbuzz_ng/src/
Dhb-ot-font.cc46 unsigned short ascender; member
68 this->ascender = os2->sTypoAscender; in init()
71 got_font_extents = (this->ascender | this->descender) != 0; in init()
81 this->ascender = _hea->ascender; in init()
407 metrics->ascender = font->em_scale_y (ot_font->h_metrics.ascender); in hb_ot_get_font_h_extents()
420 metrics->ascender = font->em_scale_x (ot_font->v_metrics.ascender); in hb_ot_get_font_v_extents()
Dhb-ft.cc388 metrics->ascender = ft_face->size->metrics.ascender; in hb_ft_get_font_h_extents()
390 …metrics->line_gap = ft_face->size->metrics.height - (ft_face->size->metrics.ascender - ft_face->si… in hb_ft_get_font_h_extents()
393 metrics->ascender = -metrics->ascender; in hb_ft_get_font_h_extents()
Dhb-font-private.hh301 extents->ascender = y_scale * .8; in get_extents_for_direction()
302 extents->descender = y_scale - extents->ascender; in get_extents_for_direction()
308 extents->ascender = x_scale / 2; in get_extents_for_direction()
309 extents->descender = x_scale - extents->ascender; in get_extents_for_direction()
Dhb-ot-hhea-table.hh60 FWORD ascender; /* Typographic ascent. */ member
Dhb-font.cc64 metrics->ascender = font->parent_scale_y_distance (metrics->ascender); in hb_font_get_font_h_extents_parent()
88 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/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/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()
/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()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/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()
/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/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/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/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/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/sfnt/
Dsfobjs.c1509 root->ascender = face->horizontal.Ascender; in sfnt_load_face()
1512 root->height = root->ascender - root->descender + in sfnt_load_face()
1515 if ( !( root->ascender || root->descender ) ) in sfnt_load_face()
1521 root->ascender = face->os2.sTypoAscender; in sfnt_load_face()
1524 root->height = root->ascender - root->descender + in sfnt_load_face()
1529 root->ascender = (FT_Short)face->os2.usWinAscent; in sfnt_load_face()
1532 root->height = root->ascender - root->descender; in sfnt_load_face()
Dttsbit.c260 metrics->ascender = (FT_Char)strike[16] * 64; /* hori.ascender */ in tt_face_load_strike_metrics()
282 if ( metrics->ascender == 0 ) in tt_face_load_strike_metrics()
293 metrics->ascender = max_before_bl * 64; in tt_face_load_strike_metrics()
298 metrics->ascender = metrics->y_ppem * 64; in tt_face_load_strike_metrics()
309 metrics->height = metrics->ascender - metrics->descender; in tt_face_load_strike_metrics()
318 metrics->descender = metrics->ascender - metrics->height; in tt_face_load_strike_metrics()
371 metrics->ascender = in tt_face_load_strike_metrics()
/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/freetype/src/sfnt/
Dsfobjs.c1431 root->ascender = face->horizontal.Ascender; in sfnt_load_face()
1434 root->height = root->ascender - root->descender + in sfnt_load_face()
1437 if ( !( root->ascender || root->descender ) ) in sfnt_load_face()
1443 root->ascender = face->os2.sTypoAscender; in sfnt_load_face()
1446 root->height = root->ascender - root->descender + in sfnt_load_face()
1451 root->ascender = (FT_Short)face->os2.usWinAscent; in sfnt_load_face()
1454 root->height = root->ascender - root->descender; in sfnt_load_face()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/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/skia/src/sfnt/
DSkOTTable_EBLC.h31 SK_OT_CHAR ascender; member
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/autofit/
Daflatin.h77 FT_Pos ascender; member
Daflatin.c296 FT_Pos ascender; in af_latin_metrics_init_blues() local
349 ascender = 0; in af_latin_metrics_init_blues()
417 ascender = FT_MAX( ascender, best_y + y_offset ); in af_latin_metrics_init_blues()
434 ascender = FT_MAX( ascender, points[pp].y + y_offset ); in af_latin_metrics_init_blues()
808 blue->ascender = ascender; in af_latin_metrics_init_blues()
1005 max_height = FT_MAX( max_height, Axis->blues[nn].ascender ); in af_latin_metrics_scale_dim()
/external/icu/icu4c/source/samples/layout/
DGnomeFontInstance.cpp76 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()

123