18,700
edits
m (correcting prev/next types in nav header) |
m (→TSGA tags: wording) |
||
Line 191: | Line 191: | ||
|} | |} | ||
Every TSGA file contains 256 elements. | 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 | 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}} |