Open gilesp1729 opened 4 months ago
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.
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)