mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 12:10:00 +00:00
More font fix
This commit is contained in:
parent
adc7127055
commit
585300cd33
|
@ -432,7 +432,7 @@ CFont::PrintChar(float x, float y, wchar c)
|
||||||
|
|
||||||
bDontPrint = c == '\0';
|
bDontPrint = c == '\0';
|
||||||
float w = GetCharacterWidth(c) / 32.0f;
|
float w = GetCharacterWidth(c) / 32.0f;
|
||||||
if (RenderState.bFontHalfTexture && c == 208)
|
if (Details.bFontHalfTexture && c == 208)
|
||||||
c = '\0';
|
c = '\0';
|
||||||
float xoff = c % 16;
|
float xoff = c % 16;
|
||||||
float yoff = c / 16;
|
float yoff = c / 16;
|
||||||
|
@ -1051,10 +1051,10 @@ CFont::GetCharacterWidth(wchar c)
|
||||||
return Size[LanguageSet][Details.style][192];
|
return Size[LanguageSet][Details.style][192];
|
||||||
#else
|
#else
|
||||||
|
|
||||||
if (Details.proportional)
|
if (RenderState.proportional)
|
||||||
return Size[Details.style][c];
|
return Size[RenderState.style][c];
|
||||||
else
|
else
|
||||||
return Size[Details.style][209];
|
return Size[RenderState.style][209];
|
||||||
#endif // MORE_LANGUAGES
|
#endif // MORE_LANGUAGES
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue