Searched refs:sub_upm (Results 1 – 4 of 4) sorted by relevance
/external/pdfium/third_party/freetype/src/cff/ |
D | cffobjs.c | 240 FT_ULong sub_upm = sub->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() 312 FT_ULong sub_upm = sub->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()
|
D | cffgload.c | 2760 FT_ULong top_upm, sub_upm; in cff_slot_load() local 2769 sub_upm = cff->subfonts[fd_index]->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/ |
D | cffobjs.c | 240 FT_Long sub_upm = (FT_Long)sub->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() 312 FT_Long sub_upm = (FT_Long)sub->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()
|
D | cffgload.c | 2765 FT_Long top_upm, sub_upm; in cff_slot_load() local 2774 sub_upm = (FT_Long)cff->subfonts[fd_index]->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()
|