You are reading a single comment by @user142091 and its replies. Click here to read the full conversation.
  • That's great! Please feel free to send in whatever changes you have and I'll pull them into the main app.

    For the image, suppose you put ż into the image converter (best to tick transparency + invert + crop) and got var img = E.toArrayBuffer(atob("BwsBEAAD4MEEECCB8A­=="))

    "ż".charCodeAt() gives you 380

    So then you'd put in:

    var unicodeRemap = {
    380:"\0"+atob("BwsBEAAD4MEEECCB8A==")
    };
    

    And that should hopefully do it for you :)

    I should add that right now the character will be rendered in the image's size regardless of the size of the font. I've been considering changing Espruino so that if you provide an image it'll scale it up until it matches the current font size though - so I think that would be a big help

  • Thanks, I think I will stick with maping as using images makes it look weird with different font sizes. But when this update with scaling comes I will happily get back to it and help with the code.

About

Avatar for user142091 @user142091 started