freetypy.CharMap.get_format

CharMap.get_format()

Get the TrueType/sfnt specific cmap format.

Returns:format – The format of ‘charmap’. If ‘charmap’ doesn’t belong to a TrueType/sfnt face, raises a ValueError.
Return type:int