The Microsoft Excel File Format - OpenOffice.org
The Microsoft Excel File Format - OpenOffice.org
The Microsoft Excel File Format - OpenOffice.org
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
5.45 FONT<br />
5.45 FONT<br />
BIFF2 BIFF3 BIFF4 BIFF5 BIFF8<br />
0031 H 0231 H 0231 H 0031 H 0031 H<br />
This record contains information about a used font, including character formatting. All FONT records occur together in a<br />
sequential list. Other records referencing a FONT record contain an index into this list.<br />
!<br />
Record FONT, BIFF2:<br />
<strong>The</strong> font with index 4 is omitted in all BIFF versions. This means the first four fonts have zero-based indexes, and<br />
the fifth font and all following fonts are referenced with one-based indexes.<br />
Offset Size Contents<br />
0 2 Height of the font (in twips = 1 / 20 of a point)<br />
2 2 Option flags, see below<br />
4 var. Font name (byte string, 8-bit string length, ➜2.5.2)<br />
A FONTCOLOR record (➜5.47) containing the font colour may follow.<br />
Record FONT, BIFF3-BIFF4:<br />
Offset Size Contents<br />
0 2 Height of the font (in twips = 1 / 20 of a point)<br />
2 2 Option flags, see below<br />
4 2 Colour index (➜5.74)<br />
6 var. Font name (byte string, 8-bit string length, ➜2.5.2)<br />
Record FONT, BIFF5-BIFF8:<br />
Offset Size Contents<br />
0 2 Height of the font (in twips = 1 / 20 of a point)<br />
2 2 Option flags, see below<br />
4 2 Colour index (➜5.74)<br />
6 2 Font weight (100-1000). Standard values are 0190 H (400) for normal text and 02BC H<br />
(700) for bold text.<br />
8 2 Escapement type: 0000 H = None<br />
0001 H = Superscript<br />
0002 H = Subscript<br />
10 1 Underline type: 00 H = None<br />
01 H = Single 21 H = Single accounting<br />
02 H = Double 22 H = Double accounting<br />
11 1 Font family: 00 H = None (unknown or don't care)<br />
01 H = Roman (variable width, serifed)<br />
02 H = Swiss (variable width, sans-serifed)<br />
03 H = Modern (fixed width, serifed or sans-serifed)<br />
04 H = Script (cursive)<br />
05 H = Decorative (specialised, for example Old English, Fraktur)<br />
12 1 Character set (used by all cell records containing byte strings), see below<br />
13 1 Not used<br />
14 var. Font name: BIFF5: Byte string, 8-bit string length (➜2.5.2)<br />
BIFF8: Unicode string, 8-bit string length (➜2.5.3)<br />
171