Home
last modified time | relevance | path

Searched refs:y_ppem (Results 1 – 25 of 62) 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()
433 x_ppem = y_ppem = 13; in test_font_properties()
434 hb_font_get_ppem (font, NULL, &y_ppem); in test_font_properties()
435 g_assert_cmpint (y_ppem, ==, 0); 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()
439 g_assert_cmpint (y_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.cpp107 int32_t y_ppem = m_Face->size->metrics.y_ppem; in GetGlyphBBox() local
110 rtBBox.top = FPF_EM_ADJUST(y_ppem, cbox.yMax); in GetGlyphBBox()
111 rtBBox.bottom = FPF_EM_ADJUST(y_ppem, cbox.yMin); in GetGlyphBBox()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/bdf/
Dbdfdrivr.c462 bsize->y_ppem = (FT_Short)prop->value.l << 6; in BDF_Face_Init()
472 if ( bsize->y_ppem == 0 ) in BDF_Face_Init()
474 bsize->y_ppem = bsize->size; in BDF_Face_Init()
476 bsize->y_ppem = bsize->y_ppem * resolution_y / 72; in BDF_Face_Init()
479 bsize->x_ppem = bsize->y_ppem * resolution_x / resolution_y; in BDF_Face_Init()
481 bsize->x_ppem = bsize->y_ppem; in BDF_Face_Init()
644 if ( height == ( ( bsize->y_ppem + 32 ) >> 6 ) ) in BDF_Size_Request()
/external/harfbuzz_ng/src/
Dhb-font.cc1167 font->y_ppem = parent->y_ppem; in hb_font_create_sub_font()
1512 unsigned int y_ppem) in hb_font_set_ppem() argument
1518 font->y_ppem = y_ppem; in hb_font_set_ppem()
1534 unsigned int *y_ppem) in hb_font_get_ppem() argument
1537 if (y_ppem) *y_ppem = font->y_ppem; in hb_font_get_ppem()
Dhb-ot-layout-gpos-table.hh112 unsigned int x_ppem, y_ppem; in apply_value() local
133 y_ppem = font->y_ppem; in apply_value()
135 if (!x_ppem && !y_ppem) return; in apply_value()
143 if (y_ppem) glyph_pos.y_offset += (base + get_device (values)).get_y_delta (font); in apply_value()
152 … if (!horizontal && y_ppem) glyph_pos.y_advance -= (base + get_device (values)).get_y_delta (font); in apply_value()
261 unsigned int y_ppem = font->y_ppem; in get_anchor() local
265 ret = (x_ppem || y_ppem) && in get_anchor()
268 *y = ret && y_ppem ? cy : font->em_scale_y (yCoordinate); in get_anchor()
296 if (font->y_ppem) in get_anchor()
Dhb-font.h599 unsigned int y_ppem);
604 unsigned int *y_ppem);
/external/freetype/src/truetype/
Dttobjs.c778 metrics->y_ppem = 0; in tt_size_run_fpgm()
1179 if ( metrics->x_ppem < 1 || metrics->y_ppem < 1 ) in tt_size_reset()
1190 metrics->y_scale = FT_DivFix( metrics->y_ppem << 6, in tt_size_reset()
1205 if ( metrics->x_ppem >= metrics->y_ppem ) in tt_size_reset()
1210 size->ttmetrics.y_ratio = FT_DivFix( metrics->y_ppem, in tt_size_reset()
1216 size->ttmetrics.ppem = metrics->y_ppem; in tt_size_reset()
1218 metrics->y_ppem ); in tt_size_reset()
/external/pdfium/third_party/freetype/src/truetype/
Dttobjs.c827 metrics->y_ppem = 0; in tt_size_run_fpgm()
1228 if ( metrics->x_ppem < 1 || metrics->y_ppem < 1 ) in tt_size_reset()
1239 metrics->y_scale = FT_DivFix( metrics->y_ppem << 6, in tt_size_reset()
1254 if ( metrics->x_ppem >= metrics->y_ppem ) in tt_size_reset()
1259 size->ttmetrics.y_ratio = FT_DivFix( metrics->y_ppem, in tt_size_reset()
1265 size->ttmetrics.ppem = metrics->y_ppem; in tt_size_reset()
1267 metrics->y_ppem ); in tt_size_reset()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/truetype/
Dttobjs.c827 metrics->y_ppem = 0; in tt_size_run_fpgm()
1236 if ( metrics->x_ppem < 1 || metrics->y_ppem < 1 ) in tt_size_reset()
1247 metrics->y_scale = FT_DivFix( metrics->y_ppem << 6, in tt_size_reset()
1262 if ( metrics->x_ppem >= metrics->y_ppem ) in tt_size_reset()
1267 size->ttmetrics.y_ratio = FT_DivFix( metrics->y_ppem, in tt_size_reset()
1273 size->ttmetrics.ppem = metrics->y_ppem; in tt_size_reset()
1275 metrics->y_ppem ); in tt_size_reset()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/winfonts/
Dwinfnt.c808 bsize->y_ppem = FT_MulDiv( bsize->size, y_res, 72 ); in FNT_Face_Init()
809 bsize->y_ppem = FT_PIX_ROUND( bsize->y_ppem ); in FNT_Face_Init()
819 if ( bsize->y_ppem > ( font->header.pixel_height << 6 ) ) in FNT_Face_Init()
823 bsize->y_ppem = font->header.pixel_height << 6; in FNT_Face_Init()
824 bsize->size = FT_MulDiv( bsize->y_ppem, 72, y_res ); in FNT_Face_Init()
959 if ( height == ( ( bsize->y_ppem + 32 ) >> 6 ) ) in FNT_Size_Request()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/pcf/
Dpcfread.c1336 bsize->y_ppem = FT_ABS( (FT_Short)prop->value.l ) << 6; in pcf_load_font()
1359 if ( bsize->y_ppem == 0 ) in pcf_load_font()
1361 bsize->y_ppem = bsize->size; in pcf_load_font()
1363 bsize->y_ppem = FT_MulDiv( bsize->y_ppem, resolution_y, 72 ); in pcf_load_font()
1366 bsize->x_ppem = FT_MulDiv( bsize->y_ppem, in pcf_load_font()
1370 bsize->x_ppem = bsize->y_ppem; in pcf_load_font()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/sfnt/
Dttsbit.c258 metrics->y_ppem = (FT_UShort)strike[45]; in tt_face_load_strike_metrics()
288 metrics->x_ppem, metrics->y_ppem )); in tt_face_load_strike_metrics()
298 metrics->ascender = metrics->y_ppem * 64; in tt_face_load_strike_metrics()
316 metrics->x_ppem, metrics->y_ppem )); in tt_face_load_strike_metrics()
317 metrics->height = metrics->y_ppem * 64; in tt_face_load_strike_metrics()
367 metrics->y_ppem = ppem; in tt_face_load_strike_metrics()
Dttbdf.c180 if ( _ppem == size->metrics.y_ppem ) in tt_face_find_bdf_prop()
/external/pdfium/third_party/freetype/include/freetype/internal/
Dtttypes.h654 FT_Byte y_ppem; member
714 FT_Byte y_ppem; member
/external/freetype/include/internal/
Dtttypes.h654 FT_Byte y_ppem; member
714 FT_Byte y_ppem; member
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/include/freetype/internal/
Dtttypes.h654 FT_Byte y_ppem; member
714 FT_Byte y_ppem; member
/external/pdfium/third_party/freetype/src/base/
Dftobjs.c2291 if ( bsize->y_ppem < 0 ) in FT_Open_Face()
2292 bsize->y_ppem = -bsize->y_ppem; in FT_Open_Face()
2597 if ( h != FT_PIX_ROUND( bsize->y_ppem ) ) in FT_Match_Size()
2689 metrics->y_ppem = (FT_UShort)( ( bsize->y_ppem + 32 ) >> 6 ); in FT_Select_Metrics()
2695 metrics->y_scale = FT_DivFix( bsize->y_ppem, in FT_Select_Metrics()
2704 metrics->ascender = bsize->y_ppem; in FT_Select_Metrics()
2720 FT_TRACE5(( " y ppem: %d\n", metrics->y_ppem )); in FT_Select_Metrics()
2819 metrics->y_ppem = (FT_UShort)( ( scaled_h + 32 ) >> 6 ); in FT_Request_Metrics()
2840 FT_TRACE5(( " y ppem: %d\n", metrics->y_ppem )); in FT_Request_Metrics()
2883 FT_TRACE5(( " y ppem: %d\n", metrics->y_ppem )); in FT_Select_Size()
[all …]
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/base/
Dftobjs.c2303 if ( bsize->y_ppem < 0 ) in FT_Open_Face()
2304 bsize->y_ppem = -bsize->y_ppem; in FT_Open_Face()
2609 if ( h != FT_PIX_ROUND( bsize->y_ppem ) ) in FT_Match_Size()
2701 metrics->y_ppem = (FT_UShort)( ( bsize->y_ppem + 32 ) >> 6 ); in FT_Select_Metrics()
2707 metrics->y_scale = FT_DivFix( bsize->y_ppem, in FT_Select_Metrics()
2716 metrics->ascender = bsize->y_ppem; in FT_Select_Metrics()
2732 FT_TRACE5(( " y ppem: %d\n", metrics->y_ppem )); in FT_Select_Metrics()
2831 metrics->y_ppem = (FT_UShort)( ( scaled_h + 32 ) >> 6 ); in FT_Request_Metrics()
2852 FT_TRACE5(( " y ppem: %d\n", metrics->y_ppem )); in FT_Request_Metrics()
2895 FT_TRACE5(( " y ppem: %d\n", metrics->y_ppem )); in FT_Select_Size()
[all …]
/external/freetype/src/base/
Dftobjs.c2274 if ( bsize->y_ppem < 0 ) in FT_Open_Face()
2275 bsize->y_ppem = -bsize->y_ppem; in FT_Open_Face()
2580 if ( h != FT_PIX_ROUND( bsize->y_ppem ) ) in FT_Match_Size()
2672 metrics->y_ppem = (FT_UShort)( ( bsize->y_ppem + 32 ) >> 6 ); in FT_Select_Metrics()
2678 metrics->y_scale = FT_DivFix( bsize->y_ppem, in FT_Select_Metrics()
2687 metrics->ascender = bsize->y_ppem; in FT_Select_Metrics()
2703 FT_TRACE5(( " y ppem: %d\n", metrics->y_ppem )); in FT_Select_Metrics()
2802 metrics->y_ppem = (FT_UShort)( ( scaled_h + 32 ) >> 6 ); in FT_Request_Metrics()
2823 FT_TRACE5(( " y ppem: %d\n", metrics->y_ppem )); in FT_Request_Metrics()
2866 FT_TRACE5(( " y ppem: %d\n", metrics->y_ppem )); in FT_Select_Size()
[all …]
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/pfr/
Dpfrdrivr.c125 y_scale = FT_DivFix( size->metrics.y_ppem << 6, in pfr_get_metrics()
Dpfrobjs.c227 size->y_ppem = (FT_Pos)( strike->y_ppm << 6 ); in pfr_face_init()
383 if ( size && pfrsize->metrics.y_ppem < 24 ) in pfr_slot_load()
/external/freetype/src/sfnt/
Dttbdf.c180 if ( _ppem == size->metrics.y_ppem ) in tt_face_find_bdf_prop()
/external/pdfium/third_party/freetype/src/sfnt/
Dttbdf.c180 if ( _ppem == size->metrics.y_ppem ) in tt_face_find_bdf_prop()
/external/pdfium/third_party/freetype/include/freetype/
Dfreetype.h371 FT_Pos y_ppem; member
1504 FT_UShort y_ppem; /* vertical pixels per EM */ member
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/include/freetype/
Dfreetype.h371 FT_Pos y_ppem; member
1504 FT_UShort y_ppem; /* vertical pixels per EM */ member

123