opcon / QuickFont

A Modern OpenGL Font Rendering Library for OpenTK
https://github.com/opcon/QuickFont
MIT License
83 stars 25 forks source link

Null Reference exception when loading fonts on OSX/Linux #11

Closed opcon closed 8 years ago

opcon commented 8 years ago

Mono's MeasureString library does not return a very good estimate of the actual string size, which means that when the glyphs are measured precisely, the size is larger than the MeasureString size. This leads to glyphs not fitting on the texture page when they are packed, and so they are never assigned.

opcon commented 8 years ago

Fixed in #12