Logo Search packages:      
Sourcecode: matplotlib version File versions

font_indexing Namespace Reference

Detailed Description

A little example that shows how the various indexing into the font
tables relate to one another.  Mainly for mpl developers....


list code = coded['A']
dictionary coded = {}
tuple codes = font.get_charmap()
tuple fname = matplotlib.get_data_path()
tuple font = FT2Font(fname)
tuple glyph = font.load_char(code)
dictionary glyphd = {}
tuple name = font.get_glyph_name(glyphind)

Generated by  Doxygen 1.6.0   Back to index