API Reference for Enthought Tool Suite 2.7.1

A module for finding, managing, and using fonts across-platforms.

This module provides a single FontManager that can be shared across backends and platforms. The findfont() method returns the best TrueType (TTF) font file in the local or system font path that matches the specified FontProperties. The FontManager also handles Adobe Font Metrics (AFM) font files for use by the PostScript backend.

The design is based on the W3C Cascading Style Sheet, Level 1 (CSS1) font specification (http://www.w3.org/TR/1998/REC-CSS2-19980512/ ). Future versions may implement the Level 2 or 2.1 specifications.

KNOWN ISSUES

Authors:John Hunter <jdhunter@ace.bsd.uchicago.edu>, Paul Barrett <Barrett@STScI.Edu>
Copyright:John Hunter (2004,2005), Paul Barrett (2004,2005)
License:matplotlib license (PSF compatible) The font directory code is from ttfquery, see license/LICENSE_TTFQUERY.

Portions Copyright (c) Enthought, Inc. All rights reserved

This software is provided without warranty under the terms of the BSD license included in enthought/LICENSE.txt and may be redistributed only under the conditions described in the aforementioned license. The license is also available online at http://www.enthought.com/licenses/BSD.txt Thanks for using Enthought open source!

Variables

Classes

Function summary

Functions

Imported Names

Local nameRefers to
afmenthought.kiva.fonttools.afm
ETSConfigenthought.etsconfig.etsconfig.ETSConfig
globglob
osos
shutilshutil
statstat
syssys
tempfiletempfile
timetime
TTFontenthought.kiva.fonttools.fontTools.ttLib.TTFont
TTLibErrorenthought.kiva.fonttools.fontTools.ttLib.TTLibError
warningswarnings

Copyright © 2002-2008 Enthought, Inc.