diff options
| author | Edwin Jakobs <edwin@rndr.studio> | 2020-07-13 11:31:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-13 11:31:19 +0200 |
| commit | f491969356f12e12491420502ce6feb407f1907b (patch) | |
| tree | bf73b2a03cddf0b98a672929e2095a2f3198d611 /src/main/kotlin | |
| parent | 0432d6327a9a29f8b862ced7ba89c3609f9b5a6d (diff) | |
| parent | c8eacf4461b48275ed05c8c731adaaa9b487cbae (diff) | |
| download | art-playground-openrndr-f491969356f12e12491420502ce6feb407f1907b.tar.gz art-playground-openrndr-f491969356f12e12491420502ce6feb407f1907b.zip | |
Merge pull request #11 from hamoid/defaultFont
Add default font and license
Diffstat (limited to '')
| -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 +} |
