Fonts: ImFontConfig::OversampleH now defaults to 2 instead of 3.

This commit is contained in:
ocornut
2023-07-29 16:22:30 +02:00
parent c87b9fdb15
commit eefc9035f0
4 changed files with 5 additions and 3 deletions

View File

@ -1961,7 +1961,7 @@ ImFontConfig::ImFontConfig()
{
memset(this, 0, sizeof(*this));
FontDataOwnedByAtlas = true;
OversampleH = 3; // FIXME: 2 may be a better default?
OversampleH = 2;
OversampleV = 1;
GlyphMaxAdvanceX = FLT_MAX;
RasterizerMultiply = 1.0f;