libgpac
Documentation of the core library of GPAC
GF_FontReader Struct Reference

#include <font.h>

+ Collaboration diagram for GF_FontReader:

Data Fields

GF_DECL_MODULE_INTERFACE GF_Err(* init_font_engine )(struct _font_reader *dr)
 
GF_Err(* shutdown_font_engine )(struct _font_reader *dr)
 
GF_Err(* set_font )(struct _font_reader *dr, const char *fontName, u32 styles)
 
GF_Err(* get_font_info )(struct _font_reader *dr, char **font_name, u32 *em_size, s32 *ascent, s32 *descent, s32 *underline, s32 *line_spacing, s32 *max_advance_h, s32 *max_advance_v)
 
GF_Err(* get_glyphs )(struct _font_reader *dr, const char *utf_string, u32 *glyph_id_buffer, u32 *io_glyph_id_buffer_size, const char *xml_lang, Bool *rev_layout)
 
GF_Glyph *(* load_glyph )(struct _font_reader *dr, u32 glyph_name)
 
void * udta
 

Field Documentation

◆ init_font_engine

GF_DECL_MODULE_INTERFACE GF_Err(* GF_FontReader::init_font_engine) (struct _font_reader *dr)

◆ shutdown_font_engine

GF_Err(* GF_FontReader::shutdown_font_engine) (struct _font_reader *dr)

◆ set_font

GF_Err(* GF_FontReader::set_font) (struct _font_reader *dr, const char *fontName, u32 styles)

◆ get_font_info

GF_Err(* GF_FontReader::get_font_info) (struct _font_reader *dr, char **font_name, u32 *em_size, s32 *ascent, s32 *descent, s32 *underline, s32 *line_spacing, s32 *max_advance_h, s32 *max_advance_v)

◆ get_glyphs

GF_Err(* GF_FontReader::get_glyphs) (struct _font_reader *dr, const char *utf_string, u32 *glyph_id_buffer, u32 *io_glyph_id_buffer_size, const char *xml_lang, Bool *rev_layout)

◆ load_glyph

GF_Glyph*(* GF_FontReader::load_glyph) (struct _font_reader *dr, u32 glyph_name)

◆ udta

void* GF_FontReader::udta