ThingPulse / esp8266-oled-ssd1306

Driver for the SSD1306 and SH1106 based 128x64, 128x32, 64x48 pixel OLED display running on ESP8266/ESP32
https://thingpulse.com
Other
2k stars 638 forks source link

Different line break behavoir between drawString and drawStringMaxWitdh #218

Closed dve closed 4 years ago

dve commented 6 years ago

If you use drawString a line break in the string is a line break on the display. In the drawStringMaxWidth its ignored.

ketan commented 5 years ago

I'm seeing the same issue:

display.drawStringMaxWidth(0, 0, 128, "Lorem ipsum\n dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore.");

Seems to display the following on a 0.96inch oled:

IMG_20190323_091115

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.