Home
last modified time | relevance | path

Searched refs:x_ppem (Results 1 – 25 of 36) 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/fxge/android/
Dcfpf_skiafont.cpp108 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/
Dhb-font.cc1158 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()
Dhb-ot-font.cc255 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()
Dhb-ot-cbdt-table.hh330 unsigned int *x_ppem, unsigned int *y_ppem) const in find_table()
341 *x_ppem = sizeTables[i].ppemX; in find_table()
Dhb-ft.cc292 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()
Dhb-font.h598 unsigned int x_ppem,
603 unsigned int *x_ppem,
Dhb-ot-layout-gpos-table.hh131 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()
Dhb-font-private.hh108 unsigned int x_ppem; member
/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()
/external/freetype/src/truetype/
Dttobjs.c799 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()
Dttsubpix.c908 FT_UInt ppem = loader->size->metrics.x_ppem; in sph_set_tweaks()
Dttdriver.c363 FT_UInt resolution = ttsize->metrics.x_ppem > ttsize->metrics.y_ppem in tt_size_request()
/external/freetype/src/autofit/
Dafloader.c103 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/
Dftobjs.c2393 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/
Dttsbit.c317 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()
Dsfobjs.c1495 ( 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/
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/freetype/include/freetype/internal/
Dtttypes.h689 FT_Byte x_ppem; member
749 FT_Byte x_ppem; member
/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/freetype/
Dfreetype.h374 FT_Pos x_ppem; member
1535 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()

12