Searched defs:upem (Results 1 - 12 of 12) sorted by relevance
/external/harfbuzz_ng/src/ |
H A D | test-buffer-serialize.cc | 88 unsigned int upem = hb_face_get_upem (face); local 91 hb_font_set_scale (font, upem, upem);
|
H A D | test.cc | 91 unsigned int upem = hb_face_get_upem (face); local 94 hb_font_set_scale (font, upem, upem);
|
H A D | hb-ot-head-table.hh | 49 unsigned int upem = unitsPerEm; local 51 return 16 <= upem && upem <= 16384 ? upem : 1000;
|
H A D | hb-font-private.hh | 102 mutable unsigned int upem; member in struct:hb_face_t 129 if (unlikely (!upem)) 131 return upem;
|
H A D | hb-font.cc | 523 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 D | SkTypeface.cpp | 121 int upem = 0; local 124 upem = SkFontHost::GetUnitsPerEm(fUniqueID); 131 upem = metrics->fEmSize; 135 return upem;
|
/external/skia/tests/ |
H A D | FontHostTest.cpp | 29 int upem = face->getUnitsPerEm(); local 30 if (0 == upem) return; 39 REPORTER_ASSERT(reporter, upem2 == upem);
|
/external/harfbuzz_ng/util/ |
H A D | options.cc | 475 unsigned int upem = hb_face_get_upem (face); local 476 hb_font_set_scale (font, upem, upem);
|
/external/skia/legacy/src/ports/ |
H A D | SkFontHost_mac_atsui.cpp | 339 int upem = get_be16(head, SFNT_HEAD_UPEM_OFFSET); local 357 pts[i].set(0, SkIntToScalar(ys[i]) / upem);
|
H A D | SkFontHost_FreeType.cpp | 1630 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 D | SkFontHost_FreeType.cpp | 1224 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 D | SkFontHost_mac_atsui.cpp | 339 int upem = get_be16(head, SFNT_HEAD_UPEM_OFFSET); local 357 pts[i].set(0, SkIntToScalar(ys[i]) / upem);
|
Completed in 200 milliseconds