Cinder-SdfText
Cinder-SdfText copied to clipboard
Crash if glyph is missing.
I tried to render Japanese text using Arial, but the application crashed here and here.
It could not find the glyph index, so iter becomes end. To me, it looks like missing glyphs are not automatically added to the texture yet.
I added a skip for now: https://github.com/chaoticbob/Cinder-SdfText/commit/bdf46436fbfa12c7d07b5684818112849db8e2f5.
I'll add some logic to add missing glyphs soon.