Cinder-SdfText icon indicating copy to clipboard operation
Cinder-SdfText copied to clipboard

Crash if glyph is missing.

Open paulhoux opened this issue 9 years ago • 1 comments

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.

paulhoux avatar Jul 27 '16 12:07 paulhoux

I added a skip for now: https://github.com/chaoticbob/Cinder-SdfText/commit/bdf46436fbfa12c7d07b5684818112849db8e2f5.

I'll add some logic to add missing glyphs soon.

chaoticbob avatar Jul 27 '16 20:07 chaoticbob