I just wrote a little "program" to find out which fonts on a Bangle.js 2 will be reported properly and which will not:
print('which fonts will not properly be reported?');
print('');
let FontList = g.getFonts();
for (let i = 0, l = FontList.length; i < l; i++) {
let Font = FontList[i];
g.setFont(Font);
if (g.getFont() === Font) {
print('== set: "' + Font + '", got "' + Font + '"');
} else {
print('<> set: "' + Font + '", got "' + g.getFont() + '"');
}
}
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I just wrote a little "program" to find out which fonts on a Bangle.js 2 will be reported properly and which will not:
Outcome: