Changes between Version 2 and Version 3 of documentation/C++Manual/Fonts

Show
Ignore:
Author:
peterc (IP: 203.96.63.172)
Timestamp:
02/07/08 13:01:04 (10 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • documentation/C++Manual/Fonts

    v2 v3  
    1313 
    1414This 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 
     16Note that if you are loading a .ttc, only the first font will be registered. 
    1517 
    1618If you need to override the family name, style or weight of the font, use the more complex ''LoadFontFace()'': 
    4850}}} 
    4951 
    50 These fonts would be specified in RCSS with the following rules
     52These fonts would be specified in RCSS with the following rules (assuming 'trilobyte.ttf' registers a font of the family 'Trilobyte')
    5153{{{ 
    5254body