Module Font :: Class Font
[hide private]
[frames] | no frames]

Class Font

source code

The Text3d.Font object

This object gives access Blender's Font objects

Instance Methods [hide private]
none
pack()
Packs the font into the current blend file.
source code
none
unpack(mode)
Unpacks the font.
source code
Instance Variables [hide private]
string filename
The filename (path) of the file loaded into this Font.
string packed
Boolean, True when the sample is packed (readonly).
Method Details [hide private]

pack()

source code 

Packs the font into the current blend file.

Returns: none
nothing

Note:  

unpack(mode)

source code 

Unpacks the font.

Parameters:
  • mode (int) - One of the values in Blender.UnpackModes dict.
Returns: none
nothing

Note: An error will be raised if the font is not packed or the filename path does not exist.