pebble-dev / RebbleOS

open source operating system for low-power smartwatches
Other
355 stars 38 forks source link

GTextOverflowModeWordWrap doesn't seem to work as intended #59

Open gameblabla opened 6 years ago

gameblabla commented 6 years ago

Again, in my game Western Ideals, i've noticed that some of the text is not rendered.

differance_txt2 See this line of code for reference. https://github.com/gameblabla/western_ideals/blob/master/src/c/test.c#L764

I made a smaller test and i could confirm the issue.

text_diff If you look closer at the string in the RebbleOS pict (see above), it does not display any text that could wrap over.

Rather than put the text at the next line (like the official Pebble firmware does), instead it abruptly ends.

See test program here : https://github.com/gameblabla/testapp_pebble/tree/master/test_text

jwise commented 4 years ago

I'm tackling some of the GText issues now. Lots of things about overflow behavior in GText are not great. I'll hope to have some progress on this this weekend.