Changes from Version 1 of documentation/LuaManual/Fonts
- Timestamp:
- 05/19/12 07:41:39 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
documentation/LuaManual/Fonts
v0 v1 1 = Loading fonts = 2 3 The ''rocket'' table in Lua exposes the ''LoadFontFace()'' function for loading a supported font file from Lua. The function takes a single string as a parameter, the file name of the font to load. 4 5 {{{ 6 rocket.LoadFontFace("../assets/Delicious-Roman.ttf") 7 rocket.LoadFontFace("../assets/Delicious-Bold.ttf") 8 }}}