Logo Search packages:      
Sourcecode: matplotlib version File versions

def matplotlib::font_manager::x11FontDirectory (  ) 

Return the system font directories for X11.

Definition at line 196 of file font_manager.py.

00196                       :
    """Return the system font directories for X11."""
    fontpaths = []
    def add(arg,directory,files):
        fontpaths.append(directory)

    for fontdir in X11FontDirectories:
        try:
            if os.path.isdir(fontdir):
                os.path.walk(fontdir, add, None)
        except (IOError, OSError, TypeError, ValueError):
            pass
    return fontpaths

def get_fontconfig_fonts(fontext='ttf'):


Generated by  Doxygen 1.6.0   Back to index