diff options
| author | Abe Pazos <abe@hamoid.com> | 2020-07-13 11:15:56 +0200 |
|---|---|---|
| committer | Abe Pazos <abe@hamoid.com> | 2020-07-13 11:15:56 +0200 |
| commit | 797d2a75ca99a01bb388e7dc510d83210fd05fdc (patch) | |
| tree | e87940f37bd35d42b7095602fb58d3730be0d3ee /src/main/kotlin | |
| parent | b7dbf58574e9c483d4e2c7dd049cdae06f3b20c8 (diff) | |
| download | art-playground-openrndr-797d2a75ca99a01bb388e7dc510d83210fd05fdc.tar.gz art-playground-openrndr-797d2a75ca99a01bb388e7dc510d83210fd05fdc.zip | |
Add default font and license
Diffstat (limited to 'src/main/kotlin')
| -rw-r--r-- | src/main/kotlin/TemplateProgram.kt | 4 |
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 +} |
