Use yAdvance to correctly adjust the cursor position when setting/restore custom font
rspurlock opened this issue · comments
Randy Spurlock commented
Instead of hard coding a 6 pixel adjustment for the cursor Y position in setFont method shouldn't the code use the yAdvance field of the new font (or the yAdvance from the custom font when going back to system fonts) to correctly adjust the cursor position for custom fonts?