[Bf-blender-cvs] CVS commit: blender/source/blender/ftfont/intern FTF_TTFont.cpp
Ton Roosendaal
ton at blender.org
Tue Nov 23 13:19:18 CET 2004
ton (Ton Roosendaal) 2004/11/23 13:19:18 CET
Modified files:
blender/source/blender/ftfont/intern FTF_TTFont.cpp
Log:
Patch provided by Yann Vernier
This patch should make gettext return unicode, which is what freetype
expects (also explicitly set in the same file). It makes translations
that support non-ascii *and* non-unicode encodings, such as latin 1 for
western european languages, draw correctly. The problem only occurs for
platforms where those encodings are default, i.e. in Linux if
/etc/locale.gen looks like this:
sv_SE ISO-8859-15
If it were to read UTF-8 this patch doesn't change the behaviour at all.
This is probably the case for Mac OS X and perhaps Windows.
Revision Changes Path
1.19 +3 -1 blender/source/blender/ftfont/intern/FTF_TTFont.cpp
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/ftfont/intern/FTF_TTFont.cpp.diff?r1=1.18&r2=1.19&cvsroot=bf-blender>
More information about the Bf-blender-cvs
mailing list