Bitmap glyph

class freetype.BitmapGlyph(glyph)

FT_BitmapGlyph wrapper.

A structure used for bitmap glyph images. This really is a ‘sub-class’ of FT_GlyphRec.

bitmap

A descriptor for the bitmap.

format

The format of the glyph’s image.

left

The left-side bearing, i.e., the horizontal distance from the current pen position to the left border of the glyph bitmap.

top

The top-side bearing, i.e., the vertical distance from the current pen position to the top border of the glyph bitmap. This distance is positive for upwards y!