G6EJD / ESP32-e-Paper-Weather-Display

An ESP32 and 2.9", 4.2" or 7.5" ePaper Display reads Weather Underground data via their API and then displays the weather
Other
959 stars 206 forks source link

Waveshare 7.5 Bugfixes #117

Closed kroehrl closed 3 years ago

kroehrl commented 3 years ago

Hey,

this PR uses the getUTF8Width function in the drawString Method to determine the width of the Strings which should be drawn to the Display.

Furthermore this PR fixes other small cosmetic issues like

That's it :) Maybe the one or other thing could also be used for other display sizes. But I don't have such displays to test, thats why I only focused on the (old) 7.5 display.

G6EJD commented 3 years ago

First of all, thank for doing this, it is much appreciated. Before I commit the changes can you confirm you have tested the changes.

kroehrl commented 3 years ago

Yes I did with an Waveshare ESP32 and an Waveshare 7.5 Display.

See the attached file. :) Waveshare75

Picture with English Language, implemented with German Language (which is fine too). Anything else what should be tested from your point of view? ;)

G6EJD commented 3 years ago

Thank you