mindsnacks/moai-dev — pull request #83 by kstenerud (2014-09-16 22:21:40+00:00)
Title: [FINAL] MOAIFreeTypeFont: Fix NumberOfLinesToDisplayText()

`NumberOfLinesToDisplayText()` would always crash if called outside of a render function because `mGlyphArray` and `mAdvanceArray` are explicitly created and cleared by `RenderTexture()`

This PR adds the initialization and teardown to `NumberOfLinesToDisplayText()`