libgpac
Documentation of the core library of GPAC
font.h File Reference
#include <gpac/path2d.h>
#include <gpac/module.h>
+ Include dependency graph for font.h:
+ This graph shows which files directly or indirectly include this file:

Data Structures

struct  GF_Glyph
 
struct  GF_FontReader
 

Macros

#define GF_FONT_STYLE_MASK   0x00000007
 
#define GF_FONT_WEIGHT_MASK   0xFFFFFC00
 
#define GF_FONT_READER_INTERFACE   GF_4CC('G','F','T', '5')
 

Enumerations

enum  {
  GF_FONT_ITALIC = 1 , GF_FONT_OBLIQUE = 1<<1 , GF_FONT_SMALLCAPS = 1<<2 , GF_FONT_UNDERLINED = 1<<3 ,
  GF_FONT_STRIKEOUT = 1<<4 , GF_FONT_WEIGHT_100 = 1<<10 , GF_FONT_WEIGHT_LIGHTER = 1<<11 , GF_FONT_WEIGHT_200 = 1<<12 ,
  GF_FONT_WEIGHT_300 = 1<<13 , GF_FONT_WEIGHT_400 = 1<<14 , GF_FONT_WEIGHT_NORMAL = 1<<15 , GF_FONT_WEIGHT_500 = 1<<16 ,
  GF_FONT_WEIGHT_600 = 1<<17 , GF_FONT_WEIGHT_700 = 1<<18 , GF_FONT_WEIGHT_BOLD = 1<<19 , GF_FONT_WEIGHT_800 = 1<<20 ,
  GF_FONT_WEIGHT_900 = 1<<21 , GF_FONT_WEIGHT_BOLDER = 1<<22
}
 

Data Structure Documentation

◆ GF_Glyph

struct GF_Glyph
+ Collaboration diagram for GF_Glyph:
Data Fields
struct _gf_glyph * next
u32 ID
u32 utf_name
GF_Path * path
u32 width
s32 horiz_advance
u32 height
s32 vert_advance

Macro Definition Documentation

◆ GF_FONT_STYLE_MASK

#define GF_FONT_STYLE_MASK   0x00000007

◆ GF_FONT_WEIGHT_MASK

#define GF_FONT_WEIGHT_MASK   0xFFFFFC00

◆ GF_FONT_READER_INTERFACE

#define GF_FONT_READER_INTERFACE   GF_4CC('G','F','T', '5')

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
GF_FONT_ITALIC 
GF_FONT_OBLIQUE 
GF_FONT_SMALLCAPS 
GF_FONT_UNDERLINED 
GF_FONT_STRIKEOUT 
GF_FONT_WEIGHT_100 
GF_FONT_WEIGHT_LIGHTER 
GF_FONT_WEIGHT_200 
GF_FONT_WEIGHT_300 
GF_FONT_WEIGHT_400 
GF_FONT_WEIGHT_NORMAL 
GF_FONT_WEIGHT_500 
GF_FONT_WEIGHT_600 
GF_FONT_WEIGHT_700 
GF_FONT_WEIGHT_BOLD 
GF_FONT_WEIGHT_800 
GF_FONT_WEIGHT_900 
GF_FONT_WEIGHT_BOLDER