aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/TemplateProgram.kt
diff options
context:
space:
mode:
authorAbe Pazos <abe@hamoid.com>2020-07-13 11:15:56 +0200
committerAbe Pazos <abe@hamoid.com>2020-07-13 11:15:56 +0200
commit797d2a75ca99a01bb388e7dc510d83210fd05fdc (patch)
treee87940f37bd35d42b7095602fb58d3730be0d3ee /src/main/kotlin/TemplateProgram.kt
parentb7dbf58574e9c483d4e2c7dd049cdae06f3b20c8 (diff)
downloadart-playground-openrndr-797d2a75ca99a01bb388e7dc510d83210fd05fdc.tar.gz
art-playground-openrndr-797d2a75ca99a01bb388e7dc510d83210fd05fdc.zip
Add default font and license
Diffstat (limited to 'src/main/kotlin/TemplateProgram.kt')
-rw-r--r--src/main/kotlin/TemplateProgram.kt4
1 files changed, 2 insertions, 2 deletions
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
+}