From 797d2a75ca99a01bb388e7dc510d83210fd05fdc Mon Sep 17 00:00:00 2001 From: Abe Pazos Date: Mon, 13 Jul 2020 11:15:56 +0200 Subject: Add default font and license --- src/main/kotlin/TemplateProgram.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/kotlin/TemplateProgram.kt') diff --git a/src/main/kotlin/TemplateProgram.kt b/src/main/kotlin/TemplateProgram.kt index 9aa77ec..5d13057 100644 --- a/src/main/kotlin/TemplateProgram.kt +++ b/src/main/kotlin/TemplateProgram.kt @@ -14,7 +14,7 @@ fun main() = application { program { val image = loadImage("data/images/pm5544.png") - val font = loadFont("data/fonts/IBMPlexMono-Regular.ttf", 64.0) + val font = loadFont("data/fonts/default.otf", 64.0) extend { drawer.drawStyle.colorMatrix = tint(ColorRGBa.WHITE.shade(0.2)) @@ -28,4 +28,4 @@ fun main() = application { drawer.text("OPENRNDR", width / 2.0, height / 2.0) } } -} \ No newline at end of file +} -- cgit v1.3.1