21#include FT_INTERNAL_DEBUG_H
22#include FT_INTERNAL_STREAM_H
23#include FT_INTERNAL_POSTSCRIPT_AUX_H
27#ifndef T1_CONFIG_OPTION_NO_AFM
36#define FT_COMPONENT trace_t1afm
72 if ( gname && gname[0] ==
name[0] &&
83#define KERN_INDEX( g1, g2 ) ( ( (FT_ULong)(g1) << 16 ) | (g2) )
98 if ( index1 > index2 )
100 else if ( index1 < index2 )
119 FT_Int width_table_length;
138 p += 18 + width_table_length;
248 if (
face->afm_data )
251 " Freeing previously attached metrics data.\n" ));
277 parser.user_data = t1_font;
303 t1_face->bbox.xMax = ( fi->
FontBBox.
xMax + 0xFFFF ) >> 16;
304 t1_face->bbox.yMax = ( fi->
FontBBox.
yMax + 0xFFFF ) >> 16;
341 max =
min + fi->NumKernPair - 1;
381 return FT_THROW( Invalid_Argument );
388 if ( tk->
degree != degree )
391 if ( ptsize < tk->min_ptsize )
410 typedef int _t1_afm_dummy;
#define FT_FACE_FLAG_KERNING
FT_Get_Char_Index(FT_Face face, FT_ULong charcode)
FT_Set_Charmap(FT_Face face, FT_CharMap charmap)
FT_MulDiv(FT_Long a, FT_Long b, FT_Long c)
#define FT_CALLBACK_DEF(x)
#define FT_TRACE1(varformat)
#define FT_QNEW_ARRAY(ptr, count)
#define FT_FRAME_ENTER(size)
#define FT_PEEK_SHORT_LE(p)
#define FT_PEEK_USHORT_LE(p)
#define FT_PEEK_ULONG_LE(p)
typedefFT_BEGIN_HEADER struct FT_MemoryRec_ * FT_Memory
GLenum GLuint GLint GLenum face
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
static char memory[1024 *256]
struct PSAux_ServiceRec_ * PSAux_Service
FT_Error(* init)(AFM_Parser parser, FT_Memory memory, FT_Byte *base, FT_Byte *limit)
FT_Error(* parse)(AFM_Parser parser)
void(* done)(AFM_Parser parser)
const AFM_Parser_FuncsRec * afm_parser_funcs
static FT_Error T1_Read_PFM(FT_Face t1_face, FT_Stream stream, AFM_FontInfo fi)
T1_Get_Kerning(AFM_FontInfo fi, FT_UInt glyph1, FT_UInt glyph2, FT_Vector *kerning)
T1_Read_Metrics(FT_Face t1_face, FT_Stream stream)
compare_kern_pairs(const void *a, const void *b)
static FT_Int t1_get_index(const char *name, FT_Offset len, void *user_data)
T1_Done_Metrics(FT_Memory memory, AFM_FontInfo fi)
#define KERN_INDEX(g1, g2)
T1_Get_Track_Kerning(FT_Face face, FT_Fixed ptsize, FT_Int degree, FT_Fixed *kerning)
struct T1_FontRec_ * T1_Font
struct AFM_FontInfoRec_ * AFM_FontInfo
struct T1_FaceRec_ * T1_Face
struct AFM_KernPairRec_ * AFM_KernPair
FT_UInt FT_UInt FT_Vector * kerning
ActualNumberDriverObjects * sizeof(PDRIVER_OBJECT)) PDRIVER_OBJECT *DriverObjectList