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 | 12c65fc9d62e4152853864c3b24b15be2ce81c87 (patch) | |
| tree | bf73b2a03cddf0b98a672929e2095a2f3198d611 /src/main | |
| parent | 28a1f4862e29c85e3c390a95108187f6d3a25a8b (diff) | |
| parent | 797d2a75ca99a01bb388e7dc510d83210fd05fdc (diff) | |
| download | art-playground-openrndr-12c65fc9d62e4152853864c3b24b15be2ce81c87.tar.gz art-playground-openrndr-12c65fc9d62e4152853864c3b24b15be2ce81c87.zip | |
Merge pull request #11 from hamoid/defaultFont
Add default font and license
Diffstat (limited to 'src/main')
| -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 +} |
