From e1dd29c6fe780eb976baa8a0b8f756b4fc2d0a9b Mon Sep 17 00:00:00 2001 From: Stef Tervelde Date: Sat, 25 Jan 2025 11:12:06 +0100 Subject: [PATCH] Fixed missing fonts on Linux --- app/build.gradle.kts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 05a06d471..9d2c9bd3a 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -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")) } }