I’m probably being dumb here but I can’t work out why my font texture won’t build, I’ve never had any problem before. It’s giving an error of “Index was outside the bounds of the array” from the ExtractGlypths method.
I can’t remember what the rules are exactly for getting this to work and I’ve never been that great at reading the source code.
I tried to narrow it down by just creating a small bitmap of the first 12 characters
Could anyone tell me why this builds fine :
And this fails with the error above: