Home
last modified time | relevance | path

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

123

/external/harfbuzz_ng/src/
Dhb-ot-hmtx-table.hh197 ascender = abs (face->table.OS2->sTypoAscender); in init()
200 got_font_extents = (ascender | descender) != 0; in init()
208 ascender = abs (_hea_table->ascender); in init()
211 got_font_extents = (ascender | descender) != 0; in init()
285 int ascender; member
Dhb-ot-font.cc170 *y = font_extents.ascender; in hb_ot_get_glyph_v_origin()
230 metrics->ascender = font->em_scale_y (hmtx.ascender); in hb_ot_get_font_h_extents()
245 metrics->ascender = font->em_scale_x (vmtx.ascender); in hb_ot_get_font_v_extents()
Dhb-font.hh368 extents->ascender = y_scale * .8; in get_h_extents_with_fallback()
369 extents->descender = extents->ascender - y_scale; in get_h_extents_with_fallback()
377 extents->ascender = x_scale / 2; in get_v_extents_with_fallback()
378 extents->descender = extents->ascender - x_scale; in get_v_extents_with_fallback()
423 *y = extents.ascender; in guess_v_origin_minus_h_origin()
Dhb-ft.cc469 metrics->ascender = FT_MulFix(ft_face->ascender, ft_face->size->metrics.y_scale); in hb_ft_get_font_h_extents()
471 …T_MulFix( ft_face->height, ft_face->size->metrics.y_scale ) - (metrics->ascender - metrics->descen… in hb_ft_get_font_h_extents()
474 metrics->ascender = -metrics->ascender; in hb_ft_get_font_h_extents()
Dhb-ot-hhea-table.hh56 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/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/pdfium/core/fxge/
Dcfx_font.cpp334 int ascender = FXFT_Get_Face_Ascender(m_Face); in GetAscent() local
335 if (ascender < kThousandthMinInt || ascender > kThousandthMaxInt) in GetAscent()
338 return EM_ADJUST(FXFT_Get_Face_UnitsPerEM(m_Face), ascender); in GetAscent()
/external/freetype/src/sfnt/
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()
Dsfobjs.c1672 root->ascender = face->horizontal.Ascender; in sfnt_load_face()
1675 root->height = root->ascender - root->descender + in sfnt_load_face()
1678 if ( !( root->ascender || root->descender ) ) in sfnt_load_face()
1684 root->ascender = face->os2.sTypoAscender; in sfnt_load_face()
1687 root->height = root->ascender - root->descender + in sfnt_load_face()
1692 root->ascender = (FT_Short)face->os2.usWinAscent; in sfnt_load_face()
1695 root->height = root->ascender - root->descender; in sfnt_load_face()
/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/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.c363 FT_Pos ascender; in af_latin_metrics_init_blues() local
421 ascender = 0; in af_latin_metrics_init_blues()
535 ascender = FT_MAX( ascender, best_y + y_offset ); in af_latin_metrics_init_blues()
552 ascender = FT_MAX( ascender, points[pp].y + y_offset ); in af_latin_metrics_init_blues()
957 blue->ascender = ascender; in af_latin_metrics_init_blues()
1234 max_height = FT_MAX( max_height, Axis->blues[nn].ascender ); in af_latin_metrics_scale_dim()
Dafloader.c258 size_metrics->ascender = FT_PIX_ROUND( in af_loader_load_glyph()
259 FT_MulFix( face->ascender, in af_loader_load_glyph()
/external/icu/icu4c/source/samples/layout/
DGnomeFontInstance.cpp82 fAscent = (le_int32) (yUnitsToPoints(fFace->ascender) * fDeviceScaleY); in GnomeFontInstance()
/external/freetype/include/freetype/
Dfreetype.h1122 FT_Short ascender; member
1681 FT_Pos ascender; /* ascender in 26.6 frac. pixels */ member
/external/freetype/src/type42/
Dt42objs.c319 root->ascender = face->ttf_face->ascender; in T42_Face_Init()
/external/freetype/src/cff/
Dcffobjs.c865 cffface->ascender = (FT_Short)( cffface->bbox.yMax ); in cff_face_init()
869 if ( cffface->height < cffface->ascender - cffface->descender ) in cff_face_init()
870 cffface->height = (FT_Short)( cffface->ascender - in cff_face_init()

123