• Hello,

    I noticed two problems with the Gadgetbridge "text to image" feature.

    1/ Text immediately followed by an emoji will be displayed in white, and is thus invisible. (See screenshot, the test was test🙂

    2/ The euro symbol € seems to be twice smaller than the other characters, and when there are digits attached to it, the digits reduce in size as well. (See screenshots, the tests were 15,50€ and 50 €.

    Is this more a Gadgetbridge issue than a Bangle JS issue?

    Thanks,


    3 Attachments

    • IMG_20240603_091318.jpg
    • IMG_20240603_091515.jpg
    • IMG_20240603_091253.jpg
  • (I have the fontext package installed on firmware 2v21.70)

  • Hi - the issue with font size is the text is rendered on the phone, where is doesn't know what size the Bangle wants it. There is a setting for the text to bitmap font size in Gadgetbridge, and you can change that if you wish (but bigger size = slower and more memory used for each message).

    The font colour one is an interesting one too - again Gadgetbridge doesn't know what colour to render of the watch. It's not a big deal for black and white text as the Bangle knows what to render as, but for colour, the colour used is explicit.

    Both issues are Gadgetbridge. Font size is something you can adjust and honestly you probably just have to deal with, but the text color one - I think we'll have to just make sure Gadgetbridge splits up test🙂 into two parts. test, and 🙂

    As you have fontext you don't really need 'text to bitmap' - but then you don't get the smileys. So I guess ideally there'd be a middle ground where text isn't converted at all, just emojis

  • I understand now, indeed the default size for "text to image" is 18. The problem is that this does not adapt to the size of the other "non image" characters. (See screenshots with example sizes 18 and 36)

    So my best bet is to keep it at 18 so that it matches the smallest possible font size and live with it.

    However yes we need to split the text around the "image" characters. I just realized that the behavior also applies to text that is before and emoji or € sign.


    2 Attachments

    • IMG_20240603_140727.jpg
    • IMG_20240603_140639.jpg
  • the default size for "text to image" is 18. The problem is that this does not adapt to the size of the other "non image" characters

    Yes - this is just what happens on Android. It's a bit odd but for a certain font size, emoji seem rendered way bigger than fonts are.

    I just took a quick look at splitting text up and have made some changes, so this should be fixed on the next Gadgetbridge nightly build

  • Thank you so much for the fast fix!

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Problem with Gadgetbridge's "text to image" feature

Posted by Avatar for Pologram @Pologram

Actions