TheCherno/Sparky

Font Metrics

TheCherno opened this issue · 1 comments

Sparky needs to support font metrics (i.e. measuring the size of a string using a certain font). This is vital for UI, and needs to be done as soon as possible. FreeType supports all of this, it would just be a matter of hooking it up and creating an API for it (probably in the Font class, and additionally possibly exposed through Label).

Added in rev aa2d8f7.