[ft] Prefer symbol cmap subtable if found (#1948)
Similar to commit d304d60e4d
for ot-font.
This commit is contained in:
parent
4375858792
commit
0954c8f7a0
|
@ -840,8 +840,8 @@ hb_ft_font_set_funcs (hb_font_t *font)
|
|||
return;
|
||||
}
|
||||
|
||||
if (FT_Select_Charmap (ft_face, FT_ENCODING_UNICODE))
|
||||
FT_Select_Charmap (ft_face, FT_ENCODING_MS_SYMBOL);
|
||||
if (FT_Select_Charmap (ft_face, FT_ENCODING_MS_SYMBOL))
|
||||
FT_Select_Charmap (ft_face, FT_ENCODING_UNICODE);
|
||||
|
||||
FT_Set_Char_Size (ft_face,
|
||||
abs (font->x_scale), abs (font->y_scale),
|
||||
|
|
Loading…
Reference in New Issue