summaryrefslogtreecommitdiff
path: root/Build/source/texk/ttfdump/include/loadtable.h
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2011-12-01 13:24:38 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2011-12-01 13:24:38 +0000
commit3131715fb5bce44da6c7584315237731aa752eba (patch)
treeb4e748ed3b19d603c4ac1b29f33340c196003e0e /Build/source/texk/ttfdump/include/loadtable.h
parent9417d53067c450b541cecd8c3ae224e5d17b8e54 (diff)
ttfdump: Added functionality
- do not segfault for fonts without loca table - allow cmap subtables with format 8, 10, 12, and 13 - handle GPOS and GSUB tables - additional tests git-svn-id: svn://tug.org/texlive/trunk@24713 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/ttfdump/include/loadtable.h')
-rw-r--r--Build/source/texk/ttfdump/include/loadtable.h36
1 files changed, 34 insertions, 2 deletions
diff --git a/Build/source/texk/ttfdump/include/loadtable.h b/Build/source/texk/ttfdump/include/loadtable.h
index 9bf74f0b5ab..f44c12dc69c 100644
--- a/Build/source/texk/ttfdump/include/loadtable.h
+++ b/Build/source/texk/ttfdump/include/loadtable.h
@@ -9,6 +9,8 @@ void ttfLoadRequiredTables(TTFontPtr font);
void ttfFreeRequiredTables(TTFontPtr font);
void ttfLoadOptionalTables(TTFontPtr font);
void ttfFreeOptionalTables(TTFontPtr font);
+void ttfLoadOpenTypeTables(TTFontPtr font);
+void ttfFreeOpenTypeTables(TTFontPtr font);
void ttfInitTableDir(TTFontPtr font, ULONG offset);
void ttfPrintTableDir(FILE *fp, TableDirPtr p);
@@ -17,8 +19,7 @@ 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);
+USHORT ttfLookUpCMAP(MapPtr map, USHORT cc);
void ttfFreeCMAP(CMAPPtr cmap);
void ttfInitGLYF(TTFontPtr font);
@@ -93,6 +94,37 @@ void ttfInitVDMX(TTFontPtr font);
void ttfPrintVDMX(FILE *fp, VDMXPtr vdmx);
void ttfFreeVDMX(VDMXPtr vdmx);
+ScriptListPtr otfMakeScriptList(FILE *fp, ULONG offset);
+void otfPrintScriptList(FILE *fp, ScriptListPtr scriptList);
+void otfFreeScriptList(ScriptListPtr scriptList);
+
+FeatureListPtr otfMakeFeatureList(FILE *fp, ULONG offset);
+void otfPrintFeatureList(FILE *fp, FeatureListPtr featureList);
+void otfFreeFeatureList(FeatureListPtr featureList);
+
+LookupListPtr otfMakeLookupList(FILE *fp, ULONG offset, MakeLookupFunc makeLookup);
+void otfPrintLookupList(FILE *fp, LookupListPtr lookupList, PrintLookupFunc printLookup);
+void otfFreeLookupList(LookupListPtr lookupList, FreeLookupFunc freeLookup);
+
+CoveragePtr otfMakeCoverage(FILE *fp, ULONG offset);
+void otfPrintCoverage(FILE *fp, CoveragePtr coverage);
+void otfFreeCoverage(CoveragePtr coverage);
+
+ClassDefPtr otfMakeClassDef(FILE *fp, ULONG offset);
+void otfPrintClassDef(FILE *fp, ClassDefPtr classDef);
+void otfFreeClassDef(ClassDefPtr classDef);
+
+DevicePtr otfMakeDevice(FILE *fp, ULONG offset);
+void otfPrintDevice(FILE *fp, DevicePtr device);
+
+void ttfInitGPOS(TTFontPtr font);
+void ttfPrintGPOS(FILE *fp, GPOSPtr gpos);
+void ttfFreeGPOS(GPOSPtr gpos);
+
+void ttfInitGSUB(TTFontPtr font);
+void ttfPrintGSUB(FILE *fp, GSUBPtr gsub);
+void ttfFreeGSUB(GSUBPtr gsub);
+
void ttfInitGraphicsState(TTFontPtr font);
void ttfInitStack(TTFontPtr font);
void ttfInitStorageArea(TTFontPtr font);