printed.font.opentype

OpenType/FreeType parsing.

Members

Classes

OpenTypeFile
class OpenTypeFile

OpenType 1.8 file parser, for the purpose of finding all fonts in a file, their family name, their weight, etc. This OpenType file might either be: - a single font - a collection file starting with a TTC Header You may find the specification here: www.microsoft.com/typography/otspec/

OpenTypeFont
class OpenTypeFont

Parses a font from a font file (which could contain data for several of them).

Enums

FontBaseline
enum FontBaseline

Should match printed.canvas TextBaseline

OpenTypeFontStyle
enum OpenTypeFontStyle

Font style

OpenTypeFontWeight
enum OpenTypeFontWeight

Font weight

Structs

CharRange
struct CharRange

A POD-type to represent a range of Unicode characters.

OpenTypeTextMetrics
struct OpenTypeTextMetrics

Undocumented in source.

Meta