Package mapnik :: Module _mapnik :: Class FontSet

Class FontSet

 object --+    
          |    
??.instance --+
              |
             FontSet

Instance Methods
 
__init__(...)
__init__( (object)arg1) -> None : default fontset constructor
 
__reduce__(...)
helper for pickle
 
add_face_name(...)
add_face_name( (FontSet)arg1, (str)name) -> None : Add a face-name to the fontset.

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  __instance_size__ = 48
Properties
  names
List of face names belonging to a FontSet.

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

__init__( (object)arg1) -> None :
    default fontset constructor

    C++ signature :
        void __init__(_object*)

Overrides: object.__init__

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

add_face_name(...)

 

add_face_name( (FontSet)arg1, (str)name) -> None :
    Add a face-name to the fontset.
    
    Example:
    >>> fs = Fontset('book-fonts')
    >>> fs.add_face_name('DejaVu Sans Book')
    

    C++ signature :
        void add_face_name(mapnik::font_set {lvalue},std::string)


Property Details

names

List of face names belonging to a FontSet.

Get Method:
unreachable(...)