5#ifndef DP_FREETYPE2_H__
6#define DP_FREETYPE2_H__
28#define ft2_oldstyle_map ((ft2_font_map_t*)-1LL)
30#define ft2_oldstyle_map ((ft2_font_map_t*)-1)
34typedef struct ft2_kerning_s
39typedef struct ft2_font_s
int Font_IndexForSize(ft2_font_t *font, float size, float *outw, float *outh)
qbool Font_OpenLibrary(void)
ft2_font_map_t * Font_MapForIndex(ft2_font_t *font, int index)
float Font_SnapTo(float val, float snapwidth)
ft2_font_t * Font_Alloc(void)
qbool Font_LoadFont(const char *name, dp_font_t *dpfnt)
qbool Font_GetKerningForMap(ft2_font_t *font, int map_index, float w, float h, Uchar left, Uchar right, float *outx, float *outy)
void Font_CloseLibrary(void)
float Font_VirtualToRealSize(float sz)
ft2_font_map_t * FontMap_FindForChar(ft2_font_map_t *start, Uchar ch)
qbool Font_GetMapForChar(ft2_font_t *font, int map_index, Uchar ch, ft2_font_map_t **outmap, int *outmapch)
Query for or load a font map for a character, with the character's place on it.
struct incmap_lookup_cache_s incmap_lookup_cache_t
void Font_UnloadFont(ft2_font_t *font)
qbool Font_GetKerningForSize(ft2_font_t *font, float w, float h, Uchar left, Uchar right, float *outx, float *outy)
GLubyte GLubyte GLubyte GLubyte w
ft2_settings_t * settings
ft2_attachment_t * attachments
const unsigned char * data