/external/harfbuzz_ng/test/api/ |
D | test-font.c | 466 unsigned int x_ppem, y_ppem; in test_font_properties() local 518 x_ppem = y_ppem = 13; in test_font_properties() 519 hb_font_get_ppem (font, &x_ppem, NULL); in test_font_properties() 520 g_assert_cmpint (x_ppem, ==, 0); in test_font_properties() 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, &x_ppem, &y_ppem); in test_font_properties() 526 g_assert_cmpint (x_ppem, ==, 0); in test_font_properties() 531 x_ppem = y_ppem = 13; in test_font_properties() 532 hb_font_get_ppem (font, &x_ppem, &y_ppem); in test_font_properties() [all …]
|
/external/harfbuzz_ng/src/OT/Layout/GPOS/ |
D | AnchorFormat2.hh | 36 unsigned int x_ppem = font->x_ppem; in get_anchor() local 41 ret = (x_ppem || y_ppem) && in get_anchor() 43 *x = ret && x_ppem ? cx : font->em_fscale_x (xCoordinate); in get_anchor()
|
D | AnchorFormat3.hh | 38 if (font->x_ppem || font->num_coords) in get_anchor()
|
D | ValueFormat.hh | 112 bool use_x_device = font->x_ppem || font->num_coords; in apply_value()
|
/external/pdfium/core/fxge/android/ |
D | cfpf_skiafont.cpp | 97 int32_t x_ppem = GetFaceRec()->size->metrics.x_ppem; in GetGlyphBBox() local 99 rtBBox.left = static_cast<int32_t>(FPF_EM_ADJUST(x_ppem, cbox.xMin)); in GetGlyphBBox() 100 rtBBox.right = static_cast<int32_t>(FPF_EM_ADJUST(x_ppem, cbox.xMax)); in GetGlyphBBox()
|
/external/harfbuzz_ng/util/ |
D | font-options.hh | 63 int x_ppem = 0; member 100 hb_font_set_ppem (font, x_ppem, y_ppem); in post_parse() 236 switch (sscanf (arg, "%d%*[ ,]%d", &font_opts->x_ppem, &font_opts->y_ppem)) { in parse_font_ppem() 237 case 1: font_opts->y_ppem = font_opts->x_ppem; HB_FALLTHROUGH; in parse_font_ppem()
|
/external/freetype/src/truetype/ |
D | ttobjs.c | 925 size_metrics->x_ppem = 0; in tt_size_run_fpgm() 1367 if ( size_metrics->x_ppem < 1 || size_metrics->y_ppem < 1 ) in tt_size_reset_height() 1423 size_metrics->x_scale = FT_DivFix( size_metrics->x_ppem << 6, in tt_size_reset() 1434 if ( size_metrics->x_ppem >= size_metrics->y_ppem ) in tt_size_reset() 1437 size->ttmetrics.ppem = size_metrics->x_ppem; in tt_size_reset() 1440 size_metrics->x_ppem ); in tt_size_reset() 1446 size->ttmetrics.x_ratio = FT_DivFix( size_metrics->x_ppem, in tt_size_reset() 1451 size->widthp = tt_face_get_device_metrics( face, size_metrics->x_ppem, 0 ); in tt_size_reset()
|
D | ttsubpix.c | 908 FT_UInt ppem = loader->size->metrics->x_ppem; in sph_set_tweaks()
|
D | ttdriver.c | 377 ttsize->metrics->x_ppem > ttsize->metrics->y_ppem in tt_size_request()
|
/external/harfbuzz_ng/src/ |
D | hb-font.cc | 1802 font->x_ppem = parent->x_ppem; in hb_font_create_sub_font() 2241 unsigned int x_ppem, in hb_font_set_ppem() argument 2247 if (font->x_ppem == x_ppem && font->y_ppem == y_ppem) in hb_font_set_ppem() 2252 font->x_ppem = x_ppem; in hb_font_set_ppem() 2268 unsigned int *x_ppem, in hb_font_get_ppem() argument 2271 if (x_ppem) *x_ppem = font->x_ppem; in hb_font_get_ppem()
|
D | hb-ft.cc | 153 font->x_ppem * 72 * 64 / font->x_scale, in _hb_ft_hb_font_changed() 161 int x_scale = ft_face->available_sizes[0].x_ppem; in _hb_ft_hb_font_changed() 562 FT_Kerning_Mode mode = font->x_ppem ? FT_KERNING_DEFAULT : FT_KERNING_UNFITTED; in hb_ft_get_glyph_h_kerning() 1092 ft_face->size->metrics.x_ppem, in hb_ft_font_changed()
|
D | hb-font.h | 1054 unsigned int x_ppem, 1059 unsigned int *x_ppem,
|
D | hb-ot-color-sbix-table.hh | 242 unsigned int requested_ppem = hb_max (font->x_ppem, font->y_ppem); in choose_strike()
|
/external/freetype/src/autofit/ |
D | afloader.c | 104 FT_Bool size_changed = size_metrics->x_ppem != in af_loader_embolden_glyph_in_slot() 151 globals->stem_darkening_for_ppem = size_metrics->x_ppem; in af_loader_embolden_glyph_in_slot() 169 globals->stem_darkening_for_ppem = size_metrics->x_ppem; in af_loader_embolden_glyph_in_slot() 262 size_metrics->x_scale = FT_DivFix( size_metrics->x_ppem << 6, in af_loader_load_glyph() 600 af_intToFixed( face->size->metrics.x_ppem ) ); in af_loader_compute_darkening()
|
/external/freetype/src/sfnt/ |
D | ttsbit.c | 315 metrics->x_ppem = (FT_UShort)strike[44]; in tt_face_load_strike_metrics() 347 metrics->x_ppem, metrics->y_ppem )); in tt_face_load_strike_metrics() 375 metrics->x_ppem, metrics->y_ppem )); in tt_face_load_strike_metrics() 388 metrics->x_scale = FT_DivFix( metrics->x_ppem * 64, in tt_face_load_strike_metrics() 425 metrics->x_ppem = ppem; in tt_face_load_strike_metrics() 1576 face->root.size->metrics.x_ppem / in tt_face_load_sbix_image() 1589 face->root.size->metrics.x_ppem / in tt_face_load_sbix_image()
|
D | sfobjs.c | 1264 ( avgwidth * metrics.x_ppem + em_size / 2 ) / em_size ); in sfnt_load_face() 1266 bsize->x_ppem = metrics.x_ppem << 6; in sfnt_load_face() 1273 if ( bsize->x_ppem && bsize->y_ppem ) in sfnt_load_face()
|
/external/freetype/include/freetype/internal/ |
D | tttypes.h | 688 FT_Byte x_ppem; member 757 FT_Byte x_ppem; member
|
/external/freetype/src/pfr/ |
D | pfrdrivr.c | 121 x_scale = FT_DivFix( size->metrics.x_ppem << 6, in pfr_get_metrics()
|
D | pfrsbit.c | 610 if ( strike->x_ppm == (FT_UInt)size->root.metrics.x_ppem && in pfr_slot_load_bitmap() 677 advance = FT_MulDiv( (FT_Fixed)size->root.metrics.x_ppem << 8, in pfr_slot_load_bitmap()
|
D | pfrobjs.c | 230 size->x_ppem = (FT_Pos)( strike->x_ppm << 6 ); in pfr_face_init()
|
/external/freetype/src/base/ |
D | ftobjs.c | 925 if ( face->size->metrics.x_ppem == 0 || in FT_Load_Glyph() 2768 if ( bsize->x_ppem < 0 ) in ft_open_face_internal() 2769 bsize->x_ppem = -bsize->x_ppem; in ft_open_face_internal() 2774 if ( bsize->height < 0 || bsize->x_ppem < 0 || bsize->y_ppem < 0 ) in ft_open_face_internal() 2782 bsize->x_ppem = 0; in ft_open_face_internal() 3121 if ( w == FT_PIX_ROUND( bsize->x_ppem ) || ignore_width ) in FT_Match_Size() 3211 metrics->x_ppem = (FT_UShort)( ( bsize->x_ppem + 32 ) >> 6 ); in FT_Select_Metrics() 3216 metrics->x_scale = FT_DivFix( bsize->x_ppem, in FT_Select_Metrics() 3230 metrics->max_advance = bsize->x_ppem; in FT_Select_Metrics() 3356 metrics->x_ppem = (FT_UShort)scaled_w; in FT_Request_Metrics() [all …]
|
/external/freetype/include/freetype/ |
D | freetype.h | 398 FT_Pos x_ppem; member 1775 FT_UShort x_ppem; /* horizontal pixels per EM */ member
|
/external/freetype/src/winfonts/ |
D | winfnt.c | 849 bsize->x_ppem = FT_MulDiv( bsize->size, x_res, 72 ); in FNT_Face_Init() 850 bsize->x_ppem = FT_PIX_ROUND( bsize->x_ppem ); in FNT_Face_Init()
|
/external/freetype/src/bdf/ |
D | bdfdrivr.c | 588 bsize->x_ppem = FT_MulDiv( bsize->y_ppem, in BDF_Face_Init() 592 bsize->x_ppem = bsize->y_ppem; in BDF_Face_Init()
|
/external/skia/src/ports/ |
D | SkFontHost_FreeType.cpp | 993 SkScalar x_ppem = upem * SkFT_FixedToScalar(ftmetrics.x_scale) / 64.0f; in SkScalerContext_FreeType() local 995 fMatrix22Scalar.preScale(fScale.x() / x_ppem, fScale.y() / y_ppem); in SkScalerContext_FreeType() 1023 fMatrix22Scalar.preScale(fScale.x() / fFaceRec->fFace->size->metrics.x_ppem, in SkScalerContext_FreeType() 1619 SkScalar xppem = SkIntToScalar(face->size->metrics.x_ppem); in generateFontMetrics()
|