Home
last modified time | relevance | path

Searched refs:y_ppem (Results 1 – 25 of 44) sorted by relevance

12

/external/harfbuzz_ng/test/api/
Dtest-font.c469 unsigned int x_ppem, y_ppem; in test_font_properties() local
521 x_ppem = y_ppem = 13; in test_font_properties()
524 x_ppem = y_ppem = 13; in test_font_properties()
525 hb_font_get_ppem (font, NULL, &y_ppem); in test_font_properties()
526 g_assert_cmpint (y_ppem, ==, 0); in test_font_properties()
527 x_ppem = y_ppem = 13; in test_font_properties()
528 hb_font_get_ppem (font, &x_ppem, &y_ppem); in test_font_properties()
530 g_assert_cmpint (y_ppem, ==, 0); in test_font_properties()
534 x_ppem = y_ppem = 13; in test_font_properties()
535 hb_font_get_ppem (font, &x_ppem, &y_ppem); in test_font_properties()
[all …]
/external/pdfium/core/fxge/android/
Dcfpf_skiafont.cpp109 int32_t y_ppem = m_Face->size->metrics.y_ppem; in GetGlyphBBox() local
112 rtBBox.top = FPF_EM_ADJUST(y_ppem, cbox.yMax); in GetGlyphBBox()
113 rtBBox.bottom = FPF_EM_ADJUST(y_ppem, cbox.yMin); in GetGlyphBBox()
/external/freetype/src/bdf/
Dbdfdrivr.c529 bsize->y_ppem = 0x7FFF << 6; in BDF_Face_Init()
531 bsize->y_ppem )); in BDF_Face_Init()
534 bsize->y_ppem = FT_ABS( (FT_Short)prop->value.l ) << 6; in BDF_Face_Init()
579 if ( bsize->y_ppem == 0 ) in BDF_Face_Init()
581 bsize->y_ppem = bsize->size; in BDF_Face_Init()
583 bsize->y_ppem = FT_MulDiv( bsize->y_ppem, resolution_y, 72 ); in BDF_Face_Init()
586 bsize->x_ppem = FT_MulDiv( bsize->y_ppem, in BDF_Face_Init()
590 bsize->x_ppem = bsize->y_ppem; in BDF_Face_Init()
751 if ( height == ( ( bsize->y_ppem + 32 ) >> 6 ) ) in BDF_Size_Request()
/external/freetype/src/truetype/
Dttobjs.c872 size_metrics->y_ppem = 0; in tt_size_run_fpgm()
1308 if ( size_metrics->x_ppem < 1 || size_metrics->y_ppem < 1 ) in tt_size_reset()
1344 size_metrics->y_scale = FT_DivFix( size_metrics->y_ppem << 6, in tt_size_reset()
1353 if ( size_metrics->x_ppem >= size_metrics->y_ppem ) in tt_size_reset()
1358 size->ttmetrics.y_ratio = FT_DivFix( size_metrics->y_ppem, in tt_size_reset()
1364 size->ttmetrics.ppem = size_metrics->y_ppem; in tt_size_reset()
1366 size_metrics->y_ppem ); in tt_size_reset()
Dttdriver.c369 ttsize->metrics->x_ppem > ttsize->metrics->y_ppem in tt_size_request()
/external/harfbuzz_ng/src/
Dhb-font.cc1382 font->y_ppem = parent->y_ppem; in hb_font_create_sub_font()
1744 unsigned int y_ppem) in hb_font_set_ppem() argument
1750 font->y_ppem = y_ppem; in hb_font_set_ppem()
1766 unsigned int *y_ppem) in hb_font_get_ppem() argument
1769 if (y_ppem) *y_ppem = font->y_ppem; in hb_font_get_ppem()
Dhb-font.h641 unsigned int y_ppem);
646 unsigned int *y_ppem);
Dhb-ot-layout-gpos-table.hh131 bool use_y_device = font->y_ppem || font->num_coords; in apply_value()
271 unsigned int y_ppem = font->y_ppem; in get_anchor() local
275 ret = (x_ppem || y_ppem) && in get_anchor()
278 *y = ret && y_ppem ? cy : font->em_fscale_y (yCoordinate); in get_anchor()
307 if (font->y_ppem || font->num_coords) in get_anchor()
Dhb-ot-color-sbix-table.hh178 unsigned int requested_ppem = MAX (font->x_ppem, font->y_ppem); in choose_strike()
Dhb-ft.cc693 ft_face->size->metrics.y_ppem); in hb_ft_font_changed()
826 font->y_ppem * 72 * 64 / font->y_scale); in hb_ft_font_set_funcs()
Dhb-uniscribe.cc534 if (font->y_ppem) in _hb_uniscribe_shaper_font_data_create()
535 font_size = font->y_ppem; in _hb_uniscribe_shaper_font_data_create()
/external/freetype/src/pcf/
Dpcfread.c1634 bsize->y_ppem = 0x7FFF << 6; in pcf_load_font()
1636 bsize->y_ppem )); in pcf_load_font()
1639 bsize->y_ppem = FT_ABS( (FT_Short)prop->value.l ) << 6; in pcf_load_font()
1676 if ( bsize->y_ppem == 0 ) in pcf_load_font()
1678 bsize->y_ppem = bsize->size; in pcf_load_font()
1680 bsize->y_ppem = FT_MulDiv( bsize->y_ppem, resolution_y, 72 ); in pcf_load_font()
1683 bsize->x_ppem = FT_MulDiv( bsize->y_ppem, in pcf_load_font()
1687 bsize->x_ppem = bsize->y_ppem; in pcf_load_font()
/external/freetype/src/winfonts/
Dwinfnt.c816 bsize->y_ppem = FT_MulDiv( bsize->size, y_res, 72 ); in FNT_Face_Init()
817 bsize->y_ppem = FT_PIX_ROUND( bsize->y_ppem ); in FNT_Face_Init()
827 if ( bsize->y_ppem > ( font->header.pixel_height << 6 ) ) in FNT_Face_Init()
831 bsize->y_ppem = font->header.pixel_height << 6; in FNT_Face_Init()
832 bsize->size = FT_MulDiv( bsize->y_ppem, 72, y_res ); in FNT_Face_Init()
963 if ( height == ( ( bsize->y_ppem + 32 ) >> 6 ) ) in FNT_Size_Request()
/external/freetype/src/sfnt/
Dttsbit.c322 metrics->y_ppem = (FT_UShort)strike[45]; in tt_face_load_strike_metrics()
353 metrics->x_ppem, metrics->y_ppem )); in tt_face_load_strike_metrics()
363 metrics->ascender = metrics->y_ppem * 64; in tt_face_load_strike_metrics()
381 metrics->x_ppem, metrics->y_ppem )); in tt_face_load_strike_metrics()
382 metrics->height = metrics->y_ppem * 64; in tt_face_load_strike_metrics()
397 metrics->y_scale = FT_MulDiv( metrics->y_ppem, in tt_face_load_strike_metrics()
437 metrics->y_ppem = ppem; in tt_face_load_strike_metrics()
456 metrics->y_scale = FT_MulDiv( metrics->y_ppem, in tt_face_load_strike_metrics()
Dttbdf.c181 if ( _ppem == size->metrics.y_ppem ) in tt_face_find_bdf_prop()
Dsfobjs.c1595 bsize->y_ppem = metrics.y_ppem << 6; in sfnt_load_face()
1598 bsize->size = metrics.y_ppem << 6; in sfnt_load_face()
1601 if ( bsize->x_ppem && bsize->y_ppem ) in sfnt_load_face()
/external/freetype/include/freetype/internal/
Dtttypes.h780 FT_Byte y_ppem; member
849 FT_Byte y_ppem; member
/external/freetype/src/base/
Dftobjs.c2577 if ( bsize->y_ppem < 0 ) in ft_open_face_internal()
2578 bsize->y_ppem = -bsize->y_ppem; in ft_open_face_internal()
2581 if ( bsize->height < 0 || bsize->x_ppem < 0 || bsize->y_ppem < 0 ) in ft_open_face_internal()
2590 bsize->y_ppem = 0; in ft_open_face_internal()
2923 if ( h != FT_PIX_ROUND( bsize->y_ppem ) ) in FT_Match_Size()
3017 metrics->y_ppem = (FT_UShort)( ( bsize->y_ppem + 32 ) >> 6 ); in FT_Select_Metrics()
3023 metrics->y_scale = FT_DivFix( bsize->y_ppem, in FT_Select_Metrics()
3032 metrics->ascender = bsize->y_ppem; in FT_Select_Metrics()
3135 metrics->y_ppem = (FT_UShort)( ( scaled_h + 32 ) >> 6 ); in FT_Request_Metrics()
3194 FT_TRACE5(( " y ppem: %d\n", metrics->y_ppem )); in FT_Select_Size()
[all …]
/external/freetype/src/pfr/
Dpfrdrivr.c125 y_scale = FT_DivFix( size->metrics.y_ppem << 6, in pfr_get_metrics()
Dpfrobjs.c227 size->y_ppem = (FT_Pos)( strike->y_ppm << 6 ); in pfr_face_init()
381 if ( size && pfrsize->metrics.y_ppem < 24 ) in pfr_slot_load()
/external/harfbuzz_ng/util/
Doptions.cc508 switch (sscanf (arg, "%d%*[ ,]%d", &font_opts->x_ppem, &font_opts->y_ppem)) { in parse_font_ppem()
509 case 1: font_opts->y_ppem = font_opts->x_ppem; HB_FALLTHROUGH; in parse_font_ppem()
679 hb_font_set_ppem (font, x_ppem, y_ppem); in get_font()
Doptions.hh456 y_ppem = 0; in font_options_t()
489 int y_ppem; member
/external/freetype/include/freetype/
Dfreetype.h384 FT_Pos y_ppem; member
1676 FT_UShort y_ppem; /* vertical pixels per EM */ member
/external/skqp/src/ports/
DSkFontHost_FreeType.cpp800 FT_Pos strikePPEM = face->available_sizes[strikeIndex].y_ppem; in chooseBitmapStrike()
949 SkScalar y_ppem = upem * SkFT_FixedToScalar(ftmetrics.y_scale) / 64.0f; in SkScalerContext_FreeType() local
950 fMatrix22Scalar.preScale(fScale.x() / x_ppem, fScale.y() / y_ppem); in SkScalerContext_FreeType()
972 fScale.y() / fFaceRec->fFace->size->metrics.y_ppem); in SkScalerContext_FreeType()
1454 SkScalar yppem = SkIntToScalar(face->size->metrics.y_ppem); in generateFontMetrics()
/external/skia/src/ports/
DSkFontHost_FreeType.cpp800 FT_Pos strikePPEM = face->available_sizes[strikeIndex].y_ppem; in chooseBitmapStrike()
949 SkScalar y_ppem = upem * SkFT_FixedToScalar(ftmetrics.y_scale) / 64.0f; in SkScalerContext_FreeType() local
950 fMatrix22Scalar.preScale(fScale.x() / x_ppem, fScale.y() / y_ppem); in SkScalerContext_FreeType()
972 fScale.y() / fFaceRec->fFace->size->metrics.y_ppem); in SkScalerContext_FreeType()
1454 SkScalar yppem = SkIntToScalar(face->size->metrics.y_ppem); in generateFontMetrics()

12