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