freetypy.CharMap.get_format

CharMap.get_format()

Return TrueType/sfnt specific cmap format.

Returns:

format : int

The format of ‘charmap’. If ‘charmap’ doesn’t belong to a TrueType/sfnt face, raises a ValueError.