README 1.1 KB

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