- Fixed: font monospacing didn't apply to the space character.

SVN r2666 (trunk)
This commit is contained in:
Braden Obrzut 2010-09-01 22:26:07 +00:00
parent 0202c0c3a9
commit 241e09c271

View file

@ -1349,7 +1349,10 @@ public:
{ {
if(*str == ' ') if(*str == ' ')
{ {
if(script->spacingCharacter == '\0')
ax += font->GetSpaceWidth(); ax += font->GetSpaceWidth();
else
ax += font->GetCharWidth((int) script->spacingCharacter);
str++; str++;
continue; continue;
} }