CmapSubtable

Overview

CmapSubtable is a class in Aspose.Font FOSS for Python.

CmapSubtable.get_gid returns the glyph ID for a Unicode codepoint or None if unmapped.

This class provides 1 method for working with CmapSubtable objects in Python programs. Available methods include: get_gid. All public members are accessible to any Python application after installing the Aspose.Font FOSS for Python package. Properties: encoding_id, format, platform_id.

Properties

NameTypeAccessDescription
platform_idintRead/WriteGets or sets the platform id.
encoding_idintRead/WriteGets or sets the encoding id.
formatintRead/WriteGets or sets the format.

Methods

SignatureDescription
get_gid(codepoint: int)int | NoneReturns the glyph ID for a Unicode codepoint or None if unmapped

See Also