Patch #8213 by Shunichi Fuji
authorTon Roosendaal <ton@blender.org>
Fri, 19 Sep 2008 14:18:41 +0000 (14:18 +0000)
committerTon Roosendaal <ton@blender.org>
Fri, 19 Sep 2008 14:18:41 +0000 (14:18 +0000)
Fixes crash with FT fonts in some cases, just removed unnused line of code.

source/blender/blenlib/intern/freetypefont.c

index 74f152ac635ffb206158edf5d551be5e6a0a883c..48a40db6a72e1849d013ad4103e35b0eaf21a5b4 100644 (file)
@@ -404,8 +404,6 @@ static VFontData *objfnt_to_ftvfontdata(PackedFile * pf)
                        break;
                lcode = charcode;
        }
-       
-       err = FT_Select_Charmap( face, FT_ENCODING_UNICODE );
 
        return vfd;     
 }