Home
last modified time | relevance | path

Searched refs:top_upm (Results 1 – 2 of 2) sorted by relevance

/external/freetype/src/cff/
Dcffobjs.c225 FT_ULong top_upm = font->top_font.font_dict.units_per_em; in cff_size_select() local
240 if ( top_upm != sub_upm ) in cff_size_select()
242 x_scale = FT_MulDiv( size->metrics.x_scale, top_upm, sub_upm ); in cff_size_select()
243 y_scale = FT_MulDiv( size->metrics.y_scale, top_upm, sub_upm ); in cff_size_select()
297 FT_ULong top_upm = font->top_font.font_dict.units_per_em; in cff_size_request() local
312 if ( top_upm != sub_upm ) in cff_size_request()
314 x_scale = FT_MulDiv( size->metrics.x_scale, top_upm, sub_upm ); in cff_size_request()
315 y_scale = FT_MulDiv( size->metrics.y_scale, top_upm, sub_upm ); in cff_size_request()
Dcffgload.c2699 FT_ULong top_upm, sub_upm; in cff_slot_load() local
2706 top_upm = cff->top_font.font_dict.units_per_em; in cff_slot_load()
2713 if ( top_upm != sub_upm ) in cff_slot_load()
2715 glyph->x_scale = FT_MulDiv( glyph->x_scale, top_upm, sub_upm ); in cff_slot_load()
2716 glyph->y_scale = FT_MulDiv( glyph->y_scale, top_upm, sub_upm ); in cff_slot_load()