Glyph Bitmap Distribution Format: Difference between revisions

Content deleted Content added
Theli ua (talk | contribs)
Add sentence about bit ordering in BITMAP field description.
Line 89:
"BBX 8 16 0 -2" declares a bounding box that is 8 pixels wide and 16 pixels tall. The lower left-hand corner of the character is offset by 0 pixels on the X-axis and -2 pixels on the Y-axis.
 
"BITMAP" begins the bitmap for the current glyph. This line must be followed by one line per pixel on the Y-axis. In this example the glyph is 16 pixels tall, so 16 lines follow. Each line contains the hexadecimal representation of pixels in a row. A "1" bit indicates a rendered pixel. Each line is rounded to an 8 bit (one byte) boundary, padded with zeroes on the right. In this example, the glyph is exactly 8 pixels wide, and so occupies exactly bits (one byte) per line so that there is no padding. The most significant bit of a line of raster data represents the leftmost pixel.
 
"ENDCHAR" ends the current glyph.