diff options
Diffstat (limited to 'source/blender/ftfont/intern/FTF_TTFont.cpp')
-rw-r--r-- | source/blender/ftfont/intern/FTF_TTFont.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/ftfont/intern/FTF_TTFont.cpp b/source/blender/ftfont/intern/FTF_TTFont.cpp index 0c979ea5a94..627cd6f270b 100644 --- a/source/blender/ftfont/intern/FTF_TTFont.cpp +++ b/source/blender/ftfont/intern/FTF_TTFont.cpp @@ -240,6 +240,7 @@ int FTF_TTFont::SetFont(const unsigned char* str, int datasize, int fontsize) return 1; } } + return 0; } void FTF_TTFont::SetLanguage(char* str) @@ -372,6 +373,7 @@ float FTF_TTFont::GetStringWidth(char* str, unsigned int flag) } else if(mode == FTF_TEXTUREFONT) { return font->Advance(wstr);// * fsize; } + return 0.0; } |