From fb6a1481f945ea6bf750d218e976adc3118e72f8 Mon Sep 17 00:00:00 2001 From: David Capello Date: Mon, 14 Mar 2016 12:09:59 -0300 Subject: [PATCH] Select Unicode charmap --- src/ft/lib.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ft/lib.h b/src/ft/lib.h index 9bf35d1b4..411e803d5 100644 --- a/src/ft/lib.h +++ b/src/ft/lib.h @@ -38,6 +38,8 @@ namespace ft { FT_Face face = nullptr; FT_Error err = FT_Open_Face(m_ft, &args, 0, &face); + if (!err) + FT_Select_Charmap(face, FT_ENCODING_UNICODE); return face; }