|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
A BPL file must have one or more character definitions. These have the following form:
(char unsigned width bounding-box outline1 outline2 ... )
The unsigned number directly after the
specifies the character code. If it is larger than 255 (the maximum
character code in BZR files, and all other font formats the font
utilities deal with) then BPLtoBZR issues a warning and uses its value
The other pieces are specified as properties:
(width realstr). The set width of the character in printer's points.
(bb llx lly urx ury). The bounding box of the character in printer's points, defined by the lower-left x coordinate and the upper-right y coordinate. Each value is a realstr. The left side bearing is defined by llx, and the right side bearing is defined by the difference between the set width and urx.
Each outline specifies a geometrical outline, i.e., a closed curve. For example, an `o' would have two outlines. If the character is entirely blank, the BPL file has no outlines at all.
The outline property is somewhat more complex than the rest, so we describe it below.
22.214.171.124 BPL outlines Representation of character outlines.