From 254142bb67a5c520a304142301479eb5292592d1 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 15 Aug 2011 16:15:44 +0200 Subject: [PATCH] [ft] FT_Select_Charmap() when we create face --- src/hb-ft.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hb-ft.cc b/src/hb-ft.cc index 57ab03490..22c7f1b28 100644 --- a/src/hb-ft.cc +++ b/src/hb-ft.cc @@ -405,6 +405,8 @@ hb_ft_font_set_funcs (hb_font_t *font) return; } + FT_Select_Charmap (ft_face, FT_ENCODING_UNICODE); + FT_Set_Char_Size (ft_face, font->x_scale, font->y_scale, font->x_ppem * 72 * 64 / font->x_scale,