diff options
Diffstat (limited to 'source/blender/blenlib/BLI_vfontdata.h')
-rw-r--r-- | source/blender/blenlib/BLI_vfontdata.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_vfontdata.h b/source/blender/blenlib/BLI_vfontdata.h index 86aab13e3bc..b6ec749b50a 100644 --- a/source/blender/blenlib/BLI_vfontdata.h +++ b/source/blender/blenlib/BLI_vfontdata.h @@ -63,5 +63,19 @@ typedef struct VFontData { BLI_vfontdata_from_psfont( struct PackedFile *pf); +#ifdef WITH_FREETYPE2 +/** + * Construct a new VFontData structure from + * Freetype font data in a PackedFile. + * + * @param pf The font data. + * @retval A new VFontData structure, or NULL + * if unable to load. + */ + VFontData* +BLI_vfontdata_from_freetypefont( + struct PackedFile *pf); +#endif + #endif |