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: | Eric Oulashin |
---|---|
Location: | Beaverton, Oregon, USA |
Users: | 103 |
Nodes: | 16 (0 / 16) |
Uptime: | 02:31:23 |
Calls: | 3,498 |
Calls today: | 4 |
Files: | 8,461 |
Messages: | 336,359 |
Posted today: | 5 |