forked from bartvdbraak/blender
Bugfix for #17396. Adding a text object would segfault when using freetype
2.3.6 or later. Thanks to Cyril Brulebois for a one-line patch, which was sent to the ML a while back.
This commit is contained in:
parent
bc85f11e68
commit
3120af6f34
@ -405,7 +405,7 @@ static VFontData *objfnt_to_ftvfontdata(PackedFile * pf)
|
||||
lcode = charcode;
|
||||
}
|
||||
|
||||
err = FT_Set_Charmap( face, (FT_CharMap) FT_ENCODING_UNICODE );
|
||||
err = FT_Select_Charmap( face, FT_ENCODING_UNICODE );
|
||||
|
||||
return vfd;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user