Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Classes | Macros | Typedefs | Functions
ttcmap.h File Reference
#include <ft2build.h>

Go to the source code of this file.

Classes

struct  TT_CMapRec_
 
struct  TT_CMap_ClassRec_
 
struct  TT_ValidatorRec_
 

Macros

#define TT_CMAP_FLAG_UNSORTED   1
 
#define TT_CMAP_FLAG_OVERLAPPING   2
 
#define FT_DEFINE_TT_CMAP(class_, size_, init_, done_, char_index_, char_next_, char_var_index_, char_var_default_, variant_list_, charvariant_list_, variantchar_list_, format_, validate_, get_cmap_info_)
 
#define TT_VALIDATOR(x)   ( (TT_Validator)( x ) )
 
#define TT_VALID_GLYPH_COUNT(x)   TT_VALIDATOR( x )->num_glyphs
 

Typedefs

typedef struct TT_CMapRec_ TT_CMapRec
 
typedef struct TT_CMapRec_TT_CMap
 
typedef const struct TT_CMap_ClassRec_TT_CMap_Class
 
typedef FT_Error(* TT_CMap_ValidateFunc) (FT_Byte *data, FT_Validator valid)
 
typedef struct TT_CMap_ClassRec_ TT_CMap_ClassRec
 
typedef struct TT_ValidatorRec_ TT_ValidatorRec
 
typedef struct TT_ValidatorRec_TT_Validator
 

Functions

 tt_face_build_cmaps (TT_Face face)
 
 tt_get_cmap_info (FT_CharMap charmap, TT_CMapInfo *cmap_info)
 

Macro Definition Documentation

◆ FT_DEFINE_TT_CMAP

#define FT_DEFINE_TT_CMAP (   class_,
  size_,
  init_,
  done_,
  char_index_,
  char_next_,
  char_var_index_,
  char_var_default_,
  variant_list_,
  charvariant_list_,
  variantchar_list_,
  format_,
  validate_,
  get_cmap_info_ 
)
Value:
FT_CALLBACK_TABLE_DEF \
const TT_CMap_ClassRec class_ = \
{ \
{ size_, \
init_, \
done_, \
char_index_, \
char_next_, \
char_var_index_, \
char_var_default_, \
variant_list_, \
charvariant_list_, \
variantchar_list_ \
}, \
\
format_, \
validate_, \
get_cmap_info_ \
};

Definition at line 61 of file ttcmap.h.

Referenced by tt_cmap_init().

◆ TT_CMAP_FLAG_OVERLAPPING

#define TT_CMAP_FLAG_OVERLAPPING   2

Definition at line 32 of file ttcmap.h.

Referenced by tt_cmap_init().

◆ TT_CMAP_FLAG_UNSORTED

#define TT_CMAP_FLAG_UNSORTED   1

Definition at line 31 of file ttcmap.h.

Referenced by tt_cmap_init().

◆ TT_VALID_GLYPH_COUNT

#define TT_VALID_GLYPH_COUNT (   x)    TT_VALIDATOR( x )->num_glyphs

Definition at line 141 of file ttcmap.h.

Referenced by tt_cmap_init().

◆ TT_VALIDATOR

#define TT_VALIDATOR (   x)    ( (TT_Validator)( x ) )

Definition at line 140 of file ttcmap.h.

Typedef Documentation

◆ TT_CMap

typedef struct TT_CMapRec_ * TT_CMap

◆ TT_CMap_Class

Definition at line 42 of file ttcmap.h.

◆ TT_CMap_ClassRec

◆ TT_CMap_ValidateFunc

typedef FT_Error(* TT_CMap_ValidateFunc) (FT_Byte *data, FT_Validator valid)

Definition at line 46 of file ttcmap.h.

◆ TT_CMapRec

typedef struct TT_CMapRec_ TT_CMapRec

◆ TT_Validator

typedef struct TT_ValidatorRec_ * TT_Validator

◆ TT_ValidatorRec

Function Documentation

◆ tt_face_build_cmaps()

tt_face_build_cmaps ( TT_Face  face)

◆ tt_get_cmap_info()

tt_get_cmap_info ( FT_CharMap  charmap,
TT_CMapInfo cmap_info 
)

Definition at line 3546 of file ttcmap.c.

References FT_CMapRec_::clazz, and TT_CMap_ClassRec_::get_cmap_info.