cheshirekow  v0.1.0
freetype::glyphformat Namespace Reference

namespace wrapper for GlyphFormat enumeration More...

Enumerations

enum  GlyphFormat {
  NONE = ImageTag<0,0,0,0>::value, COMPOSITE = ImageTag<'c','o','m','p'>::value, BITMAP = ImageTag<'b','i','t','s'>::value, OUTLINE = ImageTag<'o','u','t','l'>::value,
  PLOTTER = ImageTag<'p','l','o','t'>::value
}
 An enumeration type used to describe the format of a given glyph image. More...
 

Detailed Description

namespace wrapper for GlyphFormat enumeration

See Also
GlyphFormat

Enumeration Type Documentation

An enumeration type used to describe the format of a given glyph image.

Note
Note that this version of FreeType only supports two image formats, even though future font drivers will be able to register their own format.
Enumerator
NONE 

The value 0 is reserved.

COMPOSITE 

The glyph image is a composite of several other images. This format is only used with FT_LOAD_NO_RECURSE, and is used to report compound glyphs (like accented characters).

BITMAP 

The glyph image is a bitmap, and can be described as an FT_Bitmap. You generally need to access the ‘bitmap’ field of the FT_GlyphSlotRec structure to read it.

OUTLINE 

The glyph image is a vectorial outline made of line segments and Bézier arcs; it can be described as an FT_Outline; you generally want to access the ‘outline’ field of the FT_GlyphSlotRec structure to read it.

PLOTTER 

The glyph image is a vectorial path with no inside and outside contours. Some Type 1 fonts, like those in the Hershey family, contain glyphs in this format. These are described as FT_Outline, but FreeType isn't currently capable of rendering them correctly.

Definition at line 220 of file types.h.