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: | Rempala |
---|---|
Location: | Richlands, NC |
Users: | 105 |
Nodes: | 10 (0 / 10) |
Uptime: | 130:59:49 |
Calls: | 182 |
Files: | 6 |
Messages: | 110,795 |