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]
Macros | Functions
ftgxval.h File Reference
#include <ft2build.h>

Go to the source code of this file.

Macros

#define FT_VALIDATE_feat_INDEX   0
 
#define FT_VALIDATE_mort_INDEX   1
 
#define FT_VALIDATE_morx_INDEX   2
 
#define FT_VALIDATE_bsln_INDEX   3
 
#define FT_VALIDATE_just_INDEX   4
 
#define FT_VALIDATE_kern_INDEX   5
 
#define FT_VALIDATE_opbd_INDEX   6
 
#define FT_VALIDATE_trak_INDEX   7
 
#define FT_VALIDATE_prop_INDEX   8
 
#define FT_VALIDATE_lcar_INDEX   9
 
#define FT_VALIDATE_GX_LAST_INDEX   FT_VALIDATE_lcar_INDEX
 
#define FT_VALIDATE_GX_LENGTH   (FT_VALIDATE_GX_LAST_INDEX + 1)
 
#define FT_VALIDATE_GX_START   0x4000
 
#define FT_VALIDATE_GX_BITFIELD(tag)   ( FT_VALIDATE_GX_START << FT_VALIDATE_##tag##_INDEX )
 
#define FT_VALIDATE_feat   FT_VALIDATE_GX_BITFIELD( feat )
 
#define FT_VALIDATE_mort   FT_VALIDATE_GX_BITFIELD( mort )
 
#define FT_VALIDATE_morx   FT_VALIDATE_GX_BITFIELD( morx )
 
#define FT_VALIDATE_bsln   FT_VALIDATE_GX_BITFIELD( bsln )
 
#define FT_VALIDATE_just   FT_VALIDATE_GX_BITFIELD( just )
 
#define FT_VALIDATE_kern   FT_VALIDATE_GX_BITFIELD( kern )
 
#define FT_VALIDATE_opbd   FT_VALIDATE_GX_BITFIELD( opbd )
 
#define FT_VALIDATE_trak   FT_VALIDATE_GX_BITFIELD( trak )
 
#define FT_VALIDATE_prop   FT_VALIDATE_GX_BITFIELD( prop )
 
#define FT_VALIDATE_lcar   FT_VALIDATE_GX_BITFIELD( lcar )
 
#define FT_VALIDATE_GX
 
#define FT_VALIDATE_MS   ( FT_VALIDATE_GX_START << 0 )
 
#define FT_VALIDATE_APPLE   ( FT_VALIDATE_GX_START << 1 )
 
#define FT_VALIDATE_CKERN   ( FT_VALIDATE_MS | FT_VALIDATE_APPLE )
 

Functions

 FT_TrueTypeGX_Validate (FT_Face face, FT_UInt validation_flags, FT_Bytes tables[FT_VALIDATE_GX_LENGTH], FT_UInt table_length)
 
 FT_TrueTypeGX_Free (FT_Face face, FT_Bytes table)
 
 FT_ClassicKern_Validate (FT_Face face, FT_UInt validation_flags, FT_Bytes *ckern_table)
 
 FT_ClassicKern_Free (FT_Face face, FT_Bytes table)
 

Macro Definition Documentation

◆ FT_VALIDATE_APPLE

#define FT_VALIDATE_APPLE   ( FT_VALIDATE_GX_START << 1 )

Definition at line 275 of file ftgxval.h.

◆ FT_VALIDATE_bsln

#define FT_VALIDATE_bsln   FT_VALIDATE_GX_BITFIELD( bsln )

Definition at line 154 of file ftgxval.h.

◆ FT_VALIDATE_bsln_INDEX

#define FT_VALIDATE_bsln_INDEX   3

Definition at line 75 of file ftgxval.h.

◆ FT_VALIDATE_CKERN

#define FT_VALIDATE_CKERN   ( FT_VALIDATE_MS | FT_VALIDATE_APPLE )

Definition at line 277 of file ftgxval.h.

◆ FT_VALIDATE_feat

#define FT_VALIDATE_feat   FT_VALIDATE_GX_BITFIELD( feat )

Definition at line 151 of file ftgxval.h.

◆ FT_VALIDATE_feat_INDEX

#define FT_VALIDATE_feat_INDEX   0

Definition at line 72 of file ftgxval.h.

◆ FT_VALIDATE_GX

#define FT_VALIDATE_GX
Value:
FT_VALIDATE_mort | \
FT_VALIDATE_morx | \
FT_VALIDATE_bsln | \
FT_VALIDATE_just | \
FT_VALIDATE_kern | \
FT_VALIDATE_opbd | \
FT_VALIDATE_trak | \
FT_VALIDATE_prop | \
FT_VALIDATE_lcar )
#define FT_VALIDATE_feat
Definition: ftgxval.h:151

Definition at line 162 of file ftgxval.h.

◆ FT_VALIDATE_GX_BITFIELD

#define FT_VALIDATE_GX_BITFIELD (   tag)    ( FT_VALIDATE_GX_START << FT_VALIDATE_##tag##_INDEX )

Definition at line 101 of file ftgxval.h.

◆ FT_VALIDATE_GX_LAST_INDEX

#define FT_VALIDATE_GX_LAST_INDEX   FT_VALIDATE_lcar_INDEX

Definition at line 82 of file ftgxval.h.

◆ FT_VALIDATE_GX_LENGTH

#define FT_VALIDATE_GX_LENGTH   (FT_VALIDATE_GX_LAST_INDEX + 1)

Definition at line 94 of file ftgxval.h.

◆ FT_VALIDATE_GX_START

#define FT_VALIDATE_GX_START   0x4000

Definition at line 100 of file ftgxval.h.

◆ FT_VALIDATE_just

#define FT_VALIDATE_just   FT_VALIDATE_GX_BITFIELD( just )

Definition at line 155 of file ftgxval.h.

◆ FT_VALIDATE_just_INDEX

#define FT_VALIDATE_just_INDEX   4

Definition at line 76 of file ftgxval.h.

◆ FT_VALIDATE_kern

#define FT_VALIDATE_kern   FT_VALIDATE_GX_BITFIELD( kern )

Definition at line 156 of file ftgxval.h.

◆ FT_VALIDATE_kern_INDEX

#define FT_VALIDATE_kern_INDEX   5

Definition at line 77 of file ftgxval.h.

◆ FT_VALIDATE_lcar

#define FT_VALIDATE_lcar   FT_VALIDATE_GX_BITFIELD( lcar )

Definition at line 160 of file ftgxval.h.

◆ FT_VALIDATE_lcar_INDEX

#define FT_VALIDATE_lcar_INDEX   9

Definition at line 81 of file ftgxval.h.

◆ FT_VALIDATE_mort

#define FT_VALIDATE_mort   FT_VALIDATE_GX_BITFIELD( mort )

Definition at line 152 of file ftgxval.h.

◆ FT_VALIDATE_mort_INDEX

#define FT_VALIDATE_mort_INDEX   1

Definition at line 73 of file ftgxval.h.

◆ FT_VALIDATE_morx

#define FT_VALIDATE_morx   FT_VALIDATE_GX_BITFIELD( morx )

Definition at line 153 of file ftgxval.h.

◆ FT_VALIDATE_morx_INDEX

#define FT_VALIDATE_morx_INDEX   2

Definition at line 74 of file ftgxval.h.

◆ FT_VALIDATE_MS

#define FT_VALIDATE_MS   ( FT_VALIDATE_GX_START << 0 )

Definition at line 274 of file ftgxval.h.

◆ FT_VALIDATE_opbd

#define FT_VALIDATE_opbd   FT_VALIDATE_GX_BITFIELD( opbd )

Definition at line 157 of file ftgxval.h.

◆ FT_VALIDATE_opbd_INDEX

#define FT_VALIDATE_opbd_INDEX   6

Definition at line 78 of file ftgxval.h.

◆ FT_VALIDATE_prop

#define FT_VALIDATE_prop   FT_VALIDATE_GX_BITFIELD( prop )

Definition at line 159 of file ftgxval.h.

◆ FT_VALIDATE_prop_INDEX

#define FT_VALIDATE_prop_INDEX   8

Definition at line 80 of file ftgxval.h.

◆ FT_VALIDATE_trak

#define FT_VALIDATE_trak   FT_VALIDATE_GX_BITFIELD( trak )

Definition at line 158 of file ftgxval.h.

◆ FT_VALIDATE_trak_INDEX

#define FT_VALIDATE_trak_INDEX   7

Definition at line 79 of file ftgxval.h.

Function Documentation

◆ FT_ClassicKern_Free()

FT_ClassicKern_Free ( FT_Face  face,
FT_Bytes  table 
)

Definition at line 126 of file ftgxval.c.

References FT_FACE_MEMORY, and FT_FREE.

◆ FT_ClassicKern_Validate()

FT_ClassicKern_Validate ( FT_Face  face,
FT_UInt  validation_flags,
FT_Bytes ckern_table 
)

Definition at line 91 of file ftgxval.c.

References error, FT_EXPORT_DEF, FT_FACE_FIND_GLOBAL_SERVICE, FT_THROW(), and NULL.

◆ FT_TrueTypeGX_Free()

FT_TrueTypeGX_Free ( FT_Face  face,
FT_Bytes  table 
)

Definition at line 75 of file ftgxval.c.

References FT_EXPORT_DEF, FT_FACE_MEMORY, and FT_FREE.

◆ FT_TrueTypeGX_Validate()

FT_TrueTypeGX_Validate ( FT_Face  face,
FT_UInt  validation_flags,
FT_Bytes  tables[FT_VALIDATE_GX_LENGTH],
FT_UInt  table_length 
)

Definition at line 38 of file ftgxval.c.

References error, FT_EXPORT_DEF, FT_FACE_FIND_GLOBAL_SERVICE, FT_THROW(), and NULL.