You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

35 lines
846 B

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. #+title: Font thing
  2. #+author: Antoine "Annwan" COMBET
  3. A small bitmap font renderer with its own format.
  4. * The format
  5. Introducing /TXTF/ a family of text based bitmap font formats.
  6. The first line of a TXTF font is the following:
  7. #+begin_quote
  8. =TXTF= /mode/ /nbcommentlines/ /file parameters/
  9. #+end_quote
  10. Like
  11. #+begin_example
  12. TXTF 1 10 5 5 .#
  13. #+end_example
  14. The /nbcommentlines/ parameter is the number of description or comment
  15. lines placed before the actual font data (not including the
  16. header). In this comment area, you may put stuff like modelines,
  17. copyright information and/or a description of the font.
  18. The /mode/ is the specific fomat in the txtf familly this file is in,
  19. the existing mode are as follow
  20. ** Mode 1 (Monospace)
  21. #+begin_quote
  22. =TXTF= =1= /nbcommentlines/ /width/ /height/ /alphabet/
  23. /Comment lines/
  24. /Data/
  25. #+end_quote