Updates in text rendering

- The bitmap/font-metric/tt-font files are now loaded via ResourceFile.
Multiple changes

- Turned some functions into library functions in text rendering utilities.
- Updated web index page.