# The VGA font

`src/font/vga8x16.ts` holds the glyphs of **BmPlus_IBM_VGA_8x16** from

> **The Ultimate Oldschool PC Font Pack** v2.2 (2020-11-21), (c) 2016-2020 VileR,
> <https://int10h.org/oldschool-pc-fonts/>

licensed under the **Creative Commons Attribution-ShareAlike 4.0 International License**
(<https://creativecommons.org/licenses/by-sa/4.0/>; the full text is in `CC-BY-SA-4.0.txt` beside this file).

The face is VileR's reproduction of the IBM VGA's 8x16 ROM font; the "Plus" variant extends it to a larger
repertoire (code page 852's Hungarian ő Ő ű Ű among it) drawn in the same style.

## Changes

`tools/gen-font.py` converts the font's bitmap strike to a table: 16 bytes per glyph, the first 256 glyphs in code
page 437 order and the rest of the repertoire after them. Nothing in the drawings is changed. The 9-pixel-wide cell
(the 9th column repeating the 8th for characters C0h-DFh, as the VGA's line-graphics mode does) is produced at draw
time by `src/renderer.ts`.

The converted table (`src/font/vga8x16.ts`) is an adaptation of the font pack and is shared under the same licence,
CC BY-SA 4.0, with the attribution above. The rest of this library is not affected by it.
