/external/harfbuzz_ng/src/ |
sample.py | 29 upem = hb.face_get_upem (face) variable 31 hb.font_set_scale (font, upem, upem)
|
test-buffer-serialize.cc | 91 unsigned int upem = hb_face_get_upem (face); local 94 hb_font_set_scale (font, upem, upem);
|
test.cc | 94 unsigned int upem = hb_face_get_upem (face); local 97 hb_font_set_scale (font, upem, upem);
|
hb-face-private.hh | 54 mutable unsigned int upem; member in struct:hb_face_t 81 if (unlikely (!upem)) 83 return upem;
|
hb-ot-head-table.hh | 49 unsigned int upem = unitsPerEm; local 51 return 16 <= upem && upem <= 16384 ? upem : 1000;
|
hb-ot-font.cc | 172 unsigned int upem = face->get_upem (); local 175 ot_font->h_metrics.init (face, HB_OT_TAG_hhea, HB_OT_TAG_hmtx, upem>>1); 176 ot_font->v_metrics.init (face, HB_OT_TAG_vhea, HB_OT_TAG_vmtx, upem); /* TODO Can we do this lazily? */
|
/external/freetype/src/autofit/ |
hbshim.c | 445 FT_Int upem = (FT_Int)metrics->globals->face->units_per_EM; local 458 hb_font_set_scale( font, upem, upem );
|
/external/skia/src/ports/ |
SkScalerContext_win_dw.cpp | 489 SkScalar upem = SkIntToScalar(dwfm.designUnitsPerEm); local 491 metrics->fAscent = -fTextSizeRender * SkIntToScalar(dwfm.ascent) / upem; 492 metrics->fDescent = fTextSizeRender * SkIntToScalar(dwfm.descent) / upem; 493 metrics->fLeading = fTextSizeRender * SkIntToScalar(dwfm.lineGap) / upem; 494 metrics->fXHeight = fTextSizeRender * SkIntToScalar(dwfm.xHeight) / upem; 495 metrics->fUnderlineThickness = fTextSizeRender * SkIntToScalar(dwfm.underlineThickness) / upem; 496 metrics->fUnderlinePosition = -(fTextSizeRender * SkIntToScalar(dwfm.underlinePosition) / upem); 505 metrics->fTop = -fTextSizeRender * SkIntToScalar(dwfm1.glyphBoxTop) / upem; 506 metrics->fBottom = -fTextSizeRender * SkIntToScalar(dwfm1.glyphBoxBottom) / upem; 507 metrics->fXMin = fTextSizeRender * SkIntToScalar(dwfm1.glyphBoxLeft) / upem; [all...] |
SkFontHost_FreeType.cpp | 1292 SkScalar upem = SkIntToScalar(face->units_per_EM); local [all...] |
SkFontHost_win.cpp | 714 SkScalar upem = SkIntToScalar(otm.otmEMSquare); local 716 SkScalar gdiTextSizeToEMScale = upem / gdiTextSize; 722 SkScalar removeEMScale = SkScalarInvert(upem); [all...] |
/external/freetype/src/sfnt/ |
ttsbit.c | 272 FT_UInt offset, upem; local 303 upem = face->header.Units_Per_EM; 310 upem_ = (FT_Pos)upem; [all...] |
/external/pdfium/third_party/freetype/src/sfnt/ |
ttsbit.c | 272 FT_UInt offset, upem; local 302 upem = face->header.Units_Per_EM; 308 metrics->ascender = ppem * hori->Ascender * 64 / upem; 309 metrics->descender = ppem * hori->Descender * 64 / upem; 312 hori->Line_Gap ) * 64 / upem; 313 metrics->max_advance = ppem * hori->advance_Width_Max * 64 / upem; [all...] |