Pastel: f_orbitron font module

pull/932/head
hughbarney 2021-11-22 21:29:26 +00:00
parent 8576d90e50
commit a29bba62cb
1 changed files with 4 additions and 2 deletions

View File

@ -78,7 +78,8 @@ function loadFonts() {
else if (settings.font == "Elite")
require("f_elite").add(Graphics);
else
require("f_lato").add(Graphics);
//require("f_lato").add(Graphics);
require("f_orbitron").add(Graphics);
}
var mm_prev = "xx";
@ -140,7 +141,8 @@ function draw() {
else if (settings.font == "Elite")
g.setFontSpecialElite();
else
g.setFontLato();
//g.setFontLato();
g.setFontOrbitron();
g.setFontAlign(1,-1); // right aligned
g.drawString(hh, x - 6, y);