Merge pull request #7503 from CaiCQ/v3

修正Linux下中文显示问题
This commit is contained in:
minggo 2014-07-17 22:05:15 +08:00
commit 867fb18c5d
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ public:
return false; return false;
} }
if (isspace(unicode)) { if (iswspace(unicode)) {
currentPaintPosition += face->glyph->metrics.horiAdvance >> 6; currentPaintPosition += face->glyph->metrics.horiAdvance >> 6;
prevGlyphIndex = glyphIndex; prevGlyphIndex = glyphIndex;
prevCharacter = unicode; prevCharacter = unicode;