Changes between Version 2 and Version 3 of documentation/C++Manual/Fonts
- Timestamp:
- 02/07/08 13:01:04 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
documentation/C++Manual/Fonts
v2 v3 13 13 14 14 This function will load the font file specified (opening it through the file interface). The font's family (the string you specify the font with using the 'font-family' RCSS property), the style (normal or italic) and weight (normal or bold) are all fetched from the font file itself. Rocket will generate the font data for specific sizes of the font as required by the application. 15 16 Note that if you are loading a .ttc, only the first font will be registered. 15 17 16 18 If you need to override the family name, style or weight of the font, use the more complex ''LoadFontFace()'': 48 50 }}} 49 51 50 These fonts would be specified in RCSS with the following rules :52 These fonts would be specified in RCSS with the following rules (assuming 'trilobyte.ttf' registers a font of the family 'Trilobyte'): 51 53 {{{ 52 54 body