Content deleted Content added
Meisterkoch (talk | contribs) m clean up , typos fixed: accomodates → accommodates (2), exmaple → example using AWB |
No edit summary |
||
Line 10:
defines a character as composed of one or more glyphs. Therefore the glyph is a more basic typographic element than the character.
The [[X
Version 2.2 added support for non-Western writing. For example, glyphs in a BDF 2.2 font definition can specify rendering from top-to-bottom rather than simply left-to-right.
Line 61:
"FONT -gnu-unifont-medium-r-normal--16-160-75-75-c-80-iso10646-1" defines the font family and face names.
"SIZE 16 75 75" defines this to be a 16 point font, with an X-axis resolution of 75 dots per inch (dpi) and a Y-axis resolution of 75 dpi. This is the norm under X
"FONTBOUNDINGBOX 16 16 0 -2" defines a bounding box for the font of 16 pixels wide by 16 pixels high, with the lower left-hand corner starting at x=0, y=-2. Note that although the bounding box is defined to be a 16 by 16 cell, this can be overridden for individual glyphs. The "A" glyph, for example, is only 8 pixels wide.
"STARTPROPERTIES 2" declares that two special properties will follow. "STARTPROPERTIES" is optional in the BDF specification. X
"CHARS 1" declares that one character will follow. Although Adobe now refers to this file format as the Glyph BDF, they have retained the keyword "CHARS" in the final version of the specification.
Line 112:
For more detailed information, consult the version 2.2 specification.
==X
X
* CAP_HEIGHT int32 -- the height above the baseline of a capital letter.
* COPYRIGHT string -- a copyright statement.
* DEFAULT_CHAR card32 -- the default character (glyph) to display for an undefined glyph.
* FACE_NAME string -- the name of the face for this font.
* FONT string -- the X
* FONT_ASCENT int32 -- the height above the baseline, for line spacing calculation.
* FONT_DESCENT int32 -- the descent below the baseline, for line spacing calculation.
|