Skip to content

Commit e1dd29c

Browse files
committed
Fixed missing fonts on Linux
1 parent 8ea1f10 commit e1dd29c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

app/build.gradle.kts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ compose.desktop {
5959
}
6060
entitlementsFile.set(project.file("entitlements.plist"))
6161
runtimeEntitlementsFile.set(project.file("entitlements.plist"))
62+
// Allow swing to use the system look and feel
63+
jvmArgs("-Dapple.awt.application.appearance=system")
6264
}
6365
windows{
6466
iconFile = project.file("../build/windows/processing.ico")
@@ -67,12 +69,9 @@ compose.desktop {
6769
}
6870
linux {
6971
iconFile = project.file("../build/linux/processing.png")
72+
jvmArgs("-Dawt.useSystemAAFontSettings=on")
7073
}
7174

72-
// Allow swing to use the system look and feel
73-
jvmArgs(
74-
"-Dapple.awt.application.appearance=system"
75-
)
7675
appResourcesRootDir.set(layout.buildDirectory.dir("resources-bundled"))
7776
}
7877
}

0 commit comments

Comments
 (0)