This commit is contained in:
Behdad Esfahbod 2013-08-09 09:31:06 -04:00
parent d71c0df2d1
commit ce8badf180

View File

@ -461,7 +461,7 @@ struct hb_font_t {
}
private:
inline hb_position_t em_scale (int16_t v, int scale) { return v * (int64_t) scale / hb_face_get_upem (this->face); }
inline hb_position_t em_scale (int16_t v, int scale) { return v * (int64_t) scale / face->get_upem (); }
};
#define HB_SHAPER_DATA_CREATE_FUNC_EXTRA_ARGS