A pure-Lua text-rendering module for Corona SDK which can handle basic HTML, fonts, font-styles, and even basic font metrics. It handles left/center/right justification, fonts, bold/italic/underline.
It also creates hyperlinks which can call actions. I use those to open websites, show graphics on the page, etc.
There is a table of font metrics, derived from actual fonts. This allows you to match output with desktop apps, especially Adobe InDesign. Text is aligned at the baseline, not some arbitrary top line.
It caches the render into an sqlite3 database for faster redrawing. I built it to handle eBooks, and it works very well. I have been using versions of it for over a year.
Works with Corona build #:
2014.2300
Category:
Contributor:
David Gross