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: | Tetrazocine |
---|---|
Location: | Melbourne, VIC, Australia |
Users: | 5 |
Nodes: | 8 (0 / 8) |
Uptime: | 33:43:05 |
Calls: | 56 |
Files: | 21,500 |
Messages: | 69,336 |