/third_party/flutter/skia/third_party/externals/harfbuzz/src/ |
D | test-ot-color.cc | 90 unsigned int upem = hb_face_get_upem (face); in png_dump() local 93 for (unsigned int ppem = 1; ppem < upem; ppem++) in png_dump() 131 unsigned int upem = hb_face_get_upem (face); in layered_glyph_dump() local 151 cairo_set_font_size (cr, upem); in layered_glyph_dump() 186 cairo_set_font_size (cr, upem); in layered_glyph_dump() 218 dump_glyphs (cairo_font_face_t *cairo_face, unsigned int upem, in dump_glyphs() argument 232 cairo_set_font_size (cr, upem); in dump_glyphs() 252 cairo_set_font_size (cr, upem); in dump_glyphs() 321 unsigned int upem = hb_face_get_upem (face); in main() local 327 dump_glyphs (cairo_face, upem, num_glyphs, face_index); in main()
|
D | hb-ot-head-table.hh | 52 unsigned int upem = unitsPerEm; in get_upem() local 54 return 16 <= upem && upem <= 16384 ? upem : 1000; in get_upem()
|
D | test-buffer-serialize.cc | 50 unsigned int upem = hb_face_get_upem (face); in main() local 53 hb_font_set_scale (font, upem, upem); in main()
|
D | test.cc | 52 unsigned int upem = hb_face_get_upem (face); in main() local 55 hb_font_set_scale (font, upem, upem); in main()
|
D | sample.py | 31 upem = hb.face_get_upem (face) variable 33 hb.font_set_scale (font, upem, upem)
|
/third_party/skia/gm/ |
D | userfont.cpp | 21 const float upem = font.getTypefaceOrDefault()->getUnitsPerEm(); in make_tf() local 24 font.setSize(upem); in make_tf() 28 const SkMatrix scale = SkMatrix::Scale(1.0f/upem, 1.0f/upem); in make_tf() 33 builder.setMetrics(metrics, 1.0f/upem); in make_tf() 47 builder.setGlyph(index, width/upem, path.makeTransform(scale)); in make_tf()
|
/third_party/skia/tools/fonts/ |
D | ToolUtilsFont.cpp | 69 const float upem = 200; in sample_user_typeface() local 89 builder.setMetrics(metrics, 1.0f/upem); in sample_user_typeface() 93 const SkMatrix scale = SkMatrix::Scale(1.0f/upem, 1.0f/upem); in sample_user_typeface() 98 builder.setGlyph(index, width/upem, SkPath::Circle(50, -50, 75).makeTransform(scale)); in sample_user_typeface()
|
/third_party/harfbuzz/src/ |
D | hb-ot-head-table.hh | 52 unsigned int upem = unitsPerEm; in get_upem() local 54 return 16 <= upem && upem <= 16384 ? upem : 1000; in get_upem()
|
D | test-buffer-serialize.cc | 56 unsigned int upem = hb_face_get_upem (face); in main() local 59 hb_font_set_scale (font, upem, upem); in main()
|
D | test.cc | 52 unsigned int upem = hb_face_get_upem (face); in main() local 55 hb_font_set_scale (font, upem, upem); in main()
|
D | sample.py | 16 upem = hb.face_get_upem (face) variable 18 hb.font_set_scale (font, upem, upem)
|
D | hb-face.hh | 56 mutable hb_atomic_int_t upem; /* Units-per-EM. */ member 86 unsigned int ret = upem.get_relaxed (); in get_upem()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-ot-head-table.hh | 52 unsigned int upem = unitsPerEm; in get_upem() local 54 return 16 <= upem && upem <= 16384 ? upem : 1000; in get_upem()
|
D | test-buffer-serialize.cc | 57 unsigned int upem = hb_face_get_upem (face); in main() local 60 hb_font_set_scale (font, upem, upem); in main()
|
D | test.cc | 53 unsigned int upem = hb_face_get_upem (face); in main() local 56 hb_font_set_scale (font, upem, upem); in main()
|
D | sample.py | 16 upem = hb.face_get_upem (face) variable 18 hb.font_set_scale (font, upem, upem)
|
/third_party/flutter/skia/src/ports/ |
D | SkScalerContext_win_dw.cpp | 747 SkScalar upem = SkIntToScalar(dwfm.designUnitsPerEm); in generateFontMetrics() local 749 metrics->fAscent = -fTextSizeRender * SkIntToScalar(dwfm.ascent) / upem; in generateFontMetrics() 750 metrics->fDescent = fTextSizeRender * SkIntToScalar(dwfm.descent) / upem; in generateFontMetrics() 751 metrics->fLeading = fTextSizeRender * SkIntToScalar(dwfm.lineGap) / upem; in generateFontMetrics() 752 metrics->fXHeight = fTextSizeRender * SkIntToScalar(dwfm.xHeight) / upem; in generateFontMetrics() 753 metrics->fCapHeight = fTextSizeRender * SkIntToScalar(dwfm.capHeight) / upem; in generateFontMetrics() 754 metrics->fUnderlineThickness = fTextSizeRender * SkIntToScalar(dwfm.underlineThickness) / upem; in generateFontMetrics() 755 metrics->fUnderlinePosition = -(fTextSizeRender * SkIntToScalar(dwfm.underlinePosition) / upem); in generateFontMetrics() 756 …metrics->fStrikeoutThickness = fTextSizeRender * SkIntToScalar(dwfm.strikethroughThickness) / upem; in generateFontMetrics() 757 …etrics->fStrikeoutPosition = -(fTextSizeRender * SkIntToScalar(dwfm.strikethroughPosition) / upem); in generateFontMetrics() [all …]
|
D | SkFontHost_FreeType.cpp | 775 SkScalar upem = SkIntToScalar(face->units_per_EM); in GetUnitsPerEm() local 777 if (upem == 0) { in GetUnitsPerEm() 780 upem = SkIntToScalar(ttHeader->Units_Per_EM); in GetUnitsPerEm() 783 return upem; in GetUnitsPerEm() 972 SkScalar upem = fFaceRec->fFace->units_per_EM; in SkScalerContext_FreeType() local 974 SkScalar x_ppem = upem * SkFT_FixedToScalar(ftmetrics.x_scale) / 64.0f; in SkScalerContext_FreeType() 975 SkScalar y_ppem = upem * SkFT_FixedToScalar(ftmetrics.y_scale) / 64.0f; in SkScalerContext_FreeType() 1407 SkScalar upem = SkIntToScalar(SkTypeface_FreeType::GetUnitsPerEm(face)); in generateFontMetrics() local 1416 x_height = SkIntToScalar(os2->sxHeight) / upem * fScale.y(); in generateFontMetrics() 1417 avgCharWidth = SkIntToScalar(os2->xAvgCharWidth) / upem; in generateFontMetrics() [all …]
|
/third_party/skia/src/ports/ |
D | SkFontHost_FreeType.cpp | 686 SkScalar upem = SkIntToScalar(face->units_per_EM); in GetUnitsPerEm() local 688 if (upem == 0) { in GetUnitsPerEm() 691 upem = SkIntToScalar(ttHeader->Units_Per_EM); in GetUnitsPerEm() 694 return upem; in GetUnitsPerEm() 882 SkScalar upem = fFaceRec->fFace->units_per_EM; in SkScalerContext_FreeType() local 884 SkScalar x_ppem = upem * SkFT_FixedToScalar(ftmetrics.x_scale) / 64.0f; in SkScalerContext_FreeType() 885 SkScalar y_ppem = upem * SkFT_FixedToScalar(ftmetrics.y_scale) / 64.0f; in SkScalerContext_FreeType() 1377 SkScalar upem = SkIntToScalar(SkTypeface_FreeType::GetUnitsPerEm(face)); in generateFontMetrics() local 1386 x_height = SkIntToScalar(os2->sxHeight) / upem * fScale.y(); in generateFontMetrics() 1387 avgCharWidth = SkIntToScalar(os2->xAvgCharWidth) / upem; in generateFontMetrics() [all …]
|
D | SkScalerContext_win_dw.cpp | 805 SkScalar upem = SkIntToScalar(dwfm.designUnitsPerEm); in generateFontMetrics() local 807 metrics->fAscent = -fTextSizeRender * SkIntToScalar(dwfm.ascent) / upem; in generateFontMetrics() 808 metrics->fDescent = fTextSizeRender * SkIntToScalar(dwfm.descent) / upem; in generateFontMetrics() 809 metrics->fLeading = fTextSizeRender * SkIntToScalar(dwfm.lineGap) / upem; in generateFontMetrics() 810 metrics->fXHeight = fTextSizeRender * SkIntToScalar(dwfm.xHeight) / upem; in generateFontMetrics() 811 metrics->fCapHeight = fTextSizeRender * SkIntToScalar(dwfm.capHeight) / upem; in generateFontMetrics() 812 metrics->fUnderlineThickness = fTextSizeRender * SkIntToScalar(dwfm.underlineThickness) / upem; in generateFontMetrics() 813 metrics->fUnderlinePosition = -(fTextSizeRender * SkIntToScalar(dwfm.underlinePosition) / upem); in generateFontMetrics() 814 …metrics->fStrikeoutThickness = fTextSizeRender * SkIntToScalar(dwfm.strikethroughThickness) / upem; in generateFontMetrics() 815 …etrics->fStrikeoutPosition = -(fTextSizeRender * SkIntToScalar(dwfm.strikethroughPosition) / upem); in generateFontMetrics() [all …]
|
/third_party/flutter/txt/src/minikin/ |
D | HbFontCache.cpp | 102 unsigned int upem = hb_face_get_upem(face); in getHbFontLocked() local 103 hb_font_set_scale(parent_font, upem, upem); in getHbFontLocked()
|
/third_party/flutter/engine/flutter/third_party/txt/src/minikin/ |
D | HbFontCache.cpp | 102 unsigned int upem = hb_face_get_upem(face); in getHbFontLocked() local 103 hb_font_set_scale(parent_font, upem, upem); in getHbFontLocked()
|
/third_party/flutter/skia/third_party/externals/harfbuzz/test/api/ |
D | test-font.c | 128 unsigned int upem = hb_face_get_upem (hb_font_get_face (font)); in _test_font_nil_funcs() local 136 g_assert_cmpint (x, ==, upem); in _test_font_nil_funcs() 467 unsigned int upem; in test_font_properties() local 494 upem = hb_face_get_upem (hb_font_get_face (font)); in test_font_properties() 498 g_assert_cmpint (x_scale, ==, upem); in test_font_properties() 501 g_assert_cmpint (y_scale, ==, upem); in test_font_properties() 504 g_assert_cmpint (x_scale, ==, upem); in test_font_properties() 505 g_assert_cmpint (y_scale, ==, upem); in test_font_properties()
|
/third_party/harfbuzz/test/api/ |
D | test-font.c | 128 unsigned int upem = hb_face_get_upem (hb_font_get_face (font)); in _test_font_nil_funcs() local 136 g_assert_cmpint (x, ==, upem); in _test_font_nil_funcs() 467 unsigned int upem; in test_font_properties() local 494 upem = hb_face_get_upem (hb_font_get_face (font)); in test_font_properties() 498 g_assert_cmpint (x_scale, ==, upem); in test_font_properties() 501 g_assert_cmpint (y_scale, ==, upem); in test_font_properties() 504 g_assert_cmpint (x_scale, ==, upem); in test_font_properties() 505 g_assert_cmpint (y_scale, ==, upem); in test_font_properties()
|
/third_party/skia/third_party/externals/harfbuzz/test/api/ |
D | test-font.c | 128 unsigned int upem = hb_face_get_upem (hb_font_get_face (font)); in _test_font_nil_funcs() local 136 g_assert_cmpint (x, ==, upem); in _test_font_nil_funcs() 467 unsigned int upem; in test_font_properties() local 494 upem = hb_face_get_upem (hb_font_get_face (font)); in test_font_properties() 498 g_assert_cmpint (x_scale, ==, upem); in test_font_properties() 501 g_assert_cmpint (y_scale, ==, upem); in test_font_properties() 504 g_assert_cmpint (x_scale, ==, upem); in test_font_properties() 505 g_assert_cmpint (y_scale, ==, upem); in test_font_properties()
|