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
t1afm.c File Reference
#include <ft2build.h>
#include "t1afm.h"
#include "t1errors.h"

Go to the source code of this file.

Macros

#define FT_COMPONENT   trace_t1afm
 
#define KERN_INDEX(g1, g2)   ( ( (FT_ULong)(g1) << 16 ) | (g2) )
 

Functions

 T1_Done_Metrics (FT_Memory memory, AFM_FontInfo fi)
 
 compare_kern_pairs (const void *a, const void *b)
 
 T1_Read_Metrics (FT_Face t1_face, FT_Stream stream)
 
 T1_Get_Kerning (AFM_FontInfo fi, FT_UInt glyph1, FT_UInt glyph2, FT_Vector *kerning)
 
 T1_Get_Track_Kerning (FT_Face face, FT_Fixed ptsize, FT_Int degree, FT_Fixed *kerning)
 

Macro Definition Documentation

◆ FT_COMPONENT

#define FT_COMPONENT   trace_t1afm

Definition at line 34 of file t1afm.c.

◆ KERN_INDEX

#define KERN_INDEX (   g1,
  g2 
)    ( ( (FT_ULong)(g1) << 16 ) | (g2) )

Definition at line 81 of file t1afm.c.

Referenced by compare_kern_pairs(), and T1_Get_Kerning().

Function Documentation

◆ compare_kern_pairs()

compare_kern_pairs ( const void a,
const void b 
)

Definition at line 86 of file t1afm.c.

References AFM_KernPairRec_::index1, AFM_KernPairRec_::index2, and KERN_INDEX.

◆ T1_Done_Metrics()

T1_Done_Metrics ( FT_Memory  memory,
AFM_FontInfo  fi 
)

Definition at line 38 of file t1afm.c.

References FT_FREE.

Referenced by T1_Face_Done().

◆ T1_Get_Kerning()

T1_Get_Kerning ( AFM_FontInfo  fi,
FT_UInt  glyph1,
FT_UInt  glyph2,
FT_Vector kerning 
)

◆ T1_Get_Track_Kerning()

T1_Get_Track_Kerning ( FT_Face  face,
FT_Fixed  ptsize,
FT_Int  degree,
FT_Fixed kerning 
)

◆ T1_Read_Metrics()

T1_Read_Metrics ( FT_Face  t1_face,
FT_Stream  stream 
)