Home
last modified time | relevance | path

Searched refs:sub_upm (Results 1 – 6 of 6) sorted by relevance

/external/freetype/src/cff/
Dcffobjs.c240 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()
Dcffgload.c2761 FT_ULong top_upm, sub_upm; in cff_slot_load() local
2770 sub_upm = cff->subfonts[fd_index]->font_dict.units_per_em; in cff_slot_load()
2776 if ( top_upm != sub_upm ) in cff_slot_load()
2778 glyph->x_scale = FT_MulDiv( glyph->x_scale, top_upm, sub_upm ); in cff_slot_load()
2779 glyph->y_scale = FT_MulDiv( glyph->y_scale, top_upm, sub_upm ); in cff_slot_load()
/external/chromium_org/third_party/freetype/src/cff/
Dcffobjs.c240 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()
Dcffgload.c2765 FT_ULong top_upm, sub_upm; in cff_slot_load() local
2774 sub_upm = 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()
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/
Dcffobjs.c240 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()
Dcffgload.c2769 FT_ULong top_upm, sub_upm; in cff_slot_load() local
2778 sub_upm = cff->subfonts[fd_index]->font_dict.units_per_em; in cff_slot_load()
2784 if ( top_upm != sub_upm ) in cff_slot_load()
2786 glyph->x_scale = FT_MulDiv( glyph->x_scale, top_upm, sub_upm ); in cff_slot_load()
2787 glyph->y_scale = FT_MulDiv( glyph->y_scale, top_upm, sub_upm ); in cff_slot_load()