wwatson4506 / Ra8876LiteTeensy

Teensy RA8876 Driver
14 stars 6 forks source link

Fix charbounds and centered text issues #10

Closed mjs513 closed 3 years ago

mjs513 commented 3 years ago

This is a similar fix that resulted from @KurtE's changes to the ILI9431_t3n library:

The charbounds code did not take the caps height font value into account for giving you the correct positions when for example simply asking for the
bounds for "-"

Also then the centering code did not properly handle the X and/or Y offsets, it like the width put it into the / 2, where it should be the whole value.