Add default font and license

This commit is contained in:
Abe Pazos
2020-07-13 11:15:56 +02:00
parent b7dbf58574
commit 797d2a75ca
4 changed files with 94 additions and 2 deletions

View File

@@ -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)
}
}
}
}