diff --git a/core/assets/contributors b/core/assets/contributors index 6f9a60b556..a11328d412 100644 --- a/core/assets/contributors +++ b/core/assets/contributors @@ -194,4 +194,5 @@ TheCuber Jovinull Alon 硫缺铅/PyratiteNoLead -Space \ No newline at end of file +Space +NeilGreenFly \ No newline at end of file diff --git a/core/src/mindustry/ui/Fonts.java b/core/src/mindustry/ui/Fonts.java index d71e88ff86..397b42b472 100644 --- a/core/src/mindustry/ui/Fonts.java +++ b/core/src/mindustry/ui/Fonts.java @@ -153,8 +153,8 @@ public class Fonts{ glyph.v = region.v2; glyph.u2 = region.u2; glyph.v2 = region.v; - glyph.xoffset = 0; - glyph.yoffset = -size; + glyph.xoffset = (size - glyph.width) / 2; + glyph.yoffset = (size - glyph.height) / 2 - size; glyph.xadvance = size; glyph.kerning = null; glyph.fixedWidth = true;