mirror of https://github.com/espruino/BangleApps
Pastel: f_orbitron font module
parent
8576d90e50
commit
a29bba62cb
|
@ -78,7 +78,8 @@ function loadFonts() {
|
||||||
else if (settings.font == "Elite")
|
else if (settings.font == "Elite")
|
||||||
require("f_elite").add(Graphics);
|
require("f_elite").add(Graphics);
|
||||||
else
|
else
|
||||||
require("f_lato").add(Graphics);
|
//require("f_lato").add(Graphics);
|
||||||
|
require("f_orbitron").add(Graphics);
|
||||||
}
|
}
|
||||||
|
|
||||||
var mm_prev = "xx";
|
var mm_prev = "xx";
|
||||||
|
@ -140,7 +141,8 @@ function draw() {
|
||||||
else if (settings.font == "Elite")
|
else if (settings.font == "Elite")
|
||||||
g.setFontSpecialElite();
|
g.setFontSpecialElite();
|
||||||
else
|
else
|
||||||
g.setFontLato();
|
//g.setFontLato();
|
||||||
|
g.setFontOrbitron();
|
||||||
|
|
||||||
g.setFontAlign(1,-1); // right aligned
|
g.setFontAlign(1,-1); // right aligned
|
||||||
g.drawString(hh, x - 6, y);
|
g.drawString(hh, x - 6, y);
|
||||||
|
|
Loading…
Reference in New Issue