Namespace DRIT.Drawing.Font.Cff
Classes
CffFont
Represents a loaded CFF (Compact Font Format) or OTF/CFF font face. Charstrings are decoded via DRIT.Drawing.Font.Cff.Type2Interpreter.
CffFontReader
Reads a CFF font from a stream and returns a CffFont.
Auto-detects OTF/CFF sfnt containers (magic OTTO) from standalone
raw CFF files.
CffFontWriter
Serialises a CffFont back to a binary sfnt/CFF stream.
For OTF/CFF fonts (loaded from an sfnt container with the "CFF " table) the sfnt frame is rebuilt from the raw table bytes stored at load time, with the original "CFF " bytes re-inserted.
Standalone raw CFF files are written back as-is without an sfnt wrapper.
CffGlyphAccessor
Provides glyph metrics and names for a CFF font by executing Type 2 charstrings via DRIT.Drawing.Font.Cff.Type2Interpreter.
CffPrivateDict
Parsed contents of a CFF Private DICT. Holds the default/nominal advance-width values and optional local subroutines.