/external/harfbuzz_ng/src/ |
D | hb-ot-head-table.hh | 50 unsigned int upem = unitsPerEm; in get_upem() local 52 return 16 <= upem && upem <= 16384 ? upem : 1000; in get_upem()
|
D | hb-face-private.hh | 54 mutable unsigned int upem; member 81 if (unlikely (!upem)) in get_upem() 83 return upem; in get_upem()
|
D | hb-face.cc | 99 face->upem = 0; in hb_face_create_for_tables() 404 unsigned int upem) in hb_face_set_upem() argument 409 face->upem = upem; in hb_face_set_upem() 433 upem = head_table->get_upem (); in load_upem()
|
D | sample.py | 29 upem = hb.face_get_upem (face) variable 31 hb.font_set_scale (font, upem, upem)
|
D | test-buffer-serialize.cc | 91 unsigned int upem = hb_face_get_upem (face); in main() local 94 hb_font_set_scale (font, upem, upem); in main()
|
D | test.cc | 94 unsigned int upem = hb_face_get_upem (face); in main() local 97 hb_font_set_scale (font, upem, upem); in main()
|
D | hb-face.h | 102 unsigned int upem);
|
/external/skia/src/ports/ |
D | SkScalerContext_win_dw.cpp | 513 SkScalar upem = SkIntToScalar(dwfm.designUnitsPerEm); in generateFontMetrics() local 515 metrics->fAscent = -fTextSizeRender * SkIntToScalar(dwfm.ascent) / upem; in generateFontMetrics() 516 metrics->fDescent = fTextSizeRender * SkIntToScalar(dwfm.descent) / upem; in generateFontMetrics() 517 metrics->fLeading = fTextSizeRender * SkIntToScalar(dwfm.lineGap) / upem; in generateFontMetrics() 518 metrics->fXHeight = fTextSizeRender * SkIntToScalar(dwfm.xHeight) / upem; in generateFontMetrics() 519 metrics->fUnderlineThickness = fTextSizeRender * SkIntToScalar(dwfm.underlineThickness) / upem; in generateFontMetrics() 520 metrics->fUnderlinePosition = -(fTextSizeRender * SkIntToScalar(dwfm.underlinePosition) / upem); in generateFontMetrics() 529 metrics->fTop = -fTextSizeRender * SkIntToScalar(dwfm1.glyphBoxTop) / upem; in generateFontMetrics() 530 metrics->fBottom = -fTextSizeRender * SkIntToScalar(dwfm1.glyphBoxBottom) / upem; in generateFontMetrics() 531 metrics->fXMin = fTextSizeRender * SkIntToScalar(dwfm1.glyphBoxLeft) / upem; in generateFontMetrics() [all …]
|
D | SkFontHost_FreeType.cpp | 1299 SkScalar upem = SkIntToScalar(face->units_per_EM); in generateFontMetrics() local 1300 if (!upem) { in generateFontMetrics() 1303 upem = SkIntToScalar(ttHeader->Units_Per_EM); in generateFontMetrics() 1313 x_height = scaleX * SkIntToScalar(os2->sxHeight) / upem; in generateFontMetrics() 1314 avgCharWidth = SkIntToScalar(os2->xAvgCharWidth) / upem; in generateFontMetrics() 1316 cap_height = scaleX * SkIntToScalar(os2->sCapHeight) / upem; in generateFontMetrics() 1330 ascent = -SkIntToScalar(os2->sTypoAscender) / upem; in generateFontMetrics() 1331 descent = -SkIntToScalar(os2->sTypoDescender) / upem; in generateFontMetrics() 1332 leading = SkIntToScalar(os2->sTypoLineGap) / upem; in generateFontMetrics() 1334 ascent = -SkIntToScalar(face->ascender) / upem; in generateFontMetrics() [all …]
|
D | SkFontHost_win.cpp | 716 SkScalar upem = SkIntToScalar(otm.otmEMSquare); in SkScalerContext_GDI() local 718 SkScalar gdiTextSizeToEMScale = upem / gdiTextSize; in SkScalerContext_GDI() 724 SkScalar removeEMScale = SkScalarInvert(upem); in SkScalerContext_GDI() 2213 unsigned int upem = calculateUPEM(hdc, fLogFont); in onGetUPEM() local 2219 return upem; in onGetUPEM()
|
/external/harfbuzz_ng/test/api/ |
D | test-font.c | 118 unsigned int upem = hb_face_get_upem (hb_font_get_face (font)); in _test_font_nil_funcs() local 126 g_assert_cmpint (x, ==, upem); in _test_font_nil_funcs() 379 unsigned int upem; in test_font_properties() local 406 upem = hb_face_get_upem (hb_font_get_face (font)); in test_font_properties() 410 g_assert_cmpint (x_scale, ==, upem); in test_font_properties() 413 g_assert_cmpint (y_scale, ==, upem); in test_font_properties() 416 g_assert_cmpint (x_scale, ==, upem); in test_font_properties() 417 g_assert_cmpint (y_scale, ==, upem); in test_font_properties()
|
/external/freetype/src/autofit/ |
D | hbshim.c | 445 FT_Int upem = (FT_Int)metrics->globals->face->units_per_EM; in af_get_char_index() local 458 hb_font_set_scale( font, upem, upem ); in af_get_char_index()
|
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/autofit/ |
D | hbshim.c | 445 FT_Int upem = (FT_Int)metrics->globals->face->units_per_EM; in af_get_char_index() local 458 hb_font_set_scale( font, upem, upem ); in af_get_char_index()
|
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/sfnt/ |
D | ttsbit.c | 333 FT_UShort upem, ppem, resolution; in tt_face_load_strike_metrics() local 363 upem = face->header.Units_Per_EM; in tt_face_load_strike_metrics() 372 FT_MulDiv( hori->Ascender, ppem_ * 64, upem ); in tt_face_load_strike_metrics() 374 FT_MulDiv( hori->Descender, ppem_ * 64, upem ); in tt_face_load_strike_metrics() 377 ppem_ * 64, upem ); in tt_face_load_strike_metrics() 379 FT_MulDiv( hori->advance_Width_Max, ppem_ * 64, upem ); in tt_face_load_strike_metrics()
|
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/docs/ |
D | TODO | 25 Use top-level font matrix entry for setting the upem value, not the
|
/external/freetype/src/sfnt/ |
D | ttsbit.c | 272 FT_UInt offset, upem; in tt_face_load_strike_metrics() local 303 upem = face->header.Units_Per_EM; in tt_face_load_strike_metrics() 310 upem_ = (FT_Pos)upem; in tt_face_load_strike_metrics()
|
/external/pdfium/third_party/freetype/src/sfnt/ |
D | ttsbit.c | 272 FT_UInt offset, upem; in tt_face_load_strike_metrics() local 303 upem = face->header.Units_Per_EM; in tt_face_load_strike_metrics() 310 upem_ = (FT_Pos)upem; in tt_face_load_strike_metrics()
|
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/ |
D | ChangeLog | 1590 Lower the flatness threshold from upem/8 to upem/14, making the
|
D | ChangeLog.21 | 389 * src/cff/cffobjs.c (cff_face_init): Set default upem value in top
|