Blender  V3.3
Classes | Typedefs | Functions
BKE_vfontdata.h File Reference

A structure to represent vector fonts, and to load them from PostScript fonts. More...

#include "DNA_listBase.h"

Go to the source code of this file.

Classes

struct  VFontData
 
struct  VChar
 

Typedefs

typedef struct VFontData VFontData
 
typedef struct VChar VChar
 

Functions

VFontDataBKE_vfontdata_from_freetypefont (struct PackedFile *pf)
 
VFontDataBKE_vfontdata_copy (const VFontData *vfont_src, int flag)
 
VCharBKE_vfontdata_char_from_freetypefont (struct VFont *vfont, unsigned long character)
 
VCharBKE_vfontdata_char_copy (const VChar *vchar_src)
 

Detailed Description

A structure to represent vector fonts, and to load them from PostScript fonts.

Definition in file BKE_vfontdata.h.

Typedef Documentation

◆ VChar

typedef struct VChar VChar

◆ VFontData

typedef struct VFontData VFontData

Function Documentation

◆ BKE_vfontdata_char_copy()

VChar* BKE_vfontdata_char_copy ( const VChar vchar_src)

◆ BKE_vfontdata_char_from_freetypefont()

VChar* BKE_vfontdata_char_from_freetypefont ( struct VFont vfont,
unsigned long  character 
)

Definition at line 421 of file vfontdata_freetype.c.

References err, library, NULL, and objchr_to_ftvfontdata().

Referenced by vfont_to_curve().

◆ BKE_vfontdata_copy()

VFontData* BKE_vfontdata_copy ( const VFontData vfont_src,
int  flag 
)

Referenced by vfont_copy_data().

◆ BKE_vfontdata_from_freetypefont()

VFontData* BKE_vfontdata_from_freetypefont ( struct PackedFile pf)

Construct a new VFontData structure from free-type font data in pf.

Parameters
pfThe font data.
Return values
Anew VFontData structure, or NULL if unable to load.

Definition at line 383 of file vfontdata_freetype.c.

References check_freetypefont(), err, library, NULL, objfnt_to_ftvfontdata(), and pf.

Referenced by BKE_vfont_load(), vfont_get_data(), and vfont_init_data().