Skip to main content

Module bitmap

Module bitmap 

Source
Expand description

Embedded bitmap glyphs.

A font stores its bitmaps in strikes, one per size. BitmapStrikes reads them from the first of sbix, CBDT and EBDT that a GlyphSourceOrder prefers. It selects a Strike for a size, and a strike returns a BitmapGlyph. The pixels of a BitmapGlyph can be read without knowing how the table stores them.

Structs§

Bgra
Uncompressed 32-bit color pixels.
BitmapGlyph
An embedded bitmap glyph.
BitmapStrikes
The bitmap strikes of a font, read from a single table.
Mask
A single channel coverage mask of 1, 2, 4 or 8 bits per pixel.
MaskRow
One row of a Mask.
Strike
A set of bitmaps at one size.

Enums§

BitmapSource
A table that provides bitmaps.
Origin
The corner of a bitmap that the inner bearings position.
Pixels
Pixel data for a bitmap glyph.