Difference between revisions of "BIGLETS.DAT"

From UFOpaedia
Jump to navigation Jump to search
m
Line 1: Line 1:
An array of Font Glyphs for rendering the large text font.  
+
An array of Font Glyphs for rendering the large text. Each character is represented by a 16x16 bitmap of up to six colors (including transparency), using one byte per pixel (256 bytes per character). These color indexes are remapped to different parts of the palette in use at run time (so text using this font may appear in many different shades or colors).<br>
 
+
<br>
The file contains 176 bitmaps arranged vertically, the bitmaps are 16x16 pixels. Each pixel is 8bits.
+
The standard table starts at the first printable ASCII character, 33 ('!'), and continues to character 161 - For a total of 128 characters (32,768 bytes). Viewed from left to right, top to bottom, they are:<br>
 
+
<br>
They start at ascii character 33 ('!')
+
[[image:BigLets1.gif]]<br>
 
+
<br>
The bitmaps contain quite a bit of whitespace at the edges. However, they are drawn in the Game with accurate kerning. These kerning tables are hardcoded in the executable. This prevents any replacement for this font from looking correct without hex editing the executable, or carefully matching the edges of the characters with the old font.
+
The CE version adds an extra 45 characters for a total of 173 (44,288 bytes).<br>
 
+
<br>
(DF) 10:52, 25 May 2007 (PDT)
+
[[image:BigLets2.gif]]<br>
 +
<br>
 +
==See Also==
 +
* [[SMALLSET.DAT]] - The smaller version of this font.
 +
* [[GeoScape String Files]] - Strings that use this font.
 +
* [[Tactical String Files]] - Strings that use this font.
 +
* [[Saved Game Files]]
 +
[[Category:Game Files]]

Revision as of 11:53, 9 June 2007

An array of Font Glyphs for rendering the large text. Each character is represented by a 16x16 bitmap of up to six colors (including transparency), using one byte per pixel (256 bytes per character). These color indexes are remapped to different parts of the palette in use at run time (so text using this font may appear in many different shades or colors).

The standard table starts at the first printable ASCII character, 33 ('!'), and continues to character 161 - For a total of 128 characters (32,768 bytes). Viewed from left to right, top to bottom, they are:

BigLets1.gif

The CE version adds an extra 45 characters for a total of 173 (44,288 bytes).

BigLets2.gif

See Also