Adafruit-GFX-Library
Adafruit-GFX-Library copied to clipboard
Make Adafruit_GFX_Button::drawButton work with custom fonts by using …
A simple change to make Adafruit_GFX_Button::drawButton work with custom fonts by using getTextBounds to obtain the text bounds. (it is, afaik, also covered by PR #347 in a slightly different way)
Virtualising charBounds is really an unrelated change. I don't know how to (or if I can or should) make it the subject of a separate PR.