CffCharset
Overview
CffCharset is a class in Aspose.Font FOSS for Python.
CffCharset.standard(num_glyphs) creates a standard CFF charset for the given number of glyphs, and name_for(gid) returns the glyph name for a glyph ID.
Methods
| Signature | Description |
|---|---|
standard(num_glyphs: int) → "CffCharset" | Creates a standard CFF charset for the given number of glyphs, and name_for(gid) returns the glyph name for a glyph ID |
from_reader(r: BinaryReader, num_glyphs: int, string_index: CffIndex) → "CffCharset" | |
name_for(gid: int) → str | |
gid_for(name: str) → int | None |