You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • This code works fine for me - see attached:

    var widths = atob("BAUJCQkQDwQFBQkJBAUEBAkJCQkJCQkJCQkEBAkJCQcNCQkMDAoJDA0FBgwKEA0NCQ0MCAsMDBAMDAwFBAU=");
    var font = atob("AAAAAAAAAAAAAAAAAAAAAAAAAAAAVAAQAv/49AGpQGAAAAAAAAAAAAAAAAAD/AAAAVAAAAFUAAAD/AAAAAAAAAAAAAAAAAAAAAAUAAAJGFAAH7/wA/+oAAAJGBAADr/wA/+oAAEJGAAABQAAAAABQAH+ALADX4AkGlfVaRpW9WkGAPlwA4B/0AAABQAAAAAAAAAAAABUAAAC/QAAAgIAAAUCACQDqgHQAfgeAAAAoAAAB0AAACgL0ALQKrAFACAUAAAgIAAAL+AAAAVAAAAAAAAAAAAAAC+AAKDn4AO+ALAFDwA0AgvAMAPx8GAAQH2AAAAfQAAAJ+AAFYC0AB4AOAAYACQAFAAgAAAAQAAAAAAD/AAAAVAAAAAAAAAAABQAAB//9AHkAF8FAAAAAAAAAAAAAAAGAAABAflBbgAb/9AAAAAAAAAAAAGFAAAA3QAAAVUAAAOrAAAAMAAAACAAAAAAAAAAAAAAAAAAAAAADAAAAAwAAAAcAAAD//AAAAwAAAAMAAAADAAAAAAAAAAAYAAAAPAAAAB/AAAAAAAABAAAACgAAAAoAAAAKAAAABQAAAAAAAAAALAAAADwAAAAEAAAG+AABvkAAb5AAAuQAAAAAEAAAG//QAHlVuACAAAgBQAAFAMAAHAC/qvQAG/+AAAAAAAAAAAAAFAAEACAACAC6qqwA///8AAAACAAAAAQAAAAAAAAAAAAQAAwAYAA8AMAAnAHABxwA5HwcAL/gHAAZABwAAAAkAAAAAAAAABQAEAAcAMAQCQDAcAUB0LAMAP8+tAAUH9AAAAAAAAAAAAAAHgAAAH4AAAKKAAANCgAAeV9UAf///AAACgAAAAUAAAAAAAAAABgAAAAMABuABQDjwAgA0PQYANB/8ADQCkAAQAAAAAAAAAAAGkAAAv/0A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AABAAAgBgFVsAf6pbAC/QAgAC/QAAAC/QAAAC/QAAAD4AAAHgAAAZAAABkAEALlVXAH///wBlVVsAEAACAAAAAAAQAAEAYAACAH///wAvAAMAC8ABAAHwAAAAfAAAAB9AAAAH0ABQAfQAdAB+AH6qqgBQAAAAAGpAAAP/8AAPlvwANAAeAGAAAwBQAAJAUAABQGAAAgA4AAYAH0BtAAf/9AAAv4AAAAAAAFAAAgB///8Af///AFAAAgAgCQEANAwAAC/4AAAL4AAAAAAAAAAAAAAB/9AAC//0AC0AfQAwAAsAUAACAFAAAYBQAAHQMAAC8C0ADnAP6vwgAv/QAAAVAABQAAIAeqqrAH///wBgCAMAYAwBADAfQAA+t/AAH+C9AAFAHwAAAAMAAAACAAAAAAAGQBoAL/AHACC8AkBQLQFAUA8DAHQL/QAAAfQAAAAAALQAAABgAAAAYAABAGAAAgB///8AeqqvAGAAAgBgAAAAYAAAALgAAAAAAAAAUAAAAHVVUAB///wAdVVvABAAAwAAAAJAAAACQAAAAgBQAAYAf//4AGQAAAAAAAAAUAAAAHQAAAB/gAAAa/0AAAB/4AAAAv8AAAAuAAAG0ABQuQAAf0AAAHQAAAAQAAAAUAAAAHQAAAB/gAAAZ/0AAABv4ABgAf8AfQAuAH/h4AAR/0AAUtv0AH0AvwBgAGkAABuAAFLkAAB9AAAAYAAAAFAAAgB0AAcAfQAfAG+AoQAC90AAAH4AAACvgAASgvUAfQB/AHAADwBgAAMAAAABABAAAABgAAAAPAAAAH9AAAAX4AIAAL//AAAv/wAAoAIAV0AAAHgAAABgAAAAAAAAAAAAAQB4AAsAcAA/AGAB9wBgC9MAYD8CAGH4AwBr0AMAfwADAHgAAwAQAB4AAAAAAAAAAAB////wVVVVUIAAAAAAAAAAf4AAAAG+QAAABvkAAAAbQEAAAABAAAAAv///8BVVVVAAAAAA==");
    var scale = 1; // size multiplier for this font
    g.clear(1);
    g.setFontCustom(font, 32, widths, 16+(scale<<8)+(2<<16));
    
    for (var y=0;y<16;y++)
      for (var x=0;x<16;x++)
        g.drawString(String.fromCharCode(x+y*16), x*15, y*15);
    

    1 Attachment

    • screenshot.png
About

Avatar for Gordon @Gordon started