fix(G2DDrawFont): adjust FONT_LEADING from 1.75 to 1.5 for improved text rendering

This commit is contained in:
extio-de
2026-10-15 09:07:48 +02:00
parent 5e9b9ee898
commit 2883e0ebef

View File

@@ -34,7 +34,7 @@ public class G2DDrawFont extends G2DAbstractRenderingBo implements DrawFontRende
public final static int FONT_SIZE_DEFAULT = 18; public final static int FONT_SIZE_DEFAULT = 18;
public final static double FONT_LEADING = 1.75; public final static double FONT_LEADING = 1.5;
private static final AtomicReference<Font> cachedFontRef = new AtomicReference<>(); private static final AtomicReference<Font> cachedFontRef = new AtomicReference<>();