[FONT][WIN32SS] Optimize a bit

This commit is contained in:
Katayama Hirofumi MZ 2018-12-27 09:23:49 +09:00
parent d1de19002a
commit 6ee576f91d

View file

@ -5806,6 +5806,8 @@ GreExtTextOutW(
DxShift = fuOptions & ETO_PDY ? 1 : 0;
use_kerning = FT_HAS_KERNING(face);
previous = 0;
if ((fuOptions & ETO_OPAQUE) ||
(pdcattr->lTextAlign & (TA_CENTER | TA_RIGHT)))
{
TextLeft = RealXStart;
TextTop = YStart;