5a7d8f1fc9c9dae77619f91911f4200b3b905f7f
[supertux.git] / data / fonts / README
1 These files describes glyphs, contained on images 
2 at data/images/engine/fonts/ 
3 (or any subdirectory)
4
5 Each file describes separate font.
6 When extended fonts put in addon, names should be prefixed, like 
7 addonname-foo.stf to be added to font foo.stf
8
9 (supertux-font
10   ; height of font and glyph on images
11   (glyph-height $h)    
12   
13   ; default width of glyph on images and width of fixed-font
14   (glyph-width $w)   
15
16   ; one or more surfaces, containing glyph images
17   (surface              
18  
19     ; may override default width
20     (glyph-width $w)    
21
22     ; may prevent to form variable-width glyphs from this surface
23     (monospace #t)      
24
25     ; filename containing glyph images,
26     ; related to data/images/engine/fonts/
27     ; any dimentions, RGBS pixel format
28     (glyphs $filename)   
29     
30     ; filename containing shadow images, 
31     ; should fit glyph image
32     (shadows $filename)  
33
34     ; charset definition
35     ; each string represent separate row of glyphs on image
36     ; spaces may be put to skip glyph (not drawn)
37     (chars 
38       $strings)
39   )
40 )