Searched refs:upem (Results 1 – 2 of 2) sorted by relevance
112 float upem = mFtFace->units_per_EM; in GetFontExtent() local113 extent->ascent = -static_cast<float>(mFtFace->ascender) * paint.size / upem; in GetFontExtent()114 extent->descent = -static_cast<float>(mFtFace->descender) * paint.size / upem; in GetFontExtent()
68 uint32_t upem = hb_face_get_upem(face.get()); in prepareFont() local69 hb_font_set_scale(parent.get(), upem, upem); in prepareFont()