Home
last modified time | relevance | path

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

123

/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,
/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()
/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()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/truetype/
Dttobjs.c826 metrics->x_ppem = 0; in tt_size_run_fpgm()
1236 if ( metrics->x_ppem < 1 || metrics->y_ppem < 1 ) in tt_size_reset()
1245 metrics->x_scale = FT_DivFix( metrics->x_ppem << 6, in tt_size_reset()
1262 if ( metrics->x_ppem >= metrics->y_ppem ) in tt_size_reset()
1265 size->ttmetrics.ppem = metrics->x_ppem; in tt_size_reset()
1268 metrics->x_ppem ); in tt_size_reset()
1274 size->ttmetrics.x_ratio = FT_DivFix( metrics->x_ppem, in tt_size_reset()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/autofit/
Dafloader.c146 FT_Bool size_changed = face->size->metrics.x_ppem in af_loader_load_g()
190 globals->stem_darkening_for_ppem = face->size->metrics.x_ppem; in af_loader_load_g()
209 globals->stem_darkening_for_ppem = face->size->metrics.x_ppem; in af_loader_load_g()
568 af_intToFixed( face->size->metrics.x_ppem ) ); in af_loader_compute_darkening()
/external/pdfium/third_party/freetype/include/freetype/internal/
Dtttypes.h653 FT_Byte x_ppem; member
713 FT_Byte x_ppem; member
/external/freetype/include/internal/
Dtttypes.h653 FT_Byte x_ppem; member
713 FT_Byte x_ppem; member
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/include/freetype/internal/
Dtttypes.h653 FT_Byte x_ppem; member
713 FT_Byte x_ppem; member
/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/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/base/
Dftobjs.c2301 if ( bsize->x_ppem < 0 ) in FT_Open_Face()
2302 bsize->x_ppem = (FT_Short)-bsize->x_ppem; in FT_Open_Face()
2612 if ( w == FT_PIX_ROUND( bsize->x_ppem ) || ignore_width ) in FT_Match_Size()
2700 metrics->x_ppem = (FT_UShort)( ( bsize->x_ppem + 32 ) >> 6 ); in FT_Select_Metrics()
2705 metrics->x_scale = FT_DivFix( bsize->x_ppem, in FT_Select_Metrics()
2719 metrics->max_advance = bsize->x_ppem; in FT_Select_Metrics()
2731 FT_TRACE5(( " x ppem: %d\n", metrics->x_ppem )); in FT_Select_Metrics()
2830 metrics->x_ppem = (FT_UShort)( ( scaled_w + 32 ) >> 6 ); in FT_Request_Metrics()
2851 FT_TRACE5(( " x ppem: %d\n", metrics->x_ppem )); in FT_Request_Metrics()
2894 FT_TRACE5(( " x ppem: %d\n", metrics->x_ppem )); in FT_Select_Size()
[all …]
/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/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/sfnt/
Dttsbit.c257 metrics->x_ppem = (FT_UShort)strike[44]; in tt_face_load_strike_metrics()
288 metrics->x_ppem, metrics->y_ppem )); in tt_face_load_strike_metrics()
316 metrics->x_ppem, metrics->y_ppem )); in tt_face_load_strike_metrics()
366 metrics->x_ppem = ppem; in tt_face_load_strike_metrics()
1483 face->root.size->metrics.x_ppem / in tt_face_load_sbix_image()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/pfr/
Dpfrdrivr.c122 x_scale = FT_DivFix( size->metrics.x_ppem << 6, in pfr_get_metrics()
Dpfrsbit.c555 if ( strike->x_ppm == (FT_UInt)size->root.metrics.x_ppem && in pfr_slot_load_bitmap()
619 advance = FT_MulDiv( (FT_Fixed)size->root.metrics.x_ppem << 8, in pfr_slot_load_bitmap()
/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/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/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/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/winfonts/
Dwinfnt.c827 bsize->x_ppem = FT_MulDiv( bsize->size, x_res, 72 ); in FNT_Face_Init()
828 bsize->x_ppem = FT_PIX_ROUND( bsize->x_ppem ); in FNT_Face_Init()
/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()
/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()

123