Searched defs:upem (Results 1 - 12 of 12) sorted by relevance

/external/harfbuzz_ng/src/
H A Dtest-buffer-serialize.cc88 unsigned int upem = hb_face_get_upem (face); local
91 hb_font_set_scale (font, upem, upem);
H A Dtest.cc91 unsigned int upem = hb_face_get_upem (face); local
94 hb_font_set_scale (font, upem, upem);
H A Dhb-ot-head-table.hh49 unsigned int upem = unitsPerEm; local
51 return 16 <= upem && upem <= 16384 ? upem : 1000;
H A Dhb-font-private.hh102 mutable unsigned int upem; member in struct:hb_face_t
129 if (unlikely (!upem))
131 return upem;
H A Dhb-font.cc523 1000, /* upem */
553 face->upem = 0;
728 unsigned int upem)
733 face->upem = upem;
747 upem = head_table->get_upem ();
727 hb_face_set_upem(hb_face_t *face, unsigned int upem) argument
/external/skia/src/core/
H A DSkTypeface.cpp121 int upem = 0; local
124 upem = SkFontHost::GetUnitsPerEm(fUniqueID);
131 upem = metrics->fEmSize;
135 return upem;
/external/skia/tests/
H A DFontHostTest.cpp29 int upem = face->getUnitsPerEm(); local
30 if (0 == upem) return;
39 REPORTER_ASSERT(reporter, upem2 == upem);
/external/harfbuzz_ng/util/
H A Doptions.cc475 unsigned int upem = hb_face_get_upem (face); local
476 hb_font_set_scale (font, upem, upem);
/external/skia/legacy/src/ports/
H A DSkFontHost_mac_atsui.cpp339 int upem = get_be16(head, SFNT_HEAD_UPEM_OFFSET); local
357 pts[i].set(0, SkIntToScalar(ys[i]) / upem);
H A DSkFontHost_FreeType.cpp1630 int upem = face->units_per_EM; local
1631 if (upem <= 0) {
1640 SkScalar xmin = SkIntToScalar(face->bbox.xMin) / upem;
1641 SkScalar xmax = SkIntToScalar(face->bbox.xMax) / upem;
1661 x_height = SkFixedToScalar(SkMulDiv(fScaleX, os2->sxHeight, upem));
1677 // convert upem-y values into scalar points
1679 SkFixed y = SkMulDiv(scaleY, ys[i], upem);
/external/skia/src/ports/
H A DSkFontHost_FreeType.cpp1224 int upem = face->units_per_EM; local
1225 if (upem <= 0) {
1234 SkScalar xmin = SkIntToScalar(face->bbox.xMin) / upem;
1235 SkScalar xmax = SkIntToScalar(face->bbox.xMax) / upem;
1255 x_height = SkFixedToScalar(SkMulDiv(fScaleX, os2->sxHeight, upem));
1271 // convert upem-y values into scalar points
1273 SkFixed y = SkMulDiv(scaleY, ys[i], upem);
H A DSkFontHost_mac_atsui.cpp339 int upem = get_be16(head, SFNT_HEAD_UPEM_OFFSET); local
357 pts[i].set(0, SkIntToScalar(ys[i]) / upem);

Completed in 200 milliseconds