From ce8badf1808f9fbdd9a22e9215c7475d3afde5ed Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 9 Aug 2013 09:31:06 -0400 Subject: [PATCH] Minor --- src/hb-font-private.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-font-private.hh b/src/hb-font-private.hh index 3a42f0766..c87ad5856 100644 --- a/src/hb-font-private.hh +++ b/src/hb-font-private.hh @@ -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