Skip to content

Commit

Permalink
Merge pull request #29426 from peppy/fix-dot-misalign
Browse files Browse the repository at this point in the history
Fix some characters ('.', ',') being misaligned in legacy counters
  • Loading branch information
smoogipoo authored Aug 15, 2024
2 parents 8bfb5ce + 054366b commit 70cfac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osu.Game/Skinning/LegacySpriteText.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public LegacyGlyphStore(string fontName, ISkin skin, Vector2? maxSize)
if (maxSize != null)
texture = texture.WithMaximumSize(maxSize.Value);

glyph = new TexturedCharacterGlyph(new CharacterGlyph(character, 0, 0, texture.Width, texture.Height, null), texture, 1f / texture.ScaleAdjust);
glyph = new TexturedCharacterGlyph(new CharacterGlyph(character, 0, 0, texture.Width, 0, null), texture, 1f / texture.ScaleAdjust);
}

cache[character] = glyph;
Expand Down

0 comments on commit 70cfac0

Please sign in to comment.