#include <FONT_Registry.h>
Definition at line 39 of file FONT_Registry.h.
FONT_Registry::~FONT_Registry |
( |
| ) |
|
static const char* FONT_Registry::fileExtensionFilterString |
( |
| ) |
|
|
static |
Returns a comma separated list of file globs that match the supported extensions.
UT_StringArray FONT_Registry::fontFilePaths |
( |
bool |
include_system_font_files = true | ) |
const |
Return a list of all font files that have been loaded. If include_system_font_files
is true then the returned list includes font files that were loaded from system directories. Otherwise, the returned list includes only font files found in the Houdini search path.
const FONT_Info& FONT_Registry::get |
( |
const char * |
name | ) |
const |
Return a font face given an name. The name can be any of the possible alternative names for a font. For example font names used in older version of Houdini (e.g. "DejaVuSansMono-BoldOblique" would be the "DejaVu Sans Mono" family, bold weight, oblique style), for factory fonts. For system fonts, the path name would have been given. If the font is not found, an invalid FONT_Info object is returned, containing just the font name.
Returns the closest variant on the given font with the additional constraints.
- Parameters
-
font | The font to base the variant on. |
variant | Specifies the variation upon the base font to return. |
const FONT_InfoPtrList& FONT_Registry::typefaceFonts |
( |
const char * |
typeface | ) |
const |
Returns all fonts from the given typeface.
Return a alphabetic list of all available typefaces.
The documentation for this class was generated from the following file: