| 1 |
/* Copyright (C) 2008 Vincent Penquerc'h. |
| 2 |
This file is part of the Kate codec library. |
| 3 |
Written by Vincent Penquerc'h. |
| 4 |
|
| 5 |
Use, distribution and reproduction of this library is governed |
| 6 |
by a BSD style source license included with this source in the |
| 7 |
file 'COPYING'. Please read these terms before distributing. */ |
| 8 |
|
| 9 |
|
| 10 |
/** |
| 11 |
|
| 12 |
\page format_0x88 Format - header packet type 0x88 - font ranges |
| 13 |
|
| 14 |
This header contains a (possibly empty) list of predefined font ranges |
| 15 |
that may be referred to by data packets. |
| 16 |
This header is mandatory, even if no font ranges are predefined. |
| 17 |
|
| 18 |
As with all headers, the first 8 bytes are composed of the header |
| 19 |
type (0x88) and the 7 byte kate signature ("kate\0\0\0"). |
| 20 |
|
| 21 |
Next, we find a \ref format_32v "variable length integer", holding the number |
| 22 |
of predefined font ranges this header contains. A negative value is an error. |
| 23 |
|
| 24 |
Next, we find a list of \ref format_font_range "font range" definitions, as many as defined |
| 25 |
int the previously read number. |
| 26 |
|
| 27 |
Next, we find a \ref format_32v "variable length integer", holding the number |
| 28 |
of predefined font mappings this header contains. A negative value is an error. |
| 29 |
|
| 30 |
Next, for each predefined font mapping: |
| 31 |
|
| 32 |
\li a \ref format_32v "variable length integer" represented the number of |
| 33 |
ranges in this mapping. |
| 34 |
|
| 35 |
For each of those ranges: |
| 36 |
|
| 37 |
\li a bit being 1 if the range is predefined, 0 if not |
| 38 |
\li if the range is predefined, a \ref format_32v "variable length integer" being the |
| 39 |
index of the range in the list of predefined ranges |
| 40 |
\li if the range is not predefined, a \ref format_font_range "font range" definition. |
| 41 |
|
| 42 |
Next, we find a \ref format_warp "warp". |
| 43 |
|
| 44 |
Next, the data ends. |
| 45 |
|
| 46 |
*/ |
| 47 |
|