The NFont.MeasureString function gives me the rendered size of text, catering for word-wrap.
How can I find out the bounds of each character?
I can measure each character individually of course, but this requires me to re-implement the word-wrap rules without knowing how they've been implemented in MeasureString or PaintString. It's a clumsy approach, so I'm hoping there's a way to get at/interact with the existing implementation.
This might be unconnected, but I might need to generate NGlyphs and implement my own word-wrap rules - which is fine in theory, but I can't figure out how the NGlyph or NGlyphRun system hangs to together.
Any pointers much appreciated.