I’m not trying to do anything complex or fancy. I used BMFont by Angel code as specified in the TextCandy documentation.
I created a bitmap from a single letter, just to see if it would work after no success with an entire set, and it seems there may be an actual bug within the lib_text_candy file.
Here is the error read out:
lib_text_candy.lua:327: attempt to index field ’ ’ (a nil value)
That line is this:
[lua]AddCharset (name, Font.Sheet, Font.Sheet.file, charOrder, Font.chars[’ '].xadvance, 0, Font.info.lineHeight )[/lua]
I’m not sure exactly what the line does, or why there is an array index of ’ ', but wanted to point it out if it’s an error. If not, please let me know what I can do to get AddCharsetFromBMF working. [import]uid: 49447 topic_id: 23178 reply_id: 323178[/import]