fix(G2DDrawFont): adjust FONT_LEADING from 1.75 to 1.5 for improved text rendering
This commit is contained in:
@@ -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<>();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user