Lines Matching refs:emSize
46 static SkScalar from_font_units(SkScalar scaled, uint16_t emSize) { in from_font_units() argument
47 if (emSize == 1000) { in from_font_units()
50 return scaled * 1000 / emSize; in from_font_units()
54 static SkScalar scale_from_font_units(int16_t val, uint16_t emSize) { in scale_from_font_units() argument
55 return from_font_units(SkIntToScalar(val), emSize); in scale_from_font_units()
114 uint16_t emSize, in compose_advance_data() argument
127 scale_from_font_units(range.fAdvance[j], emSize)); in compose_advance_data()
137 scale_from_font_units(range.fAdvance[0], emSize)); in compose_advance_data()
148 uint16_t emSize, in SkPDFMakeCIDGlyphWidthsArray() argument
207 compose_advance_data(curRange, emSize, defaultAdvance, result.get()); in SkPDFMakeCIDGlyphWidthsArray()
221 compose_advance_data(curRange, emSize, defaultAdvance, result.get()); in SkPDFMakeCIDGlyphWidthsArray()
228 compose_advance_data(curRange, emSize, defaultAdvance, result.get()); in SkPDFMakeCIDGlyphWidthsArray()
238 compose_advance_data(curRange, emSize, defaultAdvance, result.get()); in SkPDFMakeCIDGlyphWidthsArray()
243 compose_advance_data(curRange, emSize, defaultAdvance, result.get()); in SkPDFMakeCIDGlyphWidthsArray()
263 compose_advance_data(curRange, emSize, defaultAdvance, result.get()); in SkPDFMakeCIDGlyphWidthsArray()