Hi
I'm looking to add loadble fonts into my terminal, but unsure what format the font is in. I mean, I see it's in base64 format, but not sure what format it is when it is decoded?
Also last night while I was adding sixel support, I think I spotted an error (or at least it confused me) in cterm.txt
Under raster attributes, it says "p3 and p4 define the height and width in sixels" I think it should read "p3 and p4 define the width and height in sixels" as p3 is the width and p4 is the height.
On Tue June 14 18:36:00 2022, Digital Man wrote to Apam <=-
I'm looking to add loadble fonts into my terminal, but unsure what format the font is in. I mean, I see it's in base64 format, but not sure what format it is when it is decoded?
The underlying font format is just bitmap CGA font data, each byte is a row of char/glyph data since the character cells are 8-pixels wide. Fonts can be either 8, 14, or 16 rows high however, so the number of bytes that make up a complete char/glyph depends on the target video mode.
Sysop: | Nelgin |
---|---|
Location: | Plano, TX |
Users: | 606 |
Nodes: | 10 (2 / 8) |
Uptime: | 81:52:51 |
Calls: | 9,644 |
Calls today: | 14 |
Files: | 16,067 |
Messages: | 1,064,390 |
Posted today: | 5 |