Home
last modified time | relevance | path

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

/external/pdfium/third_party/freetype/src/cff/
Dcffobjs.c229 FT_ULong top_upm = font->top_font.font_dict.units_per_em; in cff_size_select() local
244 if ( top_upm != sub_upm ) in cff_size_select()
246 x_scale = FT_MulDiv( size->metrics.x_scale, top_upm, sub_upm ); in cff_size_select()
247 y_scale = FT_MulDiv( size->metrics.y_scale, top_upm, sub_upm ); in cff_size_select()
301 FT_ULong top_upm = font->top_font.font_dict.units_per_em; in cff_size_request() local
316 if ( top_upm != sub_upm ) in cff_size_request()
318 x_scale = FT_MulDiv( size->metrics.x_scale, top_upm, sub_upm ); in cff_size_request()
319 y_scale = FT_MulDiv( size->metrics.y_scale, top_upm, sub_upm ); in cff_size_request()
Dcffgload.c2760 FT_ULong top_upm, sub_upm; in cff_slot_load() local
2768 top_upm = cff->top_font.font_dict.units_per_em; in cff_slot_load()
2775 if ( top_upm != sub_upm ) in cff_slot_load()
2777 glyph->x_scale = FT_MulDiv( glyph->x_scale, top_upm, sub_upm ); in cff_slot_load()
2778 glyph->y_scale = FT_MulDiv( glyph->y_scale, top_upm, sub_upm ); in cff_slot_load()
/external/freetype/src/cff/
Dcffobjs.c229 FT_Long top_upm = (FT_Long)font->top_font.font_dict.units_per_em; in cff_size_select() local
244 if ( top_upm != sub_upm ) in cff_size_select()
246 x_scale = FT_MulDiv( size->metrics.x_scale, top_upm, sub_upm ); in cff_size_select()
247 y_scale = FT_MulDiv( size->metrics.y_scale, top_upm, sub_upm ); in cff_size_select()
301 FT_Long top_upm = (FT_Long)font->top_font.font_dict.units_per_em; in cff_size_request() local
316 if ( top_upm != sub_upm ) in cff_size_request()
318 x_scale = FT_MulDiv( size->metrics.x_scale, top_upm, sub_upm ); in cff_size_request()
319 y_scale = FT_MulDiv( size->metrics.y_scale, top_upm, sub_upm ); in cff_size_request()
Dcffgload.c2765 FT_Long top_upm, sub_upm; in cff_slot_load() local
2773 top_upm = (FT_Long)cff->top_font.font_dict.units_per_em; in cff_slot_load()
2780 if ( top_upm != sub_upm ) in cff_slot_load()
2782 glyph->x_scale = FT_MulDiv( glyph->x_scale, top_upm, sub_upm ); in cff_slot_load()
2783 glyph->y_scale = FT_MulDiv( glyph->y_scale, top_upm, sub_upm ); in cff_slot_load()