tvfont.def 628 B

1234567891011121314151617181920
  1. DEFINITION MODULE tvfont;
  2. FROM SYSTEM IMPORT BYTE;
  3. (* Bundled 8x16 monospaced bitmap font for the tigr backend (no system
  4. dependency at run time).
  5. Glyph data derived from the public-domain IBM VGA 8x16 console font
  6. (via the Lat15-VGA16 console font). Box-drawing code points are drawn
  7. as line segments by the backend, not from this font. *)
  8. CONST
  9. CW = 8; (* cell width in pixels *)
  10. CH = 16; (* cell height in pixels *)
  11. NG = 256; (* number of glyphs *)
  12. PROCEDURE Index (cp : CARDINAL) : INTEGER; (* glyph number, or -1 *)
  13. PROCEDURE Row (g : INTEGER; r : INTEGER) : BYTE;
  14. END tvfont.