MainFonts(bpy_struct)

base class — bpy_struct

class bpy.types.MainFonts(bpy_struct)

Collection of fonts

load(filepath)

Load a new font into the main database

Parameters:
  • filepath (string) – path of the font to load.
Returns:

New font datablock.

Return type:

VectorFont

remove(vfont)

Remove a font from the current blendfile.

Parameters:
  • vfont (VectorFont, (never None)) – Font to remove.

Inherited Properties

Inherited Functions

References

Previous topic

MainCurves(bpy_struct)

Next topic

MainGroups(bpy_struct)