Home
last modified time | relevance | path

Searched refs:x_ppem (Results 1 – 25 of 31) sorted by relevance

12

/external/harfbuzz_ng/test/api/
Dtest-font.c378 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/src/fxge/android/
Dfpf_skiafont.cpp106 int32_t x_ppem = m_Face->size->metrics.x_ppem; in GetGlyphBBox() local
108 rtBBox.left = FPF_EM_ADJUST(x_ppem, cbox.xMin); in GetGlyphBBox()
109 rtBBox.right = FPF_EM_ADJUST(x_ppem, cbox.xMax); in GetGlyphBBox()
/external/harfbuzz_ng/src/
Dhb-font.cc1166 font->x_ppem = parent->x_ppem; in hb_font_create_sub_font()
1511 unsigned int x_ppem, in hb_font_set_ppem() argument
1517 font->x_ppem = x_ppem; in hb_font_set_ppem()
1533 unsigned int *x_ppem, in hb_font_get_ppem() argument
1536 if (x_ppem) *x_ppem = font->x_ppem; in hb_font_get_ppem()
Dhb-ot-layout-gpos-table.hh112 unsigned int x_ppem, y_ppem; in apply_value() local
132 x_ppem = font->x_ppem; in apply_value()
135 if (!x_ppem && !y_ppem) return; in apply_value()
139 if (x_ppem) glyph_pos.x_offset += (base + get_device (values)).get_x_delta (font); in apply_value()
147 … if (horizontal && x_ppem) glyph_pos.x_advance += (base + get_device (values)).get_x_delta (font); in apply_value()
260 unsigned int x_ppem = font->x_ppem; in get_anchor() local
265 ret = (x_ppem || y_ppem) && in get_anchor()
267 *x = ret && x_ppem ? cx : font->em_scale_x (xCoordinate); in get_anchor()
294 if (font->x_ppem) in get_anchor()
Dhb-ft.cc267 FT_Kerning_Mode mode = font->x_ppem ? FT_KERNING_DEFAULT : FT_KERNING_UNFITTED; in hb_ft_get_glyph_h_kerning()
589 ft_face->size->metrics.x_ppem, in hb_ft_font_create()
684 font->x_ppem * 72 * 64 / font->x_scale, in hb_ft_font_set_funcs()
Dhb-font.h598 unsigned int x_ppem,
603 unsigned int *x_ppem,
Dhb-font-private.hh108 unsigned int x_ppem; member
Dhb-ot-layout-common-private.hh1168 { return get_delta (font->x_ppem, font->x_scale); } in get_x_delta()
/external/freetype/src/truetype/
Dttobjs.c777 metrics->x_ppem = 0; in tt_size_run_fpgm()
1179 if ( metrics->x_ppem < 1 || metrics->y_ppem < 1 ) in tt_size_reset()
1188 metrics->x_scale = FT_DivFix( metrics->x_ppem << 6, in tt_size_reset()
1205 if ( metrics->x_ppem >= metrics->y_ppem ) in tt_size_reset()
1208 size->ttmetrics.ppem = metrics->x_ppem; in tt_size_reset()
1211 metrics->x_ppem ); in tt_size_reset()
1217 size->ttmetrics.x_ratio = FT_DivFix( metrics->x_ppem, in tt_size_reset()
Dttsubpix.c908 FT_UInt ppem = loader->size->metrics.x_ppem; in sph_set_tweaks()
Dttgload.c927 FT_UInt ppem = loader->size->metrics.x_ppem; in TT_Process_Simple_Glyph()
1974 size->root.metrics.x_ppem, in compute_glyph_metrics()
/external/pdfium/third_party/freetype/src/truetype/
Dttobjs.c826 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()
Dttsubpix.c908 FT_UInt ppem = loader->size->metrics.x_ppem; in sph_set_tweaks()
Dttgload.c902 FT_UInt ppem = loader->size->metrics.x_ppem; in TT_Process_Simple_Glyph()
1948 size->root.metrics.x_ppem, in compute_glyph_metrics()
/external/freetype/include/internal/
Dtttypes.h653 FT_Byte x_ppem; member
713 FT_Byte x_ppem; member
/external/pdfium/third_party/freetype/include/freetype/internal/
Dtttypes.h653 FT_Byte x_ppem; member
713 FT_Byte x_ppem; member
/external/freetype/src/base/
Dftobjs.c2272 if ( bsize->x_ppem < 0 ) in FT_Open_Face()
2273 bsize->x_ppem = (FT_Short)-bsize->x_ppem; in FT_Open_Face()
2583 if ( w == FT_PIX_ROUND( bsize->x_ppem ) || ignore_width ) in FT_Match_Size()
2671 metrics->x_ppem = (FT_UShort)( ( bsize->x_ppem + 32 ) >> 6 ); in FT_Select_Metrics()
2676 metrics->x_scale = FT_DivFix( bsize->x_ppem, in FT_Select_Metrics()
2690 metrics->max_advance = bsize->x_ppem; in FT_Select_Metrics()
2702 FT_TRACE5(( " x ppem: %d\n", metrics->x_ppem )); in FT_Select_Metrics()
2801 metrics->x_ppem = (FT_UShort)( ( scaled_w + 32 ) >> 6 ); in FT_Request_Metrics()
2822 FT_TRACE5(( " x ppem: %d\n", metrics->x_ppem )); in FT_Request_Metrics()
2865 FT_TRACE5(( " x ppem: %d\n", metrics->x_ppem )); in FT_Select_Size()
[all …]
/external/pdfium/third_party/freetype/src/base/
Dftobjs.c2289 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/pdfium/third_party/freetype/include/freetype/
Dfreetype.h370 FT_Pos x_ppem; member
1503 FT_UShort x_ppem; /* horizontal pixels per EM */ member
/external/freetype/include/
Dfreetype.h370 FT_Pos x_ppem; member
1484 FT_UShort x_ppem; /* horizontal pixels per EM */ member
/external/pdfium/third_party/freetype/src/sfnt/
Dttsbit.c254 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()
Dsfobjs.c1391 ( 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()
/external/freetype/src/sfnt/
Dttsbit.c254 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()
Dsfobjs.c1365 ( avgwidth * metrics.x_ppem + em_size / 2 ) / em_size ); in sfnt_load_face()
1367 bsize->x_ppem = metrics.x_ppem << 6; in sfnt_load_face()
/external/pdfium/core/src/fxge/ge/
Dfx_ge_font.cpp297 int pixel_size_x = ((FXFT_Face)m_Face)->size->metrics.x_ppem, in GetGlyphBBox()

12