1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
#ifndef __TTF_LOADTABLE_H
#define __TTF_LOADTABLE_H
#include "tables.h"
/* $Id: loadtable.h,v 1.2 1998/07/06 06:07:01 werner Exp $ */
void ttfLoadRequiredTables(TTFontPtr font);
void ttfFreeRequiredTables(TTFontPtr font);
void ttfLoadOptionalTables(TTFontPtr font);
void ttfFreeOptionalTables(TTFontPtr font);
void ttfInitTableDir(TTFontPtr font, ULONG offset);
void ttfPrintTableDir(FILE *fp, TableDirPtr p);
void ttfFreeTableDir(TableDirPtr p);
TableDirPtr ttfLookUpTableDir(ULONG tag, TTFontPtr font);
void ttfInitCMAP(TTFontPtr font);
void ttfPrintCMAP(FILE *fp, CMAPPtr cmap);
USHORT ttfLookUpCMAP(SubTablePtr subTable, USHORT cc);
SubTablePtr ttfSelectCMAP(CMAPPtr cmap, USHORT PlatformID, USHORT EncodingID);
void ttfFreeCMAP(CMAPPtr cmap);
void ttfInitGLYF(TTFontPtr font);
void ttfLoadGLYF(FILE *fp, GLYFPtr glyf, ULONG offset);
void ttfPrintGLYF(FILE *fp, GLYFPtr glyf);
void ttfFreeGLYF(GLYFPtr glyf);
GLYFPtr ttfLoadGlyphIndex(TTFont * font, USHORT idx);
GLYFPtr ttfLoadGlyphCode(TTFont * fnt, USHORT cc);
void ttfInitGlyphCache(TTFontPtr font);
void ttfCleanUpGlyphCache(TTFontPtr font);
GLYFPtr ttfLoadGlyphCached(TTFontPtr font, ULONG offset);
void ttfInitHEAD(TTFontPtr font);
void ttfPrintHEAD(FILE *, HEADPtr head);
void ttfFreeHEAD(HEADPtr head);
void ttfInitHHEA(TTFontPtr font);
void ttfPrintHHEA(FILE *fp, HHEAPtr hhea);
void ttfFreeHHEA(HHEAPtr hhea);
void ttfInitHMTX(TTFontPtr font);
void ttfPrintHMTX(FILE *fp, HMTXPtr hmtx);
void ttfFreeHMTX(HMTXPtr hmtx);
void ttfInitLOCA(TTFontPtr font);
void ttfPrintLOCA(FILE *fp, LOCAPtr loca);
void ttfFreeLOCA(LOCAPtr loca);
ULONG ttfLookUpGlyfLOCA(LOCAPtr loca, USHORT idx);
void ttfInitMAXP(TTFontPtr font);
void ttfPrintMAXP(FILE *fp, MAXPPtr maxp);
void ttfFreeMAXP(MAXPPtr maxp);
void ttfInitNAME(TTFontPtr font);
void ttfPrintNAME(FILE *fp, NAMEPtr name);
void ttfFreeNAME(NAMEPtr name);
void ttfInitPOST(TTFontPtr fot);
void ttfPrintPOST(FILE *fp, POSTPtr post);
void ttfFreePOST(POSTPtr post);
void ttfInitOS2(TTFontPtr font);
void ttfPrintOS2(FILE *fp, OS_2Ptr os2);
void ttfFreeOS2(OS_2Ptr os2);
void ttfInitCVT(TTFontPtr font);
void ttfPrintCVT(FILE *fp, FWord * cvt, USHORT cvtLength);
void ttfFreeCVT(FWord * cvt);
void ttfInitFPGM(TTFontPtr font);
void ttfPrintFPGM(FILE *fp, BYTE * fpgm, USHORT length);
void ttfFreeFPGM(BYTE * fpgm);
void ttfInitGASP(TTFontPtr font);
void ttfPrintGASP(FILE *fp, GASPPtr gasp);
void ttfFreeGASP(GASPPtr gasp);
void ttfInitHDMX(TTFontPtr font);
void ttfPrintHDMX(FILE *fp, HDMXPtr hdmx);
void ttfFreeHDMX(HDMXPtr hdmx);
void ttfInitPREP(TTFontPtr font);
void ttfPrintPREP(FILE *fp, BYTE * prep, USHORT length);
void ttfFreePREP(BYTE * prep);
void ttfInitLTSH(TTFontPtr font);
void ttfPrintLTSH(FILE *fp, LTSHPtr ltsh);
void ttfFreeLTSH(LTSHPtr ltsh);
void ttfInitVDMX(TTFontPtr font);
void ttfPrintVDMX(FILE *fp, VDMXPtr vdmx);
void ttfFreeVDMX(VDMXPtr vdmx);
void ttfInitGraphicsState(TTFontPtr font);
void ttfInitStack(TTFontPtr font);
void ttfInitStorageArea(TTFontPtr font);
void ttfPrintInstructions(FILE *fp, BYTE * ins);
#endif /* __TTF_LOADTABLE_H */
/* end of loadtable.h */
|