@header@
 
 
matplotlib.ft2font
index
/usr/local/lib/python2.3/site-packages/matplotlib/ft2font.so

ft2font
 
Methods:
  FT2Font(ttffile)
Face Constants
  SCALABLE               scalable
  FIXED_SIZES            
  FIXED_WIDTH            
  SFNT                   
  HORIZONTAL             
  VERTICAL               
  KERNING                
  FAST_GLYPHS            
  MULTIPLE_MASTERS       
  GLYPH_NAMES            
  EXTERNAL_STREAM        
Style Constants
  ITALIC                 
  BOLD

 
Classes
       
exceptions.Exception
ft2font.error

 
class error(exceptions.Exception)
     Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)

 
Functions
       
FT2Font(...)
FT2Font(ttffile)
 
Create a new FT2Font object
The following global font attributes are defined:
  num_faces              number of faces in file
  face_flags             face flags  (int type); see the ft2font constants
  style_flags            style flags  (int type); see the ft2font constants
  num_glyphs             number of glyphs in the face
  family_name            face family name
  style_name             face syle name
  num_fixed_sizes        number of bitmap in the face
  scalable               face is scalable
 
The following are available, if scalable is true:
  bbox                   face global bounding box (xmin, ymin, xmax, ymax)
  units_per_EM           number of font units covered by the EM
  ascender               ascender in 26.6 units
  descender              descender in 26.6 units
  height                 height in 26.6 units; used to compute a default
                         line spacing (baseline-to-baseline distance)
  max_advance_width      maximum horizontal cursor advance for all glyphs
  max_advance_height     same for vertical layout
  underline_position     vertical position of the underline bar
  underline_thickness    vertical thickness of the underline

 
Data
        BOLD = 2
EXTERNAL_STREAM = 1024
FAST_GLYPHS = 128
FIXED_SIZES = 2
FIXED_WIDTH = 4
GLYPH_NAMES = 512
HORIZONTAL = 16
ITALIC = 1
KERNING = 64
MULTIPLE_MASTERS = 256
SCALABLE = 1
SFNT = 8
VERTICAL = 1
@footer@