Unicode Data

See also

Notifications:
The UnicodeData object uses notifications to notify observers of changes.

Types of Values

This object works with three types of Unicode values: real, pseudo and forced. A real Unicode value is the value assigned in the glyph object. A pseudo-Unicode value is an educated guess about what the Unicode value for the glyph could be. This guess is made by splitting the suffix, if one exists, off of the glyph name and then looking up the resulting base in the UnicodeData object. If something is found, the value is the pseudo-Unicode value. A forced-Unicode value is a Private Use Area value that is temporaryily mapped to a glyph in the font. These values are stored in the font object only as long as the font is active. They will not be saved into the font. Note: Forced-Unicode values are very experimental. They should not be relied upon.

Tasks

Value From Glyph Name

  • unicodeForGlyphName
  • pseudoUnicodeForGlyphName
  • forcedUnicodeForGlyphName

Glyph Name from Value

  • glyphNameForForcedUnicode
  • glyphNameForUnicode

Glyph Descriptions

  • blockForGlyphName
  • categoryForGlyphName
  • scriptForGlyphName

Open and Closed Relatives

  • closeRelativeForGlyphName
  • openRelativeForGlyphName

Decomposition

  • decompositionBaseForGlyphName

Sorting Glyphs

  • sortGlyphNames()

Notifications

  • dispatcher
  • addObserver()
  • removeObserver()
  • hasObserver()

Parent

  • getParent()
  • setParent()

UnicodeData

Read the Docs v: ufo3
Versions
ufo3
latest
Downloads
PDF
HTML
Epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.