Add explanation to rtl switch to fonts README
[supertux.git] / data / fonts / README
index e4b61ef..ad579af 100644 (file)
@@ -3,7 +3,7 @@ at data/images/engine/fonts/
 (or any subdirectory)
 
 Each file describes separate font.
-When extended fotns put in addon, names should be prefixed, like 
+When extended fonts put in addon, names should be prefixed, like 
 addonname-foo.stf to be added to font foo.stf
 
 (supertux-font
@@ -13,45 +13,8 @@ addonname-foo.stf to be added to font foo.stf
   ; default width of glyph on images and width of fixed-font
   (glyph-width $w)   
 
-  ; one or more surfaces, containing glyph images
-  (surface              
-    ; may override default width
-    (glyph-width $w)    
-
-    ; may prevent to form variable-width glyphs from this surface
-    (monospace #t)      
-
-    ; filename containing glyph images,
-    ; related to data/images/engine/fonts/
-    ; any dimentions, RGBS pixel format
-    (glyphs $filename)   
-    
-    ; filename containing shadow images, 
-    ; should fit glyph image
-    (shadows $filename)  
-
-    ; charset definition
-    ; each string represent separate row of glyphs on image
-    ; spaces may be put to skip glyph (not drawn)
-    (chars 
-      $strings)
-  )
-)
-These files describes glyphs, contained on images 
-at data/images/engine/fonts/ 
-(or any subdirectory)
-
-Each file describes separate font.
-When extended fotns put in addon, names should be prefixed, like 
-addonname-foo.stf to be added to font foo.stf
-
-(supertux-font
-  ; height of font and glyph on images
-  (glyph-height $h)    
-  
-  ; default width of glyph on images and width of fixed-font
-  (glyph-width $w)   
+  ; text in this font is written from right-to-left (optional)
+  (rtl #t)
 
   ; one or more surfaces, containing glyph images
   (surface