GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
gdip_font.cpp File Reference
#include "gdip_priv.h"
#include <gpac/utf.h>
+ Include dependency graph for gdip_font.cpp:

Macros

#define GDIP_MAX_STRING_SIZE   5000
 

Functions

GF_Err gdip_init_font_engine (GF_FontReader *dr)
 
GF_Err gdip_shutdown_font_engine (GF_FontReader *dr)
 
static GF_Err gdip_get_glyphs (GF_FontReader *dr, const char *utf_string, u32 *glyph_buffer, u32 *io_glyph_buffer_size, const char *xml_lang, Bool *is_rtl)
 
static void adjust_white_space (const unsigned short *string, Float *width, Float whiteSpaceWidth)
 
static GF_Err gdip_get_text_size (GF_FontReader *dr, const unsigned short *string, Fixed *width, Fixed *height)
 
static GF_Err gdip_set_font (GF_FontReader *dr, const char *fontName, u32 styles)
 
static GF_Err gdip_get_font_info (GF_FontReader *dr, char **font_name, u32 *em_size, s32 *ascent, s32 *descent, s32 *underline, s32 *line_spacing, s32 *max_advance_h, s32 *max_advance_v)
 
static GF_Glyphgdip_load_glyph (GF_FontReader *dr, u32 glyph_name)
 
GF_FontReadergdip_new_font_driver ()
 
void gdip_delete_font_driver (GF_FontReader *dr)
 
const u32QueryInterfaces ()
 
GF_BaseInterfaceLoadInterface (u32 InterfaceType)
 
void ShutdownInterface (GF_BaseInterface *ifce)
 

Macro Definition Documentation

#define GDIP_MAX_STRING_SIZE   5000

Function Documentation

GF_Err gdip_init_font_engine ( GF_FontReader dr)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gdip_shutdown_font_engine ( GF_FontReader dr)

+ Here is the caller graph for this function:

static GF_Err gdip_get_glyphs ( GF_FontReader dr,
const char *  utf_string,
u32 glyph_buffer,
u32 io_glyph_buffer_size,
const char *  xml_lang,
Bool is_rtl 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void adjust_white_space ( const unsigned short *  string,
Float width,
Float  whiteSpaceWidth 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err gdip_get_text_size ( GF_FontReader dr,
const unsigned short *  string,
Fixed width,
Fixed height 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err gdip_set_font ( GF_FontReader dr,
const char *  fontName,
u32  styles 
)
static

+ Here is the caller graph for this function:

static GF_Err gdip_get_font_info ( GF_FontReader dr,
char **  font_name,
u32 em_size,
s32 ascent,
s32 descent,
s32 underline,
s32 line_spacing,
s32 max_advance_h,
s32 max_advance_v 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Glyph* gdip_load_glyph ( GF_FontReader dr,
u32  glyph_name 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_FontReader* gdip_new_font_driver ( )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gdip_delete_font_driver ( GF_FontReader dr)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const u32* QueryInterfaces ( )
GF_BaseInterface* LoadInterface ( u32  InterfaceType)

+ Here is the call graph for this function:

void ShutdownInterface ( GF_BaseInterface ifce)

+ Here is the call graph for this function: