XML:TSFF: Difference between revisions

31 bytes removed ,  19 February 2022
m
m (correcting prev/next types in nav header)
m (→‎TSGA tags: wording)
Line 191: Line 191:
|}
|}


Every TSGA file contains 256 elements. One element stands for one of the 256 signs of the ASCII table. The first 32 signs are reserved control characters, so these elements are always all-zero.
Every TSGA file contains 256 elements. Each element stands for one of the 256 glyphs, however the first 32 spaces are for non-printable control characters so these elements are always all-zero.


A glyph is basically a monochrome bitmap that's (width * height) pixels in size. Each pixel is stored in one byte in the TSFT file. (Fonts are antialiased, so shades of gray are needed rather than storing each pixel in one bit.) Each element in the TSFT file, being 32-bits, contains 4 pixels. The rows are not 32-bit aligned, so a new row of pixels can start inside an element.
A glyph is basically a grayscale bitmap which is (width * height) pixels in size. Each pixel is stored in one byte in the TSFT file. (Fonts are antialiased, so shades of gray are needed rather than storing each pixel in one bit.) Each element in the TSFT file, being 32 bits, contains 4 pixels, and a new row of pixels can start inside an element.


{{XML}}
{{XML}}