Fixed missing fonts on Linux

This commit is contained in:
Stef Tervelde
2025-01-25 11:12:06 +01:00
parent 8ea1f10679
commit e1dd29c6fe
+3 -4
View File
@@ -59,6 +59,8 @@ compose.desktop {
}
entitlementsFile.set(project.file("entitlements.plist"))
runtimeEntitlementsFile.set(project.file("entitlements.plist"))
// Allow swing to use the system look and feel
jvmArgs("-Dapple.awt.application.appearance=system")
}
windows{
iconFile = project.file("../build/windows/processing.ico")
@@ -67,12 +69,9 @@ compose.desktop {
}
linux {
iconFile = project.file("../build/linux/processing.png")
jvmArgs("-Dawt.useSystemAAFontSettings=on")
}
// Allow swing to use the system look and feel
jvmArgs(
"-Dapple.awt.application.appearance=system"
)
appResourcesRootDir.set(layout.buildDirectory.dir("resources-bundled"))
}
}