mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 21:21:04 +00:00
- Fixed: font monospacing didn't apply to the space character.
SVN r2666 (trunk)
This commit is contained in:
parent
0202c0c3a9
commit
241e09c271
1 changed files with 4 additions and 1 deletions
|
@ -1349,7 +1349,10 @@ public:
|
|||
{
|
||||
if(*str == ' ')
|
||||
{
|
||||
ax += font->GetSpaceWidth();
|
||||
if(script->spacingCharacter == '\0')
|
||||
ax += font->GetSpaceWidth();
|
||||
else
|
||||
ax += font->GetCharWidth((int) script->spacingCharacter);
|
||||
str++;
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue