pdf2json 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +9 -0
- data/bin/.gitkeep +0 -0
- data/ext/extconf.rb +30 -0
- data/lib/pdf2json.rb +8 -0
- data/pdf2json-0.52-source/AUTHORS +24 -0
- data/pdf2json-0.52-source/CHANGES +11 -0
- data/pdf2json-0.52-source/Makefile +84 -0
- data/pdf2json-0.52-source/Makefile.in +84 -0
- data/pdf2json-0.52-source/aclocal.m4 +274 -0
- data/pdf2json-0.52-source/aconf-win32.h +86 -0
- data/pdf2json-0.52-source/aconf.h +42 -0
- data/pdf2json-0.52-source/aconf.h.in +41 -0
- data/pdf2json-0.52-source/autom4te.cache/output.0 +6908 -0
- data/pdf2json-0.52-source/autom4te.cache/requests +76 -0
- data/pdf2json-0.52-source/autom4te.cache/traces.0 +466 -0
- data/pdf2json-0.52-source/config.log +1259 -0
- data/pdf2json-0.52-source/config.status +1050 -0
- data/pdf2json-0.52-source/configure +6908 -0
- data/pdf2json-0.52-source/configure.ac +93 -0
- data/pdf2json-0.52-source/doc/pdffonts.1 +130 -0
- data/pdf2json-0.52-source/doc/pdffonts.cat +107 -0
- data/pdf2json-0.52-source/doc/pdffonts.hlp +117 -0
- data/pdf2json-0.52-source/doc/pdfimages.1 +102 -0
- data/pdf2json-0.52-source/doc/pdfimages.cat +92 -0
- data/pdf2json-0.52-source/doc/pdfimages.hlp +101 -0
- data/pdf2json-0.52-source/doc/pdfinfo.1 +158 -0
- data/pdf2json-0.52-source/doc/pdfinfo.cat +119 -0
- data/pdf2json-0.52-source/doc/pdfinfo.hlp +129 -0
- data/pdf2json-0.52-source/doc/pdftoppm.1 +115 -0
- data/pdf2json-0.52-source/doc/pdftoppm.cat +105 -0
- data/pdf2json-0.52-source/doc/pdftoppm.hlp +114 -0
- data/pdf2json-0.52-source/doc/pdftops.1 +229 -0
- data/pdf2json-0.52-source/doc/pdftops.cat +221 -0
- data/pdf2json-0.52-source/doc/pdftops.hlp +231 -0
- data/pdf2json-0.52-source/doc/pdftotext.1 +137 -0
- data/pdf2json-0.52-source/doc/pdftotext.cat +120 -0
- data/pdf2json-0.52-source/doc/pdftotext.hlp +133 -0
- data/pdf2json-0.52-source/doc/sample-xpdfrc +91 -0
- data/pdf2json-0.52-source/doc/xpdf.1 +513 -0
- data/pdf2json-0.52-source/doc/xpdf.cat +476 -0
- data/pdf2json-0.52-source/doc/xpdf.hlp +489 -0
- data/pdf2json-0.52-source/doc/xpdfrc.5 +480 -0
- data/pdf2json-0.52-source/doc/xpdfrc.cat +474 -0
- data/pdf2json-0.52-source/doc/xpdfrc.hlp +479 -0
- data/pdf2json-0.52-source/fofi/.DS_Store +0 -0
- data/pdf2json-0.52-source/fofi/FoFiBase.cc +156 -0
- data/pdf2json-0.52-source/fofi/FoFiBase.h +57 -0
- data/pdf2json-0.52-source/fofi/FoFiBase.o +0 -0
- data/pdf2json-0.52-source/fofi/FoFiEncodings.cc +994 -0
- data/pdf2json-0.52-source/fofi/FoFiEncodings.h +36 -0
- data/pdf2json-0.52-source/fofi/FoFiEncodings.o +0 -0
- data/pdf2json-0.52-source/fofi/FoFiTrueType.cc +2027 -0
- data/pdf2json-0.52-source/fofi/FoFiTrueType.h +174 -0
- data/pdf2json-0.52-source/fofi/FoFiTrueType.o +0 -0
- data/pdf2json-0.52-source/fofi/FoFiType1.cc +252 -0
- data/pdf2json-0.52-source/fofi/FoFiType1.h +59 -0
- data/pdf2json-0.52-source/fofi/FoFiType1.o +0 -0
- data/pdf2json-0.52-source/fofi/FoFiType1C.cc +2603 -0
- data/pdf2json-0.52-source/fofi/FoFiType1C.h +233 -0
- data/pdf2json-0.52-source/fofi/FoFiType1C.o +0 -0
- data/pdf2json-0.52-source/fofi/Makefile +70 -0
- data/pdf2json-0.52-source/fofi/Makefile.dep +0 -0
- data/pdf2json-0.52-source/fofi/Makefile.in +70 -0
- data/pdf2json-0.52-source/fofi/libfofi.a +0 -0
- data/pdf2json-0.52-source/fofi/vms_make.com +0 -0
- data/pdf2json-0.52-source/freetype.win32/.DS_Store +0 -0
- data/pdf2json-0.52-source/freetype.win32/include/.DS_Store +0 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/config/ftconfig.h +528 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/config/ftheader.h +780 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/config/ftmodule.h +32 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/config/ftoption.h +733 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/config/ftstdlib.h +173 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/freetype.h +3919 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/ftadvanc.h +179 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/ftbbox.h +94 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/ftbdf.h +209 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/ftbitmap.h +227 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/ftcache.h +1128 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/ftchapters.h +103 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/ftcid.h +166 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/fterrdef.h +244 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/fterrors.h +206 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/ftgasp.h +120 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/ftglyph.h +613 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/ftgxval.h +358 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/ftgzip.h +102 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/ftimage.h +1313 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/ftincrem.h +353 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/ftlcdfil.h +213 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/ftlist.h +277 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/ftlzw.h +99 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/ftmac.h +274 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/ftmm.h +378 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/ftmodapi.h +483 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/ftmoderr.h +155 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/ftotval.h +203 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/ftoutln.h +537 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/ftpfr.h +172 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/ftrender.h +230 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/ftsizes.h +159 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/ftsnames.h +200 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/ftstroke.h +716 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/ftsynth.h +80 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/ftsystem.h +347 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/fttrigon.h +350 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/fttypes.h +588 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/ftwinfnt.h +274 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/ftxf86.h +83 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/autohint.h +231 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/ftcalc.h +179 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/ftdebug.h +250 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/ftdriver.h +422 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/ftgloadr.h +168 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/ftmemory.h +380 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/ftobjs.h +1428 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/ftpic.h +67 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/ftrfork.h +196 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/ftserv.h +620 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/ftstream.h +539 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/fttrace.h +139 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/ftvalid.h +150 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/internal.h +51 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/pcftypes.h +56 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/psaux.h +873 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/pshints.h +712 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svbdf.h +77 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svcid.h +83 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svgldict.h +82 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svgxval.h +72 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svkern.h +51 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svmm.h +104 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svotval.h +55 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svpfr.h +66 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svpostnm.h +79 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svpscmap.h +164 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svpsinfo.h +92 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svsfnt.h +102 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svttcmap.h +106 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svtteng.h +53 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svttglyf.h +67 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svwinfnt.h +50 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/services/svxf86nm.h +55 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/sfnt.h +897 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/t1types.h +270 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/internal/tttypes.h +1543 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/t1tables.h +504 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/ttnameid.h +1247 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/tttables.h +759 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/tttags.h +107 -0
- data/pdf2json-0.52-source/freetype.win32/include/freetype/ttunpat.h +59 -0
- data/pdf2json-0.52-source/freetype.win32/include/ft2build.h +39 -0
- data/pdf2json-0.52-source/freetype.win32/lib/freetype_a.lib +0 -0
- data/pdf2json-0.52-source/goo/.DS_Store +0 -0
- data/pdf2json-0.52-source/goo/FixedPoint.cc +118 -0
- data/pdf2json-0.52-source/goo/FixedPoint.h +155 -0
- data/pdf2json-0.52-source/goo/FixedPoint.o +0 -0
- data/pdf2json-0.52-source/goo/GHash.cc +380 -0
- data/pdf2json-0.52-source/goo/GHash.h +78 -0
- data/pdf2json-0.52-source/goo/GHash.o +0 -0
- data/pdf2json-0.52-source/goo/GList.cc +97 -0
- data/pdf2json-0.52-source/goo/GList.h +96 -0
- data/pdf2json-0.52-source/goo/GList.o +0 -0
- data/pdf2json-0.52-source/goo/GMutex.h +49 -0
- data/pdf2json-0.52-source/goo/GString.cc +724 -0
- data/pdf2json-0.52-source/goo/GString.cc.fixed +718 -0
- data/pdf2json-0.52-source/goo/GString.h +136 -0
- data/pdf2json-0.52-source/goo/GString.o +0 -0
- data/pdf2json-0.52-source/goo/ImgWriter.o +0 -0
- data/pdf2json-0.52-source/goo/JpegWriter.o +0 -0
- data/pdf2json-0.52-source/goo/Makefile +72 -0
- data/pdf2json-0.52-source/goo/Makefile.dep +0 -0
- data/pdf2json-0.52-source/goo/Makefile.in +72 -0
- data/pdf2json-0.52-source/goo/PNGWriter.o +0 -0
- data/pdf2json-0.52-source/goo/gfile.cc +731 -0
- data/pdf2json-0.52-source/goo/gfile.h +138 -0
- data/pdf2json-0.52-source/goo/gfile.o +0 -0
- data/pdf2json-0.52-source/goo/gmem.cc +264 -0
- data/pdf2json-0.52-source/goo/gmem.h +79 -0
- data/pdf2json-0.52-source/goo/gmem.o +0 -0
- data/pdf2json-0.52-source/goo/gmempp.cc +32 -0
- data/pdf2json-0.52-source/goo/gmempp.o +0 -0
- data/pdf2json-0.52-source/goo/gtypes.h +29 -0
- data/pdf2json-0.52-source/goo/libGoo.a +0 -0
- data/pdf2json-0.52-source/goo/parseargs.c +190 -0
- data/pdf2json-0.52-source/goo/parseargs.h +71 -0
- data/pdf2json-0.52-source/goo/parseargs.o +0 -0
- data/pdf2json-0.52-source/goo/vms_directory.c +214 -0
- data/pdf2json-0.52-source/goo/vms_dirent.h +67 -0
- data/pdf2json-0.52-source/goo/vms_make.com +82 -0
- data/pdf2json-0.52-source/goo/vms_sys_dirent.h +54 -0
- data/pdf2json-0.52-source/goo/vms_unix_time.h +102 -0
- data/pdf2json-0.52-source/goo/vms_unix_times.c +42 -0
- data/pdf2json-0.52-source/goo/vms_unlink.c +22 -0
- data/pdf2json-0.52-source/ms_make.bat +199 -0
- data/pdf2json-0.52-source/splash/.DS_Store +0 -0
- data/pdf2json-0.52-source/splash/Makefile +103 -0
- data/pdf2json-0.52-source/splash/Makefile.dep +0 -0
- data/pdf2json-0.52-source/splash/Makefile.in +103 -0
- data/pdf2json-0.52-source/splash/Splash.cc +3310 -0
- data/pdf2json-0.52-source/splash/Splash.h +293 -0
- data/pdf2json-0.52-source/splash/Splash.o +0 -0
- data/pdf2json-0.52-source/splash/SplashBitmap.cc +188 -0
- data/pdf2json-0.52-source/splash/SplashBitmap.h +64 -0
- data/pdf2json-0.52-source/splash/SplashBitmap.o +0 -0
- data/pdf2json-0.52-source/splash/SplashClip.cc +382 -0
- data/pdf2json-0.52-source/splash/SplashClip.h +107 -0
- data/pdf2json-0.52-source/splash/SplashClip.o +0 -0
- data/pdf2json-0.52-source/splash/SplashErrorCodes.h +32 -0
- data/pdf2json-0.52-source/splash/SplashFTFont.cc +357 -0
- data/pdf2json-0.52-source/splash/SplashFTFont.h +58 -0
- data/pdf2json-0.52-source/splash/SplashFTFont.o +0 -0
- data/pdf2json-0.52-source/splash/SplashFTFontEngine.cc +179 -0
- data/pdf2json-0.52-source/splash/SplashFTFontEngine.h +65 -0
- data/pdf2json-0.52-source/splash/SplashFTFontEngine.o +0 -0
- data/pdf2json-0.52-source/splash/SplashFTFontFile.cc +114 -0
- data/pdf2json-0.52-source/splash/SplashFTFontFile.h +73 -0
- data/pdf2json-0.52-source/splash/SplashFTFontFile.o +0 -0
- data/pdf2json-0.52-source/splash/SplashFont.cc +176 -0
- data/pdf2json-0.52-source/splash/SplashFont.h +104 -0
- data/pdf2json-0.52-source/splash/SplashFont.o +0 -0
- data/pdf2json-0.52-source/splash/SplashFontEngine.cc +317 -0
- data/pdf2json-0.52-source/splash/SplashFontEngine.h +91 -0
- data/pdf2json-0.52-source/splash/SplashFontEngine.o +0 -0
- data/pdf2json-0.52-source/splash/SplashFontFile.cc +55 -0
- data/pdf2json-0.52-source/splash/SplashFontFile.h +60 -0
- data/pdf2json-0.52-source/splash/SplashFontFile.o +0 -0
- data/pdf2json-0.52-source/splash/SplashFontFileID.cc +23 -0
- data/pdf2json-0.52-source/splash/SplashFontFileID.h +30 -0
- data/pdf2json-0.52-source/splash/SplashFontFileID.o +0 -0
- data/pdf2json-0.52-source/splash/SplashGlyphBitmap.h +26 -0
- data/pdf2json-0.52-source/splash/SplashMath.h +89 -0
- data/pdf2json-0.52-source/splash/SplashPath.cc +184 -0
- data/pdf2json-0.52-source/splash/SplashPath.h +121 -0
- data/pdf2json-0.52-source/splash/SplashPath.o +0 -0
- data/pdf2json-0.52-source/splash/SplashPattern.cc +40 -0
- data/pdf2json-0.52-source/splash/SplashPattern.h +65 -0
- data/pdf2json-0.52-source/splash/SplashPattern.o +0 -0
- data/pdf2json-0.52-source/splash/SplashScreen.cc +383 -0
- data/pdf2json-0.52-source/splash/SplashScreen.h +56 -0
- data/pdf2json-0.52-source/splash/SplashScreen.o +0 -0
- data/pdf2json-0.52-source/splash/SplashState.cc +165 -0
- data/pdf2json-0.52-source/splash/SplashState.h +103 -0
- data/pdf2json-0.52-source/splash/SplashState.o +0 -0
- data/pdf2json-0.52-source/splash/SplashT1Font.cc +287 -0
- data/pdf2json-0.52-source/splash/SplashT1Font.h +57 -0
- data/pdf2json-0.52-source/splash/SplashT1Font.o +0 -0
- data/pdf2json-0.52-source/splash/SplashT1FontEngine.cc +124 -0
- data/pdf2json-0.52-source/splash/SplashT1FontEngine.h +53 -0
- data/pdf2json-0.52-source/splash/SplashT1FontEngine.o +0 -0
- data/pdf2json-0.52-source/splash/SplashT1FontFile.cc +97 -0
- data/pdf2json-0.52-source/splash/SplashT1FontFile.h +58 -0
- data/pdf2json-0.52-source/splash/SplashT1FontFile.o +0 -0
- data/pdf2json-0.52-source/splash/SplashTypes.h +132 -0
- data/pdf2json-0.52-source/splash/SplashXPath.cc +438 -0
- data/pdf2json-0.52-source/splash/SplashXPath.h +100 -0
- data/pdf2json-0.52-source/splash/SplashXPath.o +0 -0
- data/pdf2json-0.52-source/splash/SplashXPathScanner.cc +428 -0
- data/pdf2json-0.52-source/splash/SplashXPathScanner.h +87 -0
- data/pdf2json-0.52-source/splash/SplashXPathScanner.o +0 -0
- data/pdf2json-0.52-source/splash/libsplash.a +0 -0
- data/pdf2json-0.52-source/splash/vms_make.com +0 -0
- data/pdf2json-0.52-source/src/.DS_Store +0 -0
- data/pdf2json-0.52-source/src/GVector.h +101 -0
- data/pdf2json-0.52-source/src/ImgOutputDev.cc +1243 -0
- data/pdf2json-0.52-source/src/ImgOutputDev.h +307 -0
- data/pdf2json-0.52-source/src/ImgOutputDev.o +0 -0
- data/pdf2json-0.52-source/src/Makefile +68 -0
- data/pdf2json-0.52-source/src/Makefile.in +68 -0
- data/pdf2json-0.52-source/src/XmlFonts.cc +367 -0
- data/pdf2json-0.52-source/src/XmlFonts.h +91 -0
- data/pdf2json-0.52-source/src/XmlFonts.o +0 -0
- data/pdf2json-0.52-source/src/XmlLinks.cc +101 -0
- data/pdf2json-0.52-source/src/XmlLinks.h +54 -0
- data/pdf2json-0.52-source/src/XmlLinks.o +0 -0
- data/pdf2json-0.52-source/src/pdf2json +0 -0
- data/pdf2json-0.52-source/src/pdf2json.cc +343 -0
- data/pdf2json-0.52-source/src/pdf2json.o +0 -0
- data/pdf2json-0.52-source/src/pdf2xml.dtd +22 -0
- data/pdf2json-0.52-source/src/pdf2xmljson.dtd +9 -0
- data/pdf2json-0.52-source/xpdf/.DS_Store +0 -0
- data/pdf2json-0.52-source/xpdf/Annot.cc +1556 -0
- data/pdf2json-0.52-source/xpdf/Annot.h +142 -0
- data/pdf2json-0.52-source/xpdf/Annot.o +0 -0
- data/pdf2json-0.52-source/xpdf/Array.cc +73 -0
- data/pdf2json-0.52-source/xpdf/Array.h +58 -0
- data/pdf2json-0.52-source/xpdf/Array.o +0 -0
- data/pdf2json-0.52-source/xpdf/BuiltinFont.cc +65 -0
- data/pdf2json-0.52-source/xpdf/BuiltinFont.h +57 -0
- data/pdf2json-0.52-source/xpdf/BuiltinFont.o +0 -0
- data/pdf2json-0.52-source/xpdf/BuiltinFontTables.cc +4284 -0
- data/pdf2json-0.52-source/xpdf/BuiltinFontTables.h +23 -0
- data/pdf2json-0.52-source/xpdf/BuiltinFontTables.o +0 -0
- data/pdf2json-0.52-source/xpdf/CMap.cc +408 -0
- data/pdf2json-0.52-source/xpdf/CMap.h +102 -0
- data/pdf2json-0.52-source/xpdf/CMap.o +0 -0
- data/pdf2json-0.52-source/xpdf/Catalog.cc +374 -0
- data/pdf2json-0.52-source/xpdf/Catalog.h +97 -0
- data/pdf2json-0.52-source/xpdf/Catalog.o +0 -0
- data/pdf2json-0.52-source/xpdf/CharCodeToUnicode.cc +540 -0
- data/pdf2json-0.52-source/xpdf/CharCodeToUnicode.h +117 -0
- data/pdf2json-0.52-source/xpdf/CharCodeToUnicode.o +0 -0
- data/pdf2json-0.52-source/xpdf/CharTypes.h +24 -0
- data/pdf2json-0.52-source/xpdf/CompactFontTables.h +464 -0
- data/pdf2json-0.52-source/xpdf/CoreOutputDev.cc +61 -0
- data/pdf2json-0.52-source/xpdf/CoreOutputDev.h +61 -0
- data/pdf2json-0.52-source/xpdf/Decrypt.cc +776 -0
- data/pdf2json-0.52-source/xpdf/Decrypt.h +95 -0
- data/pdf2json-0.52-source/xpdf/Decrypt.o +0 -0
- data/pdf2json-0.52-source/xpdf/Dict.cc +95 -0
- data/pdf2json-0.52-source/xpdf/Dict.h +77 -0
- data/pdf2json-0.52-source/xpdf/Dict.o +0 -0
- data/pdf2json-0.52-source/xpdf/Error.cc +38 -0
- data/pdf2json-0.52-source/xpdf/Error.h +23 -0
- data/pdf2json-0.52-source/xpdf/Error.o +0 -0
- data/pdf2json-0.52-source/xpdf/ErrorCodes.h +36 -0
- data/pdf2json-0.52-source/xpdf/FontEncodingTables.cc +1824 -0
- data/pdf2json-0.52-source/xpdf/FontEncodingTables.h +20 -0
- data/pdf2json-0.52-source/xpdf/FontEncodingTables.o +0 -0
- data/pdf2json-0.52-source/xpdf/Function.cc +1573 -0
- data/pdf2json-0.52-source/xpdf/Function.h +229 -0
- data/pdf2json-0.52-source/xpdf/Function.o +0 -0
- data/pdf2json-0.52-source/xpdf/Gfx.cc +4187 -0
- data/pdf2json-0.52-source/xpdf/Gfx.h +312 -0
- data/pdf2json-0.52-source/xpdf/Gfx.o +0 -0
- data/pdf2json-0.52-source/xpdf/GfxFont.cc +1568 -0
- data/pdf2json-0.52-source/xpdf/GfxFont.h +320 -0
- data/pdf2json-0.52-source/xpdf/GfxFont.o +0 -0
- data/pdf2json-0.52-source/xpdf/GfxState.cc +4137 -0
- data/pdf2json-0.52-source/xpdf/GfxState.h +1244 -0
- data/pdf2json-0.52-source/xpdf/GfxState.o +0 -0
- data/pdf2json-0.52-source/xpdf/GlobalParams.cc +2924 -0
- data/pdf2json-0.52-source/xpdf/GlobalParams.cc.old +2908 -0
- data/pdf2json-0.52-source/xpdf/GlobalParams.h +466 -0
- data/pdf2json-0.52-source/xpdf/GlobalParams.h.old +463 -0
- data/pdf2json-0.52-source/xpdf/GlobalParams.o +0 -0
- data/pdf2json-0.52-source/xpdf/ImageOutputDev.cc +195 -0
- data/pdf2json-0.52-source/xpdf/ImageOutputDev.h +76 -0
- data/pdf2json-0.52-source/xpdf/ImageOutputDev.o +0 -0
- data/pdf2json-0.52-source/xpdf/JArithmeticDecoder.cc +322 -0
- data/pdf2json-0.52-source/xpdf/JArithmeticDecoder.h +109 -0
- data/pdf2json-0.52-source/xpdf/JArithmeticDecoder.o +0 -0
- data/pdf2json-0.52-source/xpdf/JBIG2Stream.cc +3413 -0
- data/pdf2json-0.52-source/xpdf/JBIG2Stream.h +145 -0
- data/pdf2json-0.52-source/xpdf/JBIG2Stream.o +0 -0
- data/pdf2json-0.52-source/xpdf/JPXStream.cc +3144 -0
- data/pdf2json-0.52-source/xpdf/JPXStream.h +351 -0
- data/pdf2json-0.52-source/xpdf/JPXStream.o +0 -0
- data/pdf2json-0.52-source/xpdf/Lexer.cc +485 -0
- data/pdf2json-0.52-source/xpdf/Lexer.h +80 -0
- data/pdf2json-0.52-source/xpdf/Lexer.o +0 -0
- data/pdf2json-0.52-source/xpdf/Link.cc +806 -0
- data/pdf2json-0.52-source/xpdf/Link.cc.old +784 -0
- data/pdf2json-0.52-source/xpdf/Link.h +415 -0
- data/pdf2json-0.52-source/xpdf/Link.h.old +369 -0
- data/pdf2json-0.52-source/xpdf/Link.o +0 -0
- data/pdf2json-0.52-source/xpdf/Makefile +232 -0
- data/pdf2json-0.52-source/xpdf/Makefile.dep +0 -0
- data/pdf2json-0.52-source/xpdf/Makefile.in +232 -0
- data/pdf2json-0.52-source/xpdf/NameToCharCode.cc +116 -0
- data/pdf2json-0.52-source/xpdf/NameToCharCode.h +42 -0
- data/pdf2json-0.52-source/xpdf/NameToCharCode.o +0 -0
- data/pdf2json-0.52-source/xpdf/NameToUnicodeTable.h +1097 -0
- data/pdf2json-0.52-source/xpdf/Object.cc +231 -0
- data/pdf2json-0.52-source/xpdf/Object.h +303 -0
- data/pdf2json-0.52-source/xpdf/Object.o +0 -0
- data/pdf2json-0.52-source/xpdf/Outline.cc +151 -0
- data/pdf2json-0.52-source/xpdf/Outline.h +76 -0
- data/pdf2json-0.52-source/xpdf/Outline.o +0 -0
- data/pdf2json-0.52-source/xpdf/OutputDev.cc +131 -0
- data/pdf2json-0.52-source/xpdf/OutputDev.h +253 -0
- data/pdf2json-0.52-source/xpdf/OutputDev.o +0 -0
- data/pdf2json-0.52-source/xpdf/PDFCore.cc +2044 -0
- data/pdf2json-0.52-source/xpdf/PDFCore.h +321 -0
- data/pdf2json-0.52-source/xpdf/PDFDoc.cc +404 -0
- data/pdf2json-0.52-source/xpdf/PDFDoc.h +183 -0
- data/pdf2json-0.52-source/xpdf/PDFDoc.o +0 -0
- data/pdf2json-0.52-source/xpdf/PDFDocEncoding.cc +44 -0
- data/pdf2json-0.52-source/xpdf/PDFDocEncoding.h +16 -0
- data/pdf2json-0.52-source/xpdf/PDFDocEncoding.o +0 -0
- data/pdf2json-0.52-source/xpdf/PSOutputDev.cc +6224 -0
- data/pdf2json-0.52-source/xpdf/PSOutputDev.h +395 -0
- data/pdf2json-0.52-source/xpdf/PSOutputDev.o +0 -0
- data/pdf2json-0.52-source/xpdf/PSTokenizer.cc +135 -0
- data/pdf2json-0.52-source/xpdf/PSTokenizer.h +41 -0
- data/pdf2json-0.52-source/xpdf/PSTokenizer.o +0 -0
- data/pdf2json-0.52-source/xpdf/Page.cc +454 -0
- data/pdf2json-0.52-source/xpdf/Page.h +187 -0
- data/pdf2json-0.52-source/xpdf/Page.o +0 -0
- data/pdf2json-0.52-source/xpdf/Parser.cc +227 -0
- data/pdf2json-0.52-source/xpdf/Parser.h +59 -0
- data/pdf2json-0.52-source/xpdf/Parser.o +0 -0
- data/pdf2json-0.52-source/xpdf/PreScanOutputDev.cc +257 -0
- data/pdf2json-0.52-source/xpdf/PreScanOutputDev.h +130 -0
- data/pdf2json-0.52-source/xpdf/PreScanOutputDev.o +0 -0
- data/pdf2json-0.52-source/xpdf/SecurityHandler.cc +390 -0
- data/pdf2json-0.52-source/xpdf/SecurityHandler.h +160 -0
- data/pdf2json-0.52-source/xpdf/SecurityHandler.o +0 -0
- data/pdf2json-0.52-source/xpdf/SplashOutputDev.cc +2845 -0
- data/pdf2json-0.52-source/xpdf/SplashOutputDev.h +247 -0
- data/pdf2json-0.52-source/xpdf/SplashOutputDev.o +0 -0
- data/pdf2json-0.52-source/xpdf/Stream-CCITT.h +459 -0
- data/pdf2json-0.52-source/xpdf/Stream.cc +4627 -0
- data/pdf2json-0.52-source/xpdf/Stream.h +858 -0
- data/pdf2json-0.52-source/xpdf/Stream.o +0 -0
- data/pdf2json-0.52-source/xpdf/TextOutputDev.cc +4090 -0
- data/pdf2json-0.52-source/xpdf/TextOutputDev.h +661 -0
- data/pdf2json-0.52-source/xpdf/TextOutputDev.o +0 -0
- data/pdf2json-0.52-source/xpdf/UTF8.h +56 -0
- data/pdf2json-0.52-source/xpdf/UnicodeMap.cc +302 -0
- data/pdf2json-0.52-source/xpdf/UnicodeMap.cc.old +293 -0
- data/pdf2json-0.52-source/xpdf/UnicodeMap.h +135 -0
- data/pdf2json-0.52-source/xpdf/UnicodeMap.h.old +123 -0
- data/pdf2json-0.52-source/xpdf/UnicodeMap.o +0 -0
- data/pdf2json-0.52-source/xpdf/UnicodeMapTables.h +361 -0
- data/pdf2json-0.52-source/xpdf/UnicodeTypeTable.cc +949 -0
- data/pdf2json-0.52-source/xpdf/UnicodeTypeTable.h +20 -0
- data/pdf2json-0.52-source/xpdf/UnicodeTypeTable.o +0 -0
- data/pdf2json-0.52-source/xpdf/XPDFApp.cc +447 -0
- data/pdf2json-0.52-source/xpdf/XPDFApp.h +114 -0
- data/pdf2json-0.52-source/xpdf/XPDFCore.cc +1655 -0
- data/pdf2json-0.52-source/xpdf/XPDFCore.h +251 -0
- data/pdf2json-0.52-source/xpdf/XPDFTree.cc +931 -0
- data/pdf2json-0.52-source/xpdf/XPDFTree.h +45 -0
- data/pdf2json-0.52-source/xpdf/XPDFTreeP.h +87 -0
- data/pdf2json-0.52-source/xpdf/XPDFViewer.cc +3488 -0
- data/pdf2json-0.52-source/xpdf/XPDFViewer.h +352 -0
- data/pdf2json-0.52-source/xpdf/XRef.cc +896 -0
- data/pdf2json-0.52-source/xpdf/XRef.h +133 -0
- data/pdf2json-0.52-source/xpdf/XRef.o +0 -0
- data/pdf2json-0.52-source/xpdf/XpdfPluginAPI.cc +262 -0
- data/pdf2json-0.52-source/xpdf/XpdfPluginAPI.h +341 -0
- data/pdf2json-0.52-source/xpdf/XpdfPluginAPI.o +0 -0
- data/pdf2json-0.52-source/xpdf/about-text.h +48 -0
- data/pdf2json-0.52-source/xpdf/about.xbm +6 -0
- data/pdf2json-0.52-source/xpdf/backArrow.xbm +6 -0
- data/pdf2json-0.52-source/xpdf/backArrowDis.xbm +6 -0
- data/pdf2json-0.52-source/xpdf/config.h +112 -0
- data/pdf2json-0.52-source/xpdf/dblLeftArrow.xbm +6 -0
- data/pdf2json-0.52-source/xpdf/dblLeftArrowDis.xbm +6 -0
- data/pdf2json-0.52-source/xpdf/dblRightArrow.xbm +6 -0
- data/pdf2json-0.52-source/xpdf/dblRightArrowDis.xbm +6 -0
- data/pdf2json-0.52-source/xpdf/find.xbm +6 -0
- data/pdf2json-0.52-source/xpdf/findDis.xbm +6 -0
- data/pdf2json-0.52-source/xpdf/forwardArrow.xbm +6 -0
- data/pdf2json-0.52-source/xpdf/forwardArrowDis.xbm +6 -0
- data/pdf2json-0.52-source/xpdf/leftArrow.xbm +5 -0
- data/pdf2json-0.52-source/xpdf/leftArrowDis.xbm +5 -0
- data/pdf2json-0.52-source/xpdf/libXpdf.a +0 -0
- data/pdf2json-0.52-source/xpdf/pdffonts +0 -0
- data/pdf2json-0.52-source/xpdf/pdffonts.cc +298 -0
- data/pdf2json-0.52-source/xpdf/pdffonts.o +0 -0
- data/pdf2json-0.52-source/xpdf/pdfimages +0 -0
- data/pdf2json-0.52-source/xpdf/pdfimages.cc +155 -0
- data/pdf2json-0.52-source/xpdf/pdfimages.o +0 -0
- data/pdf2json-0.52-source/xpdf/pdfinfo +0 -0
- data/pdf2json-0.52-source/xpdf/pdfinfo.cc +387 -0
- data/pdf2json-0.52-source/xpdf/pdfinfo.o +0 -0
- data/pdf2json-0.52-source/xpdf/pdftoppm.cc +203 -0
- data/pdf2json-0.52-source/xpdf/pdftops +0 -0
- data/pdf2json-0.52-source/xpdf/pdftops.cc +344 -0
- data/pdf2json-0.52-source/xpdf/pdftops.o +0 -0
- data/pdf2json-0.52-source/xpdf/pdftotext +0 -0
- data/pdf2json-0.52-source/xpdf/pdftotext.cc +333 -0
- data/pdf2json-0.52-source/xpdf/pdftotext.o +0 -0
- data/pdf2json-0.52-source/xpdf/print.xbm +6 -0
- data/pdf2json-0.52-source/xpdf/printDis.xbm +6 -0
- data/pdf2json-0.52-source/xpdf/rightArrow.xbm +5 -0
- data/pdf2json-0.52-source/xpdf/rightArrowDis.xbm +5 -0
- data/pdf2json-0.52-source/xpdf/vms_make.com +129 -0
- data/pdf2json-0.52-source/xpdf/xpdf.cc +344 -0
- data/pdf2json-0.52-source/xpdf/xpdfIcon.xpm +62 -0
- data/pdf2json.gemspec +29 -0
- metadata +518 -0
@@ -0,0 +1,759 @@
|
|
1
|
+
/***************************************************************************/
|
2
|
+
/* */
|
3
|
+
/* tttables.h */
|
4
|
+
/* */
|
5
|
+
/* Basic SFNT/TrueType tables definitions and interface */
|
6
|
+
/* (specification only). */
|
7
|
+
/* */
|
8
|
+
/* Copyright 1996-2001, 2002, 2003, 2004, 2005, 2008, 2009, 2010 by */
|
9
|
+
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
10
|
+
/* */
|
11
|
+
/* This file is part of the FreeType project, and may only be used, */
|
12
|
+
/* modified, and distributed under the terms of the FreeType project */
|
13
|
+
/* license, LICENSE.TXT. By continuing to use, modify, or distribute */
|
14
|
+
/* this file you indicate that you have read the license and */
|
15
|
+
/* understand and accept it fully. */
|
16
|
+
/* */
|
17
|
+
/***************************************************************************/
|
18
|
+
|
19
|
+
|
20
|
+
#ifndef __TTTABLES_H__
|
21
|
+
#define __TTTABLES_H__
|
22
|
+
|
23
|
+
|
24
|
+
#include <ft2build.h>
|
25
|
+
#include FT_FREETYPE_H
|
26
|
+
|
27
|
+
#ifdef FREETYPE_H
|
28
|
+
#error "freetype.h of FreeType 1 has been loaded!"
|
29
|
+
#error "Please fix the directory search order for header files"
|
30
|
+
#error "so that freetype.h of FreeType 2 is found first."
|
31
|
+
#endif
|
32
|
+
|
33
|
+
|
34
|
+
FT_BEGIN_HEADER
|
35
|
+
|
36
|
+
/*************************************************************************/
|
37
|
+
/* */
|
38
|
+
/* <Section> */
|
39
|
+
/* truetype_tables */
|
40
|
+
/* */
|
41
|
+
/* <Title> */
|
42
|
+
/* TrueType Tables */
|
43
|
+
/* */
|
44
|
+
/* <Abstract> */
|
45
|
+
/* TrueType specific table types and functions. */
|
46
|
+
/* */
|
47
|
+
/* <Description> */
|
48
|
+
/* This section contains the definition of TrueType-specific tables */
|
49
|
+
/* as well as some routines used to access and process them. */
|
50
|
+
/* */
|
51
|
+
/*************************************************************************/
|
52
|
+
|
53
|
+
|
54
|
+
/*************************************************************************/
|
55
|
+
/* */
|
56
|
+
/* <Struct> */
|
57
|
+
/* TT_Header */
|
58
|
+
/* */
|
59
|
+
/* <Description> */
|
60
|
+
/* A structure used to model a TrueType font header table. All */
|
61
|
+
/* fields follow the TrueType specification. */
|
62
|
+
/* */
|
63
|
+
typedef struct TT_Header_
|
64
|
+
{
|
65
|
+
FT_Fixed Table_Version;
|
66
|
+
FT_Fixed Font_Revision;
|
67
|
+
|
68
|
+
FT_Long CheckSum_Adjust;
|
69
|
+
FT_Long Magic_Number;
|
70
|
+
|
71
|
+
FT_UShort Flags;
|
72
|
+
FT_UShort Units_Per_EM;
|
73
|
+
|
74
|
+
FT_Long Created [2];
|
75
|
+
FT_Long Modified[2];
|
76
|
+
|
77
|
+
FT_Short xMin;
|
78
|
+
FT_Short yMin;
|
79
|
+
FT_Short xMax;
|
80
|
+
FT_Short yMax;
|
81
|
+
|
82
|
+
FT_UShort Mac_Style;
|
83
|
+
FT_UShort Lowest_Rec_PPEM;
|
84
|
+
|
85
|
+
FT_Short Font_Direction;
|
86
|
+
FT_Short Index_To_Loc_Format;
|
87
|
+
FT_Short Glyph_Data_Format;
|
88
|
+
|
89
|
+
} TT_Header;
|
90
|
+
|
91
|
+
|
92
|
+
/*************************************************************************/
|
93
|
+
/* */
|
94
|
+
/* <Struct> */
|
95
|
+
/* TT_HoriHeader */
|
96
|
+
/* */
|
97
|
+
/* <Description> */
|
98
|
+
/* A structure used to model a TrueType horizontal header, the `hhea' */
|
99
|
+
/* table, as well as the corresponding horizontal metrics table, */
|
100
|
+
/* i.e., the `hmtx' table. */
|
101
|
+
/* */
|
102
|
+
/* <Fields> */
|
103
|
+
/* Version :: The table version. */
|
104
|
+
/* */
|
105
|
+
/* Ascender :: The font's ascender, i.e., the distance */
|
106
|
+
/* from the baseline to the top-most of all */
|
107
|
+
/* glyph points found in the font. */
|
108
|
+
/* */
|
109
|
+
/* This value is invalid in many fonts, as */
|
110
|
+
/* it is usually set by the font designer, */
|
111
|
+
/* and often reflects only a portion of the */
|
112
|
+
/* glyphs found in the font (maybe ASCII). */
|
113
|
+
/* */
|
114
|
+
/* You should use the `sTypoAscender' field */
|
115
|
+
/* of the OS/2 table instead if you want */
|
116
|
+
/* the correct one. */
|
117
|
+
/* */
|
118
|
+
/* Descender :: The font's descender, i.e., the distance */
|
119
|
+
/* from the baseline to the bottom-most of */
|
120
|
+
/* all glyph points found in the font. It */
|
121
|
+
/* is negative. */
|
122
|
+
/* */
|
123
|
+
/* This value is invalid in many fonts, as */
|
124
|
+
/* it is usually set by the font designer, */
|
125
|
+
/* and often reflects only a portion of the */
|
126
|
+
/* glyphs found in the font (maybe ASCII). */
|
127
|
+
/* */
|
128
|
+
/* You should use the `sTypoDescender' */
|
129
|
+
/* field of the OS/2 table instead if you */
|
130
|
+
/* want the correct one. */
|
131
|
+
/* */
|
132
|
+
/* Line_Gap :: The font's line gap, i.e., the distance */
|
133
|
+
/* to add to the ascender and descender to */
|
134
|
+
/* get the BTB, i.e., the */
|
135
|
+
/* baseline-to-baseline distance for the */
|
136
|
+
/* font. */
|
137
|
+
/* */
|
138
|
+
/* advance_Width_Max :: This field is the maximum of all advance */
|
139
|
+
/* widths found in the font. It can be */
|
140
|
+
/* used to compute the maximum width of an */
|
141
|
+
/* arbitrary string of text. */
|
142
|
+
/* */
|
143
|
+
/* min_Left_Side_Bearing :: The minimum left side bearing of all */
|
144
|
+
/* glyphs within the font. */
|
145
|
+
/* */
|
146
|
+
/* min_Right_Side_Bearing :: The minimum right side bearing of all */
|
147
|
+
/* glyphs within the font. */
|
148
|
+
/* */
|
149
|
+
/* xMax_Extent :: The maximum horizontal extent (i.e., the */
|
150
|
+
/* `width' of a glyph's bounding box) for */
|
151
|
+
/* all glyphs in the font. */
|
152
|
+
/* */
|
153
|
+
/* caret_Slope_Rise :: The rise coefficient of the cursor's */
|
154
|
+
/* slope of the cursor (slope=rise/run). */
|
155
|
+
/* */
|
156
|
+
/* caret_Slope_Run :: The run coefficient of the cursor's */
|
157
|
+
/* slope. */
|
158
|
+
/* */
|
159
|
+
/* Reserved :: 8~reserved bytes. */
|
160
|
+
/* */
|
161
|
+
/* metric_Data_Format :: Always~0. */
|
162
|
+
/* */
|
163
|
+
/* number_Of_HMetrics :: Number of HMetrics entries in the `hmtx' */
|
164
|
+
/* table -- this value can be smaller than */
|
165
|
+
/* the total number of glyphs in the font. */
|
166
|
+
/* */
|
167
|
+
/* long_metrics :: A pointer into the `hmtx' table. */
|
168
|
+
/* */
|
169
|
+
/* short_metrics :: A pointer into the `hmtx' table. */
|
170
|
+
/* */
|
171
|
+
/* <Note> */
|
172
|
+
/* IMPORTANT: The TT_HoriHeader and TT_VertHeader structures should */
|
173
|
+
/* be identical except for the names of their fields which */
|
174
|
+
/* are different. */
|
175
|
+
/* */
|
176
|
+
/* This ensures that a single function in the `ttload' */
|
177
|
+
/* module is able to read both the horizontal and vertical */
|
178
|
+
/* headers. */
|
179
|
+
/* */
|
180
|
+
typedef struct TT_HoriHeader_
|
181
|
+
{
|
182
|
+
FT_Fixed Version;
|
183
|
+
FT_Short Ascender;
|
184
|
+
FT_Short Descender;
|
185
|
+
FT_Short Line_Gap;
|
186
|
+
|
187
|
+
FT_UShort advance_Width_Max; /* advance width maximum */
|
188
|
+
|
189
|
+
FT_Short min_Left_Side_Bearing; /* minimum left-sb */
|
190
|
+
FT_Short min_Right_Side_Bearing; /* minimum right-sb */
|
191
|
+
FT_Short xMax_Extent; /* xmax extents */
|
192
|
+
FT_Short caret_Slope_Rise;
|
193
|
+
FT_Short caret_Slope_Run;
|
194
|
+
FT_Short caret_Offset;
|
195
|
+
|
196
|
+
FT_Short Reserved[4];
|
197
|
+
|
198
|
+
FT_Short metric_Data_Format;
|
199
|
+
FT_UShort number_Of_HMetrics;
|
200
|
+
|
201
|
+
/* The following fields are not defined by the TrueType specification */
|
202
|
+
/* but they are used to connect the metrics header to the relevant */
|
203
|
+
/* `HMTX' table. */
|
204
|
+
|
205
|
+
void* long_metrics;
|
206
|
+
void* short_metrics;
|
207
|
+
|
208
|
+
} TT_HoriHeader;
|
209
|
+
|
210
|
+
|
211
|
+
/*************************************************************************/
|
212
|
+
/* */
|
213
|
+
/* <Struct> */
|
214
|
+
/* TT_VertHeader */
|
215
|
+
/* */
|
216
|
+
/* <Description> */
|
217
|
+
/* A structure used to model a TrueType vertical header, the `vhea' */
|
218
|
+
/* table, as well as the corresponding vertical metrics table, i.e., */
|
219
|
+
/* the `vmtx' table. */
|
220
|
+
/* */
|
221
|
+
/* <Fields> */
|
222
|
+
/* Version :: The table version. */
|
223
|
+
/* */
|
224
|
+
/* Ascender :: The font's ascender, i.e., the distance */
|
225
|
+
/* from the baseline to the top-most of */
|
226
|
+
/* all glyph points found in the font. */
|
227
|
+
/* */
|
228
|
+
/* This value is invalid in many fonts, as */
|
229
|
+
/* it is usually set by the font designer, */
|
230
|
+
/* and often reflects only a portion of */
|
231
|
+
/* the glyphs found in the font (maybe */
|
232
|
+
/* ASCII). */
|
233
|
+
/* */
|
234
|
+
/* You should use the `sTypoAscender' */
|
235
|
+
/* field of the OS/2 table instead if you */
|
236
|
+
/* want the correct one. */
|
237
|
+
/* */
|
238
|
+
/* Descender :: The font's descender, i.e., the */
|
239
|
+
/* distance from the baseline to the */
|
240
|
+
/* bottom-most of all glyph points found */
|
241
|
+
/* in the font. It is negative. */
|
242
|
+
/* */
|
243
|
+
/* This value is invalid in many fonts, as */
|
244
|
+
/* it is usually set by the font designer, */
|
245
|
+
/* and often reflects only a portion of */
|
246
|
+
/* the glyphs found in the font (maybe */
|
247
|
+
/* ASCII). */
|
248
|
+
/* */
|
249
|
+
/* You should use the `sTypoDescender' */
|
250
|
+
/* field of the OS/2 table instead if you */
|
251
|
+
/* want the correct one. */
|
252
|
+
/* */
|
253
|
+
/* Line_Gap :: The font's line gap, i.e., the distance */
|
254
|
+
/* to add to the ascender and descender to */
|
255
|
+
/* get the BTB, i.e., the */
|
256
|
+
/* baseline-to-baseline distance for the */
|
257
|
+
/* font. */
|
258
|
+
/* */
|
259
|
+
/* advance_Height_Max :: This field is the maximum of all */
|
260
|
+
/* advance heights found in the font. It */
|
261
|
+
/* can be used to compute the maximum */
|
262
|
+
/* height of an arbitrary string of text. */
|
263
|
+
/* */
|
264
|
+
/* min_Top_Side_Bearing :: The minimum top side bearing of all */
|
265
|
+
/* glyphs within the font. */
|
266
|
+
/* */
|
267
|
+
/* min_Bottom_Side_Bearing :: The minimum bottom side bearing of all */
|
268
|
+
/* glyphs within the font. */
|
269
|
+
/* */
|
270
|
+
/* yMax_Extent :: The maximum vertical extent (i.e., the */
|
271
|
+
/* `height' of a glyph's bounding box) for */
|
272
|
+
/* all glyphs in the font. */
|
273
|
+
/* */
|
274
|
+
/* caret_Slope_Rise :: The rise coefficient of the cursor's */
|
275
|
+
/* slope of the cursor (slope=rise/run). */
|
276
|
+
/* */
|
277
|
+
/* caret_Slope_Run :: The run coefficient of the cursor's */
|
278
|
+
/* slope. */
|
279
|
+
/* */
|
280
|
+
/* caret_Offset :: The cursor's offset for slanted fonts. */
|
281
|
+
/* This value is `reserved' in vmtx */
|
282
|
+
/* version 1.0. */
|
283
|
+
/* */
|
284
|
+
/* Reserved :: 8~reserved bytes. */
|
285
|
+
/* */
|
286
|
+
/* metric_Data_Format :: Always~0. */
|
287
|
+
/* */
|
288
|
+
/* number_Of_HMetrics :: Number of VMetrics entries in the */
|
289
|
+
/* `vmtx' table -- this value can be */
|
290
|
+
/* smaller than the total number of glyphs */
|
291
|
+
/* in the font. */
|
292
|
+
/* */
|
293
|
+
/* long_metrics :: A pointer into the `vmtx' table. */
|
294
|
+
/* */
|
295
|
+
/* short_metrics :: A pointer into the `vmtx' table. */
|
296
|
+
/* */
|
297
|
+
/* <Note> */
|
298
|
+
/* IMPORTANT: The TT_HoriHeader and TT_VertHeader structures should */
|
299
|
+
/* be identical except for the names of their fields which */
|
300
|
+
/* are different. */
|
301
|
+
/* */
|
302
|
+
/* This ensures that a single function in the `ttload' */
|
303
|
+
/* module is able to read both the horizontal and vertical */
|
304
|
+
/* headers. */
|
305
|
+
/* */
|
306
|
+
typedef struct TT_VertHeader_
|
307
|
+
{
|
308
|
+
FT_Fixed Version;
|
309
|
+
FT_Short Ascender;
|
310
|
+
FT_Short Descender;
|
311
|
+
FT_Short Line_Gap;
|
312
|
+
|
313
|
+
FT_UShort advance_Height_Max; /* advance height maximum */
|
314
|
+
|
315
|
+
FT_Short min_Top_Side_Bearing; /* minimum left-sb or top-sb */
|
316
|
+
FT_Short min_Bottom_Side_Bearing; /* minimum right-sb or bottom-sb */
|
317
|
+
FT_Short yMax_Extent; /* xmax or ymax extents */
|
318
|
+
FT_Short caret_Slope_Rise;
|
319
|
+
FT_Short caret_Slope_Run;
|
320
|
+
FT_Short caret_Offset;
|
321
|
+
|
322
|
+
FT_Short Reserved[4];
|
323
|
+
|
324
|
+
FT_Short metric_Data_Format;
|
325
|
+
FT_UShort number_Of_VMetrics;
|
326
|
+
|
327
|
+
/* The following fields are not defined by the TrueType specification */
|
328
|
+
/* but they're used to connect the metrics header to the relevant */
|
329
|
+
/* `HMTX' or `VMTX' table. */
|
330
|
+
|
331
|
+
void* long_metrics;
|
332
|
+
void* short_metrics;
|
333
|
+
|
334
|
+
} TT_VertHeader;
|
335
|
+
|
336
|
+
|
337
|
+
/*************************************************************************/
|
338
|
+
/* */
|
339
|
+
/* <Struct> */
|
340
|
+
/* TT_OS2 */
|
341
|
+
/* */
|
342
|
+
/* <Description> */
|
343
|
+
/* A structure used to model a TrueType OS/2 table. This is the long */
|
344
|
+
/* table version. All fields comply to the TrueType specification. */
|
345
|
+
/* */
|
346
|
+
/* Note that we now support old Mac fonts which do not include an */
|
347
|
+
/* OS/2 table. In this case, the `version' field is always set to */
|
348
|
+
/* 0xFFFF. */
|
349
|
+
/* */
|
350
|
+
typedef struct TT_OS2_
|
351
|
+
{
|
352
|
+
FT_UShort version; /* 0x0001 - more or 0xFFFF */
|
353
|
+
FT_Short xAvgCharWidth;
|
354
|
+
FT_UShort usWeightClass;
|
355
|
+
FT_UShort usWidthClass;
|
356
|
+
FT_Short fsType;
|
357
|
+
FT_Short ySubscriptXSize;
|
358
|
+
FT_Short ySubscriptYSize;
|
359
|
+
FT_Short ySubscriptXOffset;
|
360
|
+
FT_Short ySubscriptYOffset;
|
361
|
+
FT_Short ySuperscriptXSize;
|
362
|
+
FT_Short ySuperscriptYSize;
|
363
|
+
FT_Short ySuperscriptXOffset;
|
364
|
+
FT_Short ySuperscriptYOffset;
|
365
|
+
FT_Short yStrikeoutSize;
|
366
|
+
FT_Short yStrikeoutPosition;
|
367
|
+
FT_Short sFamilyClass;
|
368
|
+
|
369
|
+
FT_Byte panose[10];
|
370
|
+
|
371
|
+
FT_ULong ulUnicodeRange1; /* Bits 0-31 */
|
372
|
+
FT_ULong ulUnicodeRange2; /* Bits 32-63 */
|
373
|
+
FT_ULong ulUnicodeRange3; /* Bits 64-95 */
|
374
|
+
FT_ULong ulUnicodeRange4; /* Bits 96-127 */
|
375
|
+
|
376
|
+
FT_Char achVendID[4];
|
377
|
+
|
378
|
+
FT_UShort fsSelection;
|
379
|
+
FT_UShort usFirstCharIndex;
|
380
|
+
FT_UShort usLastCharIndex;
|
381
|
+
FT_Short sTypoAscender;
|
382
|
+
FT_Short sTypoDescender;
|
383
|
+
FT_Short sTypoLineGap;
|
384
|
+
FT_UShort usWinAscent;
|
385
|
+
FT_UShort usWinDescent;
|
386
|
+
|
387
|
+
/* only version 1 tables: */
|
388
|
+
|
389
|
+
FT_ULong ulCodePageRange1; /* Bits 0-31 */
|
390
|
+
FT_ULong ulCodePageRange2; /* Bits 32-63 */
|
391
|
+
|
392
|
+
/* only version 2 tables: */
|
393
|
+
|
394
|
+
FT_Short sxHeight;
|
395
|
+
FT_Short sCapHeight;
|
396
|
+
FT_UShort usDefaultChar;
|
397
|
+
FT_UShort usBreakChar;
|
398
|
+
FT_UShort usMaxContext;
|
399
|
+
|
400
|
+
} TT_OS2;
|
401
|
+
|
402
|
+
|
403
|
+
/*************************************************************************/
|
404
|
+
/* */
|
405
|
+
/* <Struct> */
|
406
|
+
/* TT_Postscript */
|
407
|
+
/* */
|
408
|
+
/* <Description> */
|
409
|
+
/* A structure used to model a TrueType PostScript table. All fields */
|
410
|
+
/* comply to the TrueType specification. This structure does not */
|
411
|
+
/* reference the PostScript glyph names, which can be nevertheless */
|
412
|
+
/* accessed with the `ttpost' module. */
|
413
|
+
/* */
|
414
|
+
typedef struct TT_Postscript_
|
415
|
+
{
|
416
|
+
FT_Fixed FormatType;
|
417
|
+
FT_Fixed italicAngle;
|
418
|
+
FT_Short underlinePosition;
|
419
|
+
FT_Short underlineThickness;
|
420
|
+
FT_ULong isFixedPitch;
|
421
|
+
FT_ULong minMemType42;
|
422
|
+
FT_ULong maxMemType42;
|
423
|
+
FT_ULong minMemType1;
|
424
|
+
FT_ULong maxMemType1;
|
425
|
+
|
426
|
+
/* Glyph names follow in the file, but we don't */
|
427
|
+
/* load them by default. See the ttpost.c file. */
|
428
|
+
|
429
|
+
} TT_Postscript;
|
430
|
+
|
431
|
+
|
432
|
+
/*************************************************************************/
|
433
|
+
/* */
|
434
|
+
/* <Struct> */
|
435
|
+
/* TT_PCLT */
|
436
|
+
/* */
|
437
|
+
/* <Description> */
|
438
|
+
/* A structure used to model a TrueType PCLT table. All fields */
|
439
|
+
/* comply to the TrueType specification. */
|
440
|
+
/* */
|
441
|
+
typedef struct TT_PCLT_
|
442
|
+
{
|
443
|
+
FT_Fixed Version;
|
444
|
+
FT_ULong FontNumber;
|
445
|
+
FT_UShort Pitch;
|
446
|
+
FT_UShort xHeight;
|
447
|
+
FT_UShort Style;
|
448
|
+
FT_UShort TypeFamily;
|
449
|
+
FT_UShort CapHeight;
|
450
|
+
FT_UShort SymbolSet;
|
451
|
+
FT_Char TypeFace[16];
|
452
|
+
FT_Char CharacterComplement[8];
|
453
|
+
FT_Char FileName[6];
|
454
|
+
FT_Char StrokeWeight;
|
455
|
+
FT_Char WidthType;
|
456
|
+
FT_Byte SerifStyle;
|
457
|
+
FT_Byte Reserved;
|
458
|
+
|
459
|
+
} TT_PCLT;
|
460
|
+
|
461
|
+
|
462
|
+
/*************************************************************************/
|
463
|
+
/* */
|
464
|
+
/* <Struct> */
|
465
|
+
/* TT_MaxProfile */
|
466
|
+
/* */
|
467
|
+
/* <Description> */
|
468
|
+
/* The maximum profile is a table containing many max values which */
|
469
|
+
/* can be used to pre-allocate arrays. This ensures that no memory */
|
470
|
+
/* allocation occurs during a glyph load. */
|
471
|
+
/* */
|
472
|
+
/* <Fields> */
|
473
|
+
/* version :: The version number. */
|
474
|
+
/* */
|
475
|
+
/* numGlyphs :: The number of glyphs in this TrueType */
|
476
|
+
/* font. */
|
477
|
+
/* */
|
478
|
+
/* maxPoints :: The maximum number of points in a */
|
479
|
+
/* non-composite TrueType glyph. See also */
|
480
|
+
/* the structure element */
|
481
|
+
/* `maxCompositePoints'. */
|
482
|
+
/* */
|
483
|
+
/* maxContours :: The maximum number of contours in a */
|
484
|
+
/* non-composite TrueType glyph. See also */
|
485
|
+
/* the structure element */
|
486
|
+
/* `maxCompositeContours'. */
|
487
|
+
/* */
|
488
|
+
/* maxCompositePoints :: The maximum number of points in a */
|
489
|
+
/* composite TrueType glyph. See also the */
|
490
|
+
/* structure element `maxPoints'. */
|
491
|
+
/* */
|
492
|
+
/* maxCompositeContours :: The maximum number of contours in a */
|
493
|
+
/* composite TrueType glyph. See also the */
|
494
|
+
/* structure element `maxContours'. */
|
495
|
+
/* */
|
496
|
+
/* maxZones :: The maximum number of zones used for */
|
497
|
+
/* glyph hinting. */
|
498
|
+
/* */
|
499
|
+
/* maxTwilightPoints :: The maximum number of points in the */
|
500
|
+
/* twilight zone used for glyph hinting. */
|
501
|
+
/* */
|
502
|
+
/* maxStorage :: The maximum number of elements in the */
|
503
|
+
/* storage area used for glyph hinting. */
|
504
|
+
/* */
|
505
|
+
/* maxFunctionDefs :: The maximum number of function */
|
506
|
+
/* definitions in the TrueType bytecode for */
|
507
|
+
/* this font. */
|
508
|
+
/* */
|
509
|
+
/* maxInstructionDefs :: The maximum number of instruction */
|
510
|
+
/* definitions in the TrueType bytecode for */
|
511
|
+
/* this font. */
|
512
|
+
/* */
|
513
|
+
/* maxStackElements :: The maximum number of stack elements used */
|
514
|
+
/* during bytecode interpretation. */
|
515
|
+
/* */
|
516
|
+
/* maxSizeOfInstructions :: The maximum number of TrueType opcodes */
|
517
|
+
/* used for glyph hinting. */
|
518
|
+
/* */
|
519
|
+
/* maxComponentElements :: The maximum number of simple (i.e., non- */
|
520
|
+
/* composite) glyphs in a composite glyph. */
|
521
|
+
/* */
|
522
|
+
/* maxComponentDepth :: The maximum nesting depth of composite */
|
523
|
+
/* glyphs. */
|
524
|
+
/* */
|
525
|
+
/* <Note> */
|
526
|
+
/* This structure is only used during font loading. */
|
527
|
+
/* */
|
528
|
+
typedef struct TT_MaxProfile_
|
529
|
+
{
|
530
|
+
FT_Fixed version;
|
531
|
+
FT_UShort numGlyphs;
|
532
|
+
FT_UShort maxPoints;
|
533
|
+
FT_UShort maxContours;
|
534
|
+
FT_UShort maxCompositePoints;
|
535
|
+
FT_UShort maxCompositeContours;
|
536
|
+
FT_UShort maxZones;
|
537
|
+
FT_UShort maxTwilightPoints;
|
538
|
+
FT_UShort maxStorage;
|
539
|
+
FT_UShort maxFunctionDefs;
|
540
|
+
FT_UShort maxInstructionDefs;
|
541
|
+
FT_UShort maxStackElements;
|
542
|
+
FT_UShort maxSizeOfInstructions;
|
543
|
+
FT_UShort maxComponentElements;
|
544
|
+
FT_UShort maxComponentDepth;
|
545
|
+
|
546
|
+
} TT_MaxProfile;
|
547
|
+
|
548
|
+
|
549
|
+
/*************************************************************************/
|
550
|
+
/* */
|
551
|
+
/* <Enum> */
|
552
|
+
/* FT_Sfnt_Tag */
|
553
|
+
/* */
|
554
|
+
/* <Description> */
|
555
|
+
/* An enumeration used to specify the index of an SFNT table. */
|
556
|
+
/* Used in the @FT_Get_Sfnt_Table API function. */
|
557
|
+
/* */
|
558
|
+
typedef enum FT_Sfnt_Tag_
|
559
|
+
{
|
560
|
+
ft_sfnt_head = 0, /* TT_Header */
|
561
|
+
ft_sfnt_maxp = 1, /* TT_MaxProfile */
|
562
|
+
ft_sfnt_os2 = 2, /* TT_OS2 */
|
563
|
+
ft_sfnt_hhea = 3, /* TT_HoriHeader */
|
564
|
+
ft_sfnt_vhea = 4, /* TT_VertHeader */
|
565
|
+
ft_sfnt_post = 5, /* TT_Postscript */
|
566
|
+
ft_sfnt_pclt = 6, /* TT_PCLT */
|
567
|
+
|
568
|
+
sfnt_max /* internal end mark */
|
569
|
+
|
570
|
+
} FT_Sfnt_Tag;
|
571
|
+
|
572
|
+
/* */
|
573
|
+
|
574
|
+
|
575
|
+
/*************************************************************************/
|
576
|
+
/* */
|
577
|
+
/* <Function> */
|
578
|
+
/* FT_Get_Sfnt_Table */
|
579
|
+
/* */
|
580
|
+
/* <Description> */
|
581
|
+
/* Return a pointer to a given SFNT table within a face. */
|
582
|
+
/* */
|
583
|
+
/* <Input> */
|
584
|
+
/* face :: A handle to the source. */
|
585
|
+
/* */
|
586
|
+
/* tag :: The index of the SFNT table. */
|
587
|
+
/* */
|
588
|
+
/* <Return> */
|
589
|
+
/* A type-less pointer to the table. This will be~0 in case of */
|
590
|
+
/* error, or if the corresponding table was not found *OR* loaded */
|
591
|
+
/* from the file. */
|
592
|
+
/* */
|
593
|
+
/* Use a typecast according to `tag' to access the structure */
|
594
|
+
/* elements. */
|
595
|
+
/* */
|
596
|
+
/* <Note> */
|
597
|
+
/* The table is owned by the face object and disappears with it. */
|
598
|
+
/* */
|
599
|
+
/* This function is only useful to access SFNT tables that are loaded */
|
600
|
+
/* by the sfnt, truetype, and opentype drivers. See @FT_Sfnt_Tag for */
|
601
|
+
/* a list. */
|
602
|
+
/* */
|
603
|
+
FT_EXPORT( void* )
|
604
|
+
FT_Get_Sfnt_Table( FT_Face face,
|
605
|
+
FT_Sfnt_Tag tag );
|
606
|
+
|
607
|
+
|
608
|
+
/**************************************************************************
|
609
|
+
*
|
610
|
+
* @function:
|
611
|
+
* FT_Load_Sfnt_Table
|
612
|
+
*
|
613
|
+
* @description:
|
614
|
+
* Load any font table into client memory.
|
615
|
+
*
|
616
|
+
* @input:
|
617
|
+
* face ::
|
618
|
+
* A handle to the source face.
|
619
|
+
*
|
620
|
+
* tag ::
|
621
|
+
* The four-byte tag of the table to load. Use the value~0 if you want
|
622
|
+
* to access the whole font file. Otherwise, you can use one of the
|
623
|
+
* definitions found in the @FT_TRUETYPE_TAGS_H file, or forge a new
|
624
|
+
* one with @FT_MAKE_TAG.
|
625
|
+
*
|
626
|
+
* offset ::
|
627
|
+
* The starting offset in the table (or file if tag == 0).
|
628
|
+
*
|
629
|
+
* @output:
|
630
|
+
* buffer ::
|
631
|
+
* The target buffer address. The client must ensure that the memory
|
632
|
+
* array is big enough to hold the data.
|
633
|
+
*
|
634
|
+
* @inout:
|
635
|
+
* length ::
|
636
|
+
* If the `length' parameter is NULL, then try to load the whole table.
|
637
|
+
* Return an error code if it fails.
|
638
|
+
*
|
639
|
+
* Else, if `*length' is~0, exit immediately while returning the
|
640
|
+
* table's (or file) full size in it.
|
641
|
+
*
|
642
|
+
* Else the number of bytes to read from the table or file, from the
|
643
|
+
* starting offset.
|
644
|
+
*
|
645
|
+
* @return:
|
646
|
+
* FreeType error code. 0~means success.
|
647
|
+
*
|
648
|
+
* @note:
|
649
|
+
* If you need to determine the table's length you should first call this
|
650
|
+
* function with `*length' set to~0, as in the following example:
|
651
|
+
*
|
652
|
+
* {
|
653
|
+
* FT_ULong length = 0;
|
654
|
+
*
|
655
|
+
*
|
656
|
+
* error = FT_Load_Sfnt_Table( face, tag, 0, NULL, &length );
|
657
|
+
* if ( error ) { ... table does not exist ... }
|
658
|
+
*
|
659
|
+
* buffer = malloc( length );
|
660
|
+
* if ( buffer == NULL ) { ... not enough memory ... }
|
661
|
+
*
|
662
|
+
* error = FT_Load_Sfnt_Table( face, tag, 0, buffer, &length );
|
663
|
+
* if ( error ) { ... could not load table ... }
|
664
|
+
* }
|
665
|
+
*/
|
666
|
+
FT_EXPORT( FT_Error )
|
667
|
+
FT_Load_Sfnt_Table( FT_Face face,
|
668
|
+
FT_ULong tag,
|
669
|
+
FT_Long offset,
|
670
|
+
FT_Byte* buffer,
|
671
|
+
FT_ULong* length );
|
672
|
+
|
673
|
+
|
674
|
+
/**************************************************************************
|
675
|
+
*
|
676
|
+
* @function:
|
677
|
+
* FT_Sfnt_Table_Info
|
678
|
+
*
|
679
|
+
* @description:
|
680
|
+
* Return information on an SFNT table.
|
681
|
+
*
|
682
|
+
* @input:
|
683
|
+
* face ::
|
684
|
+
* A handle to the source face.
|
685
|
+
*
|
686
|
+
* table_index ::
|
687
|
+
* The index of an SFNT table. The function returns
|
688
|
+
* FT_Err_Table_Missing for an invalid value.
|
689
|
+
*
|
690
|
+
* @output:
|
691
|
+
* tag ::
|
692
|
+
* The name tag of the SFNT table.
|
693
|
+
*
|
694
|
+
* length ::
|
695
|
+
* The length of the SFNT table.
|
696
|
+
*
|
697
|
+
* @return:
|
698
|
+
* FreeType error code. 0~means success.
|
699
|
+
*
|
700
|
+
* @note:
|
701
|
+
* SFNT tables with length zero are treated as missing.
|
702
|
+
*
|
703
|
+
*/
|
704
|
+
FT_EXPORT( FT_Error )
|
705
|
+
FT_Sfnt_Table_Info( FT_Face face,
|
706
|
+
FT_UInt table_index,
|
707
|
+
FT_ULong *tag,
|
708
|
+
FT_ULong *length );
|
709
|
+
|
710
|
+
|
711
|
+
/*************************************************************************/
|
712
|
+
/* */
|
713
|
+
/* <Function> */
|
714
|
+
/* FT_Get_CMap_Language_ID */
|
715
|
+
/* */
|
716
|
+
/* <Description> */
|
717
|
+
/* Return TrueType/sfnt specific cmap language ID. Definitions of */
|
718
|
+
/* language ID values are in `freetype/ttnameid.h'. */
|
719
|
+
/* */
|
720
|
+
/* <Input> */
|
721
|
+
/* charmap :: */
|
722
|
+
/* The target charmap. */
|
723
|
+
/* */
|
724
|
+
/* <Return> */
|
725
|
+
/* The language ID of `charmap'. If `charmap' doesn't belong to a */
|
726
|
+
/* TrueType/sfnt face, just return~0 as the default value. */
|
727
|
+
/* */
|
728
|
+
FT_EXPORT( FT_ULong )
|
729
|
+
FT_Get_CMap_Language_ID( FT_CharMap charmap );
|
730
|
+
|
731
|
+
|
732
|
+
/*************************************************************************/
|
733
|
+
/* */
|
734
|
+
/* <Function> */
|
735
|
+
/* FT_Get_CMap_Format */
|
736
|
+
/* */
|
737
|
+
/* <Description> */
|
738
|
+
/* Return TrueType/sfnt specific cmap format. */
|
739
|
+
/* */
|
740
|
+
/* <Input> */
|
741
|
+
/* charmap :: */
|
742
|
+
/* The target charmap. */
|
743
|
+
/* */
|
744
|
+
/* <Return> */
|
745
|
+
/* The format of `charmap'. If `charmap' doesn't belong to a */
|
746
|
+
/* TrueType/sfnt face, return -1. */
|
747
|
+
/* */
|
748
|
+
FT_EXPORT( FT_Long )
|
749
|
+
FT_Get_CMap_Format( FT_CharMap charmap );
|
750
|
+
|
751
|
+
/* */
|
752
|
+
|
753
|
+
|
754
|
+
FT_END_HEADER
|
755
|
+
|
756
|
+
#endif /* __TTTABLES_H__ */
|
757
|
+
|
758
|
+
|
759
|
+
/* END */
|