Mako 7.3.0 API

Classes modelling individual characters from a font, or runs of same. More...

Classes

class  IDOMCharPathGroup
 IDOMCharPathGroup interface Interface to DOM node representing Group Elements that consist of stroked text. More...
 
class  IDOMGlyphName
 
class  IDOMGlyph
 The IDOMGlyph class is an abstract class modelling a single character from a font. More...
 
class  IDOMGlyphs
 An abstract class providing an interface to a "Glyphs" node. Glyphs nodes are used to represent a run of uniformly formatted text from a single font. Text runs are broken by line advances and formatting changes. When a text run is broken, a new Glyphs node will be created to describe the text from the change point onwards. More...
 
class  CIndicesGlyph
 Utility code allowing the simpler manipulation of glyph glusters represented by the UnicodeString and Indices entries of an IDOMGlyphs object. More...
 
class  CGlyphsCluster
 A single cluster generated from the parallel Indices and Unicode strings present in an IDOMGlyphs node. This represents the smallest logical unit of text. Here, a single cluster may represent: More...
 
class  CGlyphsClusters
 A single cluster generated from the parallel Indices and Unicode strings present in an IDOMGlyphs node. This represents the smallest logical unit of text. Here, a single cluster may represent: More...
 

Typedefs

typedef uint16 IDOMGlyph::GlyphID
 Holds the glyph ID of the glyph. More...
 

Enumerations

enum  IDOMGlyphs::eStyleSimulations
 Specifies a style simulation for a glyphs node.
 
enum  IDOMGlyph::eGlyphIDSpecial { IDOMGlyph::eGlyphIDNotdef = 0 }
 Enumeration type used to define known, special Glyph IDs. More...
 

Detailed Description

Classes modelling individual characters from a font, or runs of same.

Typedef Documentation

◆ GlyphID

Holds the glyph ID of the glyph.

A glyf table contains the data describing each glyph in the font. A particular glyph is identified by a glyph id, which is used exclusively throughout the font to identify that glyph. For further information on using glyf tables see http://www.microsoft.com/typography/otspec/glyf.htm.

Note: There are some special glyph ids which are reserved by convention as described in the eGlyphIDSpecial type. It is advisable to follow these conventions when modifying fonts. Glyph 0 is normally an open rectangle and is used by rendering systems to substitute for characters that are not present in the font.

Enumeration Type Documentation

◆ eGlyphIDSpecial

Enumeration type used to define known, special Glyph IDs.

Enumerator
eGlyphIDNotdef 

The glyph ID to subsitute for font undefined glyphs.