Early/Late scaling + Digital-Serial-Bold font

This commit is contained in:
domdoc 2022-05-24 11:04:06 +02:00
parent 8bbea73be5
commit 962f2c27d7
1 changed files with 3 additions and 3 deletions

View File

@ -47,12 +47,12 @@ function EarlyLate.render(deltaTime)
desh = 1080 desh = 1080
end end
local scale = desh / screenH local scale = screenH / desh
local y = screenH / 8 * heightFraction local y = screenH / 8 * heightFraction
gfx.BeginPath() gfx.BeginPath()
gfx.LoadSkinFont("dfmarugoth.ttf") gfx.LoadSkinFont("Digital-Serial-Bold.ttf")
gfx.FontSize(18 * scale) gfx.FontSize(20 * scale)
if EarlyLate.showEarlyLate then if EarlyLate.showEarlyLate then
gfx.TextAlign(gfx.TEXT_ALIGN_LEFT + gfx.TEXT_ALIGN_BASELINE) gfx.TextAlign(gfx.TEXT_ALIGN_LEFT + gfx.TEXT_ALIGN_BASELINE)