Skip to content

Commit 585d484

Browse files
committed
fixed a bug where font individual settings are not properly returned.
1 parent 7034342 commit 585d484

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

settings.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1203,6 +1203,7 @@ const CFontSettings& CGdippSettings::FindIndividual(LPCTSTR lpFaceName) const
12031203
CFontSettings& result = p->GetIndividual();
12041204
if (result.GetAntiAliasMode() > 2 && HarmonyLCD())
12051205
result.SetAntiAliasMode(2);
1206+
return result;
12061207
}
12071208
}
12081209
return GetFontSettings();

0 commit comments

Comments
 (0)