feat(renderer): update font to CrimsonText-Regular in theme factory beans and adjust font leading

This commit is contained in:
extio-de
2026-02-07 17:07:02 +01:00
parent 80ae5131cf
commit 69e3db831d
4 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

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

View File

@@ -8,7 +8,7 @@ public class DreamThemeFactoryBean implements FactoryBean<Theme> {
public Theme getObject() {
return Theme.builder()
.name("Dream")
.font("EBGaramond-Regular.ttf")
.font("CrimsonText-Regular.ttf")
.patternRendererName("dreamPatternRenderer")
.borderOuter(new HSBColor(0.74f, 0.22f, 0.80f))
.borderInner(new HSBColor(0.83f, 0.18f, 0.95f))

View File

@@ -8,7 +8,7 @@ public class FantasyThemeFactoryBean implements FactoryBean<Theme> {
public Theme getObject() {
return Theme.builder()
.name("Fantasy")
.font("EBGaramond-Regular.ttf")
.font("CrimsonText-Regular.ttf")
.patternRendererName("fantasyPatternRenderer")
.borderOuter(new HSBColor(0.12f, 0.55f, 0.48f))
.borderInner(new HSBColor(0.14f, 0.25f, 0.72f))