• So actually everything is working fine now, it's just that you don't agree with the font size that's chosen?

    The code for this is at https://github.com/espruino/BangleApps/blob/master/apps/messagegui/app.js#L345-L360 but actually what it's doing looks pretty reasonable.

    I think the issue is that because we're using just this one font, the only choices for font size we have are that size, 2x the size or 3x the size.

    Because it's that way fontMedium is set as the normal size, not the 2x size (https://github.com/espruino/BangleApps/blob/master/apps/messagegui/app.js#L34-L44) but maybe that could be changed.

    I imagine that in the example you give, doubling the font size (and wrapping without breaking the words) would almost certainly not fit on the screen which is why it's chosen the smaller font.

    Personally this is low priority for me at the moment though - I've put a massive amount of effort in to UTF8 support, new font rendering, converting fonts and providing them for different languages in easy to upload apps, and iOS and Android support, but when it's at the point where font sizes are a bit wrong it'd be nice if someone else could jump in :)

  • Alright, I didn't know this was the intended behavior. That's perfectly alright then. The text is still legible, and it does look good. Thank you for explaining!

About

Avatar for houshou_m @houshou_m started