I've got a font as a sprite sheet with individual characters arranged in the exactly same way as a .ttf file.
How can I get the index of the characters from a string so that I can know the index of the source rectangle to use to grab the correct character from the sprite sheet?
For example
string foo = "acb"
If I were to grab the character at index 0 'a', it would return the correct index of the source rectangle to draw an 'a'.