#include <ft2build.h>
Go to the source code of this file.
◆ dummy_get_index()
◆ dump_fontinfo()
Definition at line 10 of file test_afm.c.
11 {
13
14
15 printf(
"This AFM is for %sCID font.\n\n",
17
24
26 printf(
"There are %d sets of track kernings:\n",
28 else
29 printf(
"There is no track kerning.\n" );
30
32 {
34
35
41 }
42
44
46 printf(
"There are %d kerning pairs:\n",
48 else
49 printf(
"There is no kerning pair.\n" );
50
52 {
54
55
60 }
61
62 }
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
Referenced by main().
◆ main()
Definition at line 111 of file test_afm.c.
113 {
118
119
121 return FT_ERR( Invalid_Argument );
122
126
132
135
137 {
139
140
142
147 }
148 else
149 printf(
"parse error\n" );
150
152
155
157 }
FT_Done_FreeType(FT_Library library)
FT_Init_FreeType(FT_Library *alibrary)
FT_Stream_Close(FT_Stream stream)
FT_Stream_Open(FT_Stream stream, const char *filepathname)
typedefFT_BEGIN_HEADER struct FT_MemoryRec_ * FT_Memory
static char memory[1024 *256]
FT_Error parse_afm(FT_Library library, FT_Stream stream, AFM_FontInfo fi)
void dump_fontinfo(AFM_FontInfo fi)
◆ parse_afm()
Definition at line 76 of file test_afm.c.
79 {
83
84
87 return -1;
88
92
99
102
104
106
108 }
FT_Get_Module_Interface(FT_Library library, const char *mod_name)
FT_Stream_EnterFrame(FT_Stream stream, FT_ULong count)
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
int dummy_get_index(const char *name, FT_Offset len, void *user_data)
Referenced by main().