You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • @DavSlinker not really I'm afraid, on Gadgetbridge the code is basically already there - I hope that when the custom version is in the play store, features will get added more quickly

    @user142091 ok, well that's easier in some ways since in iOS we can't render in the phone.

    There's a list of unicode remappings at https://github.com/espruino/BangleApps/b­lob/master/apps/ios/boot.js#L116 which is currently very empty.

    You could either:

    • simply remap the unicode for ż to z, OR...
    • make an image for ż on your PC, use https://www.espruino.com/Image+Converter­ to convert it to an image string, add \0 to the front of it, and use that.
    • One other option (which isn't handled yet) is for me to allow drawString to write one character over the top of the last. So for instance z and ' could be rendered on top of each other to produce something that looked at least a little like ż without having to include a bitmap font.

    The replacements are something I'd love to get in, so if I can help with that I'd be very happy to. I guess the first option is pretty easy and would (for now) at least make messages readable?

  • @Gordon thank you for detailed answer! I will look into it. I am not js expert, so I need some time to digest things but I will try :).

  • Ok, I've done remaping in iOS integration app. Now I want to explore second option.
    But I am not sure what do you mean by:

    make an image for ż on your PC, use https://www.espruino.com/Image+Converter­ to convert >it to an image string, add \0 to the front of it, and use that.

    After conversion to string, where should I use it in code?

About

Avatar for Gordon @Gordon started