libgpac
Documentation of the core library of GPAC
svg_font.c File Reference
#include <gpac/utf.h>
#include "visual_manager.h"
#include "nodes_stacks.h"
+ Include dependency graph for svg_font.c:

Data Structures

struct  SVG_GlyphStack
 
struct  FontURIStack
 

Functions

static GF_Err svg_font_get_glyphs (void *udta, const char *utf_string, u32 *glyph_buffer, u32 *io_glyph_buffer_size, const char *lang, Bool *is_rtl)
 
static GF_Glyphsvg_font_load_glyph (void *udta, u32 glyph_name)
 
static void svg_traverse_font (GF_Node *node, void *rs, Bool is_destroy)
 
static void svg_font_on_load (GF_Node *handler, GF_DOM_Event *event, GF_Node *observer)
 
void compositor_init_svg_font (GF_Compositor *compositor, GF_Node *node)
 
static void svg_traverse_glyph (GF_Node *node, void *rs, Bool is_destroy)
 
void compositor_init_svg_glyph (GF_Compositor *compositor, GF_Node *node)
 
static Bool svg_font_uri_check (GF_Node *node, FontURIStack *st)
 
GF_Font * svg_font_uri_get_alias (void *udta)
 
static void svg_traverse_font_face_uri (GF_Node *node, void *rs, Bool is_destroy)
 
void compositor_init_svg_font_face_uri (GF_Compositor *compositor, GF_Node *node)
 

Data Structure Documentation

◆ SVG_GlyphStack

struct SVG_GlyphStack
+ Collaboration diagram for SVG_GlyphStack:
Data Fields
u16 * unicode
u16 uni_len
GF_Glyph glyph
GF_Font * font

◆ FontURIStack

struct FontURIStack
Data Fields
GF_Font * font
GF_Font * alias
GF_Compositor * compositor
GF_MediaObject * mo

Function Documentation

◆ svg_font_get_glyphs()

static GF_Err svg_font_get_glyphs ( void *  udta,
const char *  utf_string,
u32 glyph_buffer,
u32 io_glyph_buffer_size,
const char *  lang,
Bool is_rtl 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ svg_font_load_glyph()

static GF_Glyph* svg_font_load_glyph ( void *  udta,
u32  glyph_name 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ svg_traverse_font()

static void svg_traverse_font ( GF_Node node,
void *  rs,
Bool  is_destroy 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ svg_font_on_load()

static void svg_font_on_load ( GF_Node handler,
GF_DOM_Event event,
GF_Node observer 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compositor_init_svg_font()

void compositor_init_svg_font ( GF_Compositor *  compositor,
GF_Node node 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ svg_traverse_glyph()

static void svg_traverse_glyph ( GF_Node node,
void *  rs,
Bool  is_destroy 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compositor_init_svg_glyph()

void compositor_init_svg_glyph ( GF_Compositor *  compositor,
GF_Node node 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ svg_font_uri_check()

static Bool svg_font_uri_check ( GF_Node node,
FontURIStack st 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ svg_font_uri_get_alias()

GF_Font* svg_font_uri_get_alias ( void *  udta)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ svg_traverse_font_face_uri()

static void svg_traverse_font_face_uri ( GF_Node node,
void *  rs,
Bool  is_destroy 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compositor_init_svg_font_face_uri()

void compositor_init_svg_font_face_uri ( GF_Compositor *  compositor,
GF_Node node 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function: