• Thanks.
    Still trying to understand why this gives unknown font on my code

    Modules.addCached("Font7x11Numeric7Seg",function(){exports.add=function(a){a.prototype.setFont7x11Numeric7Seg=function(){this.setFontCustom(atob("AAAAAAAAAAAAAAEAAAAQAgBACAAAAHvQBgDAGAL3gAAAAAAAAAAHvAAA9CGEMIYQvAAAACEMIYQwhe8AB4AIAQAgBA94ADwIQwhhDCEDwAHvQhhDCGEIHgAAAgBACAEAHvAAe9CGEMIYQveAA8CEMIYQwhe8AAABjDGAAAA96EEIIQQge8AB7wIQQghBCB4AD3oAwBgDAEAAAAPAhBCCEEL3gAPehDCGEMIQAAAe9CCEEIIQAAAAAAAA"),32,atob("BwAAAAAAAAAAAAAAAAcCAAcHBwcHBwcHBwcFAAAAAAAABwcHBwcH"),11)}}}); 
    // Load fonts 
    require("Font7x11Numeric7Seg").add(Graphics); 
    Bangle.setLCDTimeout(40); 
     
    function myFunction(txt) {   
      g.reset(); 
      g.setFont("Font7x11Numeric7Seg",4);   
      g.setFontAlign(0,0);  
      g.drawString(txt, 130, 120, true); 
    } 
     
    g.clear(); 
     
    myFunction("12:20");
    
About

Avatar for mg @mg started