/external/harfbuzz_ng/test/api/ |
D | test-font.c | 378 unsigned int x_ppem, y_ppem; in test_font_properties() local 430 x_ppem = y_ppem = 13; in test_font_properties() 431 hb_font_get_ppem (font, &x_ppem, NULL); in test_font_properties() 432 g_assert_cmpint (x_ppem, ==, 0); in test_font_properties() 433 x_ppem = y_ppem = 13; in test_font_properties() 436 x_ppem = y_ppem = 13; in test_font_properties() 437 hb_font_get_ppem (font, &x_ppem, &y_ppem); in test_font_properties() 438 g_assert_cmpint (x_ppem, ==, 0); in test_font_properties() 443 x_ppem = y_ppem = 13; in test_font_properties() 444 hb_font_get_ppem (font, &x_ppem, &y_ppem); in test_font_properties() [all …]
|
/external/pdfium/core/fxge/android/ |
D | cfpf_skiafont.cpp | 108 int32_t x_ppem = m_Face->size->metrics.x_ppem; in GetGlyphBBox() local 110 rtBBox.left = FPF_EM_ADJUST(x_ppem, cbox.xMin); in GetGlyphBBox() 111 rtBBox.right = FPF_EM_ADJUST(x_ppem, cbox.xMax); in GetGlyphBBox()
|
/external/harfbuzz_ng/src/ |
D | hb-font.cc | 1158 font->x_ppem = parent->x_ppem; in hb_font_create_sub_font() 1510 unsigned int x_ppem, in hb_font_set_ppem() argument 1516 font->x_ppem = x_ppem; in hb_font_set_ppem() 1532 unsigned int *x_ppem, in hb_font_get_ppem() argument 1535 if (x_ppem) *x_ppem = font->x_ppem; in hb_font_get_ppem()
|
D | hb-ot-font.cc | 255 unsigned int x_ppem = upem, y_ppem = upem; /* TODO Use font ppem if available. */ in get_extents() local 260 … const OT::IndexSubtableRecord *subtable_record = this->cblc->find_table(glyph, &x_ppem, &y_ppem); in get_extents() 295 extents->x_bearing *= upem / (float) x_ppem; in get_extents() 297 extents->width *= upem / (float) x_ppem; in get_extents()
|
D | hb-ot-cbdt-table.hh | 330 unsigned int *x_ppem, unsigned int *y_ppem) const in find_table() 341 *x_ppem = sizeTables[i].ppemX; in find_table()
|
D | hb-ft.cc | 292 FT_Kerning_Mode mode = font->x_ppem ? FT_KERNING_DEFAULT : FT_KERNING_UNFITTED; in hb_ft_get_glyph_h_kerning() 616 ft_face->size->metrics.x_ppem, in hb_ft_font_create() 734 font->x_ppem * 72 * 64 / font->x_scale, in hb_ft_font_set_funcs()
|
D | hb-font.h | 598 unsigned int x_ppem, 603 unsigned int *x_ppem,
|
D | hb-ot-layout-gpos-table.hh | 131 bool use_x_device = font->x_ppem || font->num_coords; in apply_value() 263 unsigned int x_ppem = font->x_ppem; in get_anchor() local 268 ret = (x_ppem || y_ppem) && in get_anchor() 270 *x = ret && x_ppem ? cx : font->em_scale_x (xCoordinate); in get_anchor() 298 if (font->x_ppem || font->num_coords) in get_anchor()
|
D | hb-font-private.hh | 108 unsigned int x_ppem; member
|
/external/pdfium/third_party/freetype/src/truetype/ |
D | ttobjs.c | 826 metrics->x_ppem = 0; in tt_size_run_fpgm() 1228 if ( metrics->x_ppem < 1 || metrics->y_ppem < 1 ) in tt_size_reset() 1237 metrics->x_scale = FT_DivFix( metrics->x_ppem << 6, in tt_size_reset() 1254 if ( metrics->x_ppem >= metrics->y_ppem ) in tt_size_reset() 1257 size->ttmetrics.ppem = metrics->x_ppem; in tt_size_reset() 1260 metrics->x_ppem ); in tt_size_reset() 1266 size->ttmetrics.x_ratio = FT_DivFix( metrics->x_ppem, in tt_size_reset()
|
D | ttsubpix.c | 908 FT_UInt ppem = loader->size->metrics.x_ppem; in sph_set_tweaks()
|
/external/freetype/src/truetype/ |
D | ttobjs.c | 799 metrics->x_ppem = 0; in tt_size_run_fpgm() 1228 if ( metrics->x_ppem < 1 || metrics->y_ppem < 1 ) in tt_size_reset() 1252 metrics->x_scale = FT_DivFix( metrics->x_ppem << 6, in tt_size_reset() 1263 if ( metrics->x_ppem >= metrics->y_ppem ) in tt_size_reset() 1266 size->ttmetrics.ppem = metrics->x_ppem; in tt_size_reset() 1269 metrics->x_ppem ); in tt_size_reset() 1275 size->ttmetrics.x_ratio = FT_DivFix( metrics->x_ppem, in tt_size_reset()
|
D | ttsubpix.c | 908 FT_UInt ppem = loader->size->metrics.x_ppem; in sph_set_tweaks()
|
D | ttdriver.c | 363 FT_UInt resolution = ttsize->metrics.x_ppem > ttsize->metrics.y_ppem in tt_size_request()
|
/external/freetype/src/autofit/ |
D | afloader.c | 103 FT_Bool size_changed = face->size->metrics.x_ppem in af_loader_embolden_glyph_in_slot() 152 globals->stem_darkening_for_ppem = face->size->metrics.x_ppem; in af_loader_embolden_glyph_in_slot() 171 globals->stem_darkening_for_ppem = face->size->metrics.x_ppem; in af_loader_embolden_glyph_in_slot() 563 af_intToFixed( face->size->metrics.x_ppem ) ); in af_loader_compute_darkening()
|
/external/freetype/src/base/ |
D | ftobjs.c | 2393 if ( bsize->x_ppem < 0 ) in ft_open_face_internal() 2394 bsize->x_ppem = -bsize->x_ppem; in ft_open_face_internal() 2399 if ( bsize->height < 0 || bsize->x_ppem < 0 || bsize->y_ppem < 0 ) in ft_open_face_internal() 2407 bsize->x_ppem = 0; in ft_open_face_internal() 2733 if ( w == FT_PIX_ROUND( bsize->x_ppem ) || ignore_width ) in FT_Match_Size() 2823 metrics->x_ppem = (FT_UShort)( ( bsize->x_ppem + 32 ) >> 6 ); in FT_Select_Metrics() 2828 metrics->x_scale = FT_DivFix( bsize->x_ppem, in FT_Select_Metrics() 2842 metrics->max_advance = bsize->x_ppem; in FT_Select_Metrics() 2854 FT_TRACE5(( " x ppem: %d\n", metrics->x_ppem )); in FT_Select_Metrics() 2953 metrics->x_ppem = (FT_UShort)( ( scaled_w + 32 ) >> 6 ); in FT_Request_Metrics() [all …]
|
/external/freetype/src/sfnt/ |
D | ttsbit.c | 317 metrics->x_ppem = (FT_UShort)strike[44]; in tt_face_load_strike_metrics() 349 metrics->x_ppem, metrics->y_ppem )); in tt_face_load_strike_metrics() 377 metrics->x_ppem, metrics->y_ppem )); in tt_face_load_strike_metrics() 390 metrics->x_scale = FT_MulDiv( metrics->x_ppem, in tt_face_load_strike_metrics() 432 metrics->x_ppem = ppem; in tt_face_load_strike_metrics() 1562 face->root.size->metrics.x_ppem / in tt_face_load_sbix_image()
|
D | sfobjs.c | 1495 ( avgwidth * metrics.x_ppem + em_size / 2 ) / em_size ); in sfnt_load_face() 1497 bsize->x_ppem = metrics.x_ppem << 6; in sfnt_load_face() 1504 if ( bsize->x_ppem && bsize->y_ppem ) in sfnt_load_face()
|
/external/pdfium/third_party/freetype/include/freetype/internal/ |
D | tttypes.h | 653 FT_Byte x_ppem; member 713 FT_Byte x_ppem; member
|
/external/pdfium/third_party/freetype/src/base/ |
D | ftobjs.c | 2289 if ( bsize->x_ppem < 0 ) in FT_Open_Face() 2290 bsize->x_ppem = (FT_Short)-bsize->x_ppem; in FT_Open_Face() 2600 if ( w == FT_PIX_ROUND( bsize->x_ppem ) || ignore_width ) in FT_Match_Size() 2688 metrics->x_ppem = (FT_UShort)( ( bsize->x_ppem + 32 ) >> 6 ); in FT_Select_Metrics() 2693 metrics->x_scale = FT_DivFix( bsize->x_ppem, in FT_Select_Metrics() 2707 metrics->max_advance = bsize->x_ppem; in FT_Select_Metrics() 2719 FT_TRACE5(( " x ppem: %d\n", metrics->x_ppem )); in FT_Select_Metrics() 2818 metrics->x_ppem = (FT_UShort)( ( scaled_w + 32 ) >> 6 ); in FT_Request_Metrics() 2839 FT_TRACE5(( " x ppem: %d\n", metrics->x_ppem )); in FT_Request_Metrics() 2882 FT_TRACE5(( " x ppem: %d\n", metrics->x_ppem )); in FT_Select_Size() [all …]
|
/external/freetype/include/freetype/internal/ |
D | tttypes.h | 689 FT_Byte x_ppem; member 749 FT_Byte x_ppem; member
|
/external/pdfium/third_party/freetype/include/freetype/ |
D | freetype.h | 370 FT_Pos x_ppem; member 1503 FT_UShort x_ppem; /* horizontal pixels per EM */ member
|
/external/freetype/include/freetype/ |
D | freetype.h | 374 FT_Pos x_ppem; member 1535 FT_UShort x_ppem; /* horizontal pixels per EM */ member
|
/external/pdfium/third_party/freetype/src/sfnt/ |
D | ttsbit.c | 254 metrics->x_ppem = (FT_UShort)strike[44]; in tt_face_load_strike_metrics() 306 metrics->x_ppem = ppem; in tt_face_load_strike_metrics() 1389 face->root.size->metrics.x_ppem / in tt_face_load_sbix_image()
|
D | sfobjs.c | 1391 ( avgwidth * metrics.x_ppem + em_size / 2 ) / em_size ); in sfnt_load_face() 1393 bsize->x_ppem = metrics.x_ppem << 6; in sfnt_load_face()
|