facelift v1.2 » Documentation » config-flir.php

Please note: The documentation hasn't been updated for v1.2 yet. Some portions of these files may no longer be relavant or oudated but the majority of it is still good.

config-flir.php » @fonts

All the fonts you want to use must be included in this array.

The array is setup as: $fonts[FONT NAME] = [FONT LOCATION]

Example: $fonts['sameold'] = 'arial.ttf';
Subdirectory Example: $fonts[sameold] = 'sans/arial.ttf';

Font Name

The FLIRStyle.cssFont value will be matched up with the font name. If the cssFont value cannot be found in the fonts array the default font will be used. The Font Name MUST be all lowercase.

So, using the example above, if the cssFont is "sameold", then Arial will be used.

Font Location

All fonts must be stored in the font directory (or a subdirectory of it). The font location will be the FONTS_DIR + Font Location.

 
About | Examples | Download | Docs | Quick Start | Donate | flirPremium
facelift is written by Cory Mawhorter