pdf2json 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,479 @@
|
|
1
|
+
! Generated automatically by mantohlp
|
2
|
+
1 xpdfrc
|
3
|
+
2 NCLUDE_FILE
|
4
|
+
|
5
|
+
xpdfrc - configuration file for Xpdf tools (version 3.01)
|
6
|
+
|
7
|
+
include config-file
|
8
|
+
Includes the specified config file. The effect of
|
9
|
+
this is equivalent to inserting the contents of
|
10
|
+
config-file directly into the parent config file in
|
11
|
+
place of the include command. Config files can be
|
12
|
+
nested arbitrarily deeply.
|
13
|
+
|
14
|
+
()
|
15
|
+
|
16
|
+
2 HARACTER_MAPPIN
|
17
|
+
|
18
|
+
nameToUnicode map-file
|
19
|
+
Specifies a file with the mapping from character
|
20
|
+
names to Unicode. This is used to handle PDF fonts
|
21
|
+
that have valid encodings but no ToUnicode entry.
|
22
|
+
Each line of a nameToUnicode file looks like this:
|
23
|
+
|
24
|
+
hex-string name
|
25
|
+
|
26
|
+
The hex-string is the Unicode (UCS-2) character
|
27
|
+
index, and name is the corresponding character
|
28
|
+
name. Multiple nameToUnicode files can be used; if
|
29
|
+
a character name is given more than once, the code
|
30
|
+
in the last specified file is used. There is a
|
31
|
+
built-in default nameToUnicode table with all of
|
32
|
+
Adobe's standard character names.
|
33
|
+
|
34
|
+
cidToUnicode registry-ordering map-file
|
35
|
+
Specifies the file with the mapping from character
|
36
|
+
collection to Unicode. Each line of a cidToUnicode
|
37
|
+
file represents one character:
|
38
|
+
|
39
|
+
hex-string
|
40
|
+
|
41
|
+
The hex-string is the Unicode (UCS-2) index for
|
42
|
+
that character. The first line maps CID 0, the
|
43
|
+
second line CID 1, etc. File size is determined by
|
44
|
+
size of the character collection. Only one file is
|
45
|
+
allowed per character collection; the last speci-
|
46
|
+
fied file is used. There are no built-in cidToUni-
|
47
|
+
code mappings.
|
48
|
+
|
49
|
+
unicodeToUnicode font-name-substring map-file
|
50
|
+
This is used to work around PDF fonts which have
|
51
|
+
incorrect Unicode information. It specifies a file
|
52
|
+
which maps from the given (incorrect) Unicode
|
53
|
+
indexes to the correct ones. The mapping will be
|
54
|
+
used for any font whose name contains
|
55
|
+
font-name-substring. Each line of a unicodeToUni-
|
56
|
+
code file represents one Unicode character:
|
57
|
+
|
58
|
+
in-hex out-hex1 out-hex2 ...
|
59
|
+
|
60
|
+
The in-hex field is an input (incorrect) Unicode
|
61
|
+
index, and the rest of the fields are one or more
|
62
|
+
output (correct) Unicode indexes. Each occurrence
|
63
|
+
of in-hex will be converted to the specified output
|
64
|
+
sequence.
|
65
|
+
|
66
|
+
unicodeMap encoding-name map-file
|
67
|
+
Specifies the file with mapping from Unicode to
|
68
|
+
encoding-name. These encodings are used for X dis-
|
69
|
+
play fonts and text output (see below). Each line
|
70
|
+
of a unicodeMap file represents a range of one or
|
71
|
+
more Unicode characters which maps linearly to a
|
72
|
+
range in the output encoding:
|
73
|
+
|
74
|
+
in-start-hex in-end-hex out-start-hex
|
75
|
+
|
76
|
+
Entries for single characters can be abbreviated
|
77
|
+
to:
|
78
|
+
|
79
|
+
in-hex out-hex
|
80
|
+
|
81
|
+
The in-start-hex and in-end-hex fields (or the sin-
|
82
|
+
gle in-hex field) specify the Unicode range. The
|
83
|
+
out-start-hex field (or the out-hex field) speci-
|
84
|
+
fies the start of the output encoding range. The
|
85
|
+
length of the out-start-hex (or out-hex) string
|
86
|
+
determines the length of the output characters
|
87
|
+
(e.g., UTF-8 uses different numbers of bytes to
|
88
|
+
represent characters in different ranges). Entries
|
89
|
+
must be given in increasing Unicode order. Only
|
90
|
+
one file is allowed per encoding; the last speci-
|
91
|
+
fied file is used. The Latin1, ASCII7, Symbol,
|
92
|
+
ZapfDingbats, UTF-8, and UCS-2 encodings are prede-
|
93
|
+
fined.
|
94
|
+
|
95
|
+
cMapDir registry-ordering dir
|
96
|
+
Specifies a search directory, dir, for CMaps for
|
97
|
+
the registry-ordering character collection. There
|
98
|
+
can be multiple directories for a particular col-
|
99
|
+
lection. There are no default CMap directories.
|
100
|
+
|
101
|
+
toUnicodeDir dir
|
102
|
+
Specifies a search directory, dir, for ToUnicode
|
103
|
+
CMaps. There can be multiple ToUnicode directo-
|
104
|
+
ries. There are no default ToUnicode directories.
|
105
|
+
|
106
|
+
()
|
107
|
+
|
108
|
+
2 ISPLAY_FONT
|
109
|
+
|
110
|
+
displayFontT1 PDF-font-name T1-file
|
111
|
+
Maps a PDF font, PDF-font-name, to a Type 1 font
|
112
|
+
for display. The Type 1 font file, T1-file, should
|
113
|
+
be a standard .pfa or .pfb file.
|
114
|
+
|
115
|
+
displayFontTT PDF-font-name TT-file
|
116
|
+
Maps a PDF font, PDF-font-name, to a TrueType font
|
117
|
+
for display. The TrueType font file, TT-file,
|
118
|
+
should be a standard .ttf file.
|
119
|
+
|
120
|
+
displayNamedCIDFontT1 PDF-font-name T1-file
|
121
|
+
Maps a specific PDF CID (16-bit) font,
|
122
|
+
PDF-font-name, to a CID font (16-bit PostScript
|
123
|
+
font), for display. There are no default CID font
|
124
|
+
mappings.
|
125
|
+
|
126
|
+
displayCIDFontT1 registry-ordering T1-file
|
127
|
+
Maps the registry-ordering character collection to
|
128
|
+
a CID font (16-bit PostScript font), for display.
|
129
|
+
This mapping is used if the font name doesn't match
|
130
|
+
any of the fonts declared with displayNamedCIDFont*
|
131
|
+
commands. There are no default CID font mappings.
|
132
|
+
|
133
|
+
displayNamedCIDFontTT PDF-font-name TT-file
|
134
|
+
Maps a specific PDF CID (16-bit) font,
|
135
|
+
PDF-font-name, to a (16-bit) TrueType font, for
|
136
|
+
display. There are no default CID font mappings.
|
137
|
+
|
138
|
+
displayCIDFontTT registry-ordering TT-file
|
139
|
+
Maps the registry-ordering character collection to
|
140
|
+
a (16-bit) TrueType font, for display. This map-
|
141
|
+
ping is used if the font name doesn't match any of
|
142
|
+
the fonts declared with displayNamedCIDFont* com-
|
143
|
+
mands. There are no default CID font mappings.
|
144
|
+
|
145
|
+
fontDir dir
|
146
|
+
Specifies a search directory for external font
|
147
|
+
files. There can be multiple fontDir directories.
|
148
|
+
If a PDF file uses a font but doesn't embed it,
|
149
|
+
these directories will be searched for a matching
|
150
|
+
font file. These fonts are used by both xpdf (for
|
151
|
+
display) and pdftops (for embedding in the gener-
|
152
|
+
ated PostScript). Type 1 fonts must have a suffix
|
153
|
+
of ".pfa", ".pfb", ".ps", or no suffix at all.
|
154
|
+
TrueType fonts must have a ".ttf" suffix. Other
|
155
|
+
files in these directories will be ignored. There
|
156
|
+
are no default fontDir directories.
|
157
|
+
|
158
|
+
()
|
159
|
+
|
160
|
+
2 OSTSCRIPT_CONTRO
|
161
|
+
|
162
|
+
psPaperSize width(pts) height(pts)
|
163
|
+
Sets the paper size for PostScript output. The
|
164
|
+
width and height parameters give the paper size in
|
165
|
+
PostScript points (1 point = 1/72 inch).
|
166
|
+
|
167
|
+
psPaperSize letter | legal | A4 | A3 | match
|
168
|
+
Sets the paper size for PostScript output to a
|
169
|
+
standard size. The default paper size is set when
|
170
|
+
xpdf and pdftops are built, typically to "letter"
|
171
|
+
or "A4". This can also be set to "match", which
|
172
|
+
will set the paper size to match the size specified
|
173
|
+
in the PDF file.
|
174
|
+
|
175
|
+
psImageableArea llx lly urx ury
|
176
|
+
Sets the imageable area for PostScript output. The
|
177
|
+
four integers are the coordinates of the lower-left
|
178
|
+
and upper-right corners of the imageable region,
|
179
|
+
specified in points (with the origin being the
|
180
|
+
lower-left corner of the paper). This defaults to
|
181
|
+
the full paper size; the psPaperSize option will
|
182
|
+
reset the imageable area coordinates.
|
183
|
+
|
184
|
+
psCrop yes | no
|
185
|
+
If set to "yes", PostScript output is cropped to
|
186
|
+
the CropBox specified in the PDF file; otherwise no
|
187
|
+
cropping is done. This defaults to "yes".
|
188
|
+
|
189
|
+
psExpandSmaller yes | no
|
190
|
+
If set to "yes", PDF pages smaller than the
|
191
|
+
PostScript imageable area are expanded to fill the
|
192
|
+
imageable area. Otherwise, no scalling is done on
|
193
|
+
smaller pages. This defaults to "no".
|
194
|
+
|
195
|
+
psShrinkLarger yes | no
|
196
|
+
If set to yes, PDF pages larger than the PostScript
|
197
|
+
imageable area are shrunk to fit the imageable
|
198
|
+
area. Otherwise, no scaling is done on larger
|
199
|
+
pages. This defaults to "yes".
|
200
|
+
|
201
|
+
psCenter yes | no
|
202
|
+
If set to yes, PDF pages smaller than the
|
203
|
+
PostScript imageable area (after any scaling) are
|
204
|
+
centered in the imageable area. Otherwise, they
|
205
|
+
are aligned at the lower-left corner of the image-
|
206
|
+
able area. This defaults to "yes".
|
207
|
+
|
208
|
+
psDuplex yes | no
|
209
|
+
If set to "yes", the generated PostScript will set
|
210
|
+
the "Duplex" pagedevice entry. This tells duplex-
|
211
|
+
capable printers to enable duplexing. This
|
212
|
+
defaults to "no".
|
213
|
+
|
214
|
+
psLevel level1 | level1sep | level2 | level2sep | level3 |
|
215
|
+
level3Sep
|
216
|
+
Sets the PostScript level to generate. This
|
217
|
+
defaults to "level2".
|
218
|
+
|
219
|
+
psFont PDF-font-name PS-font-name
|
220
|
+
When the PDF-font-name font is used in a PDF file,
|
221
|
+
it will be translated to the PostScript font
|
222
|
+
PS-font-name, which is assumed to be resident in
|
223
|
+
the printer. Typically, PDF-font-name and
|
224
|
+
PS-font-name are the same. By default, only the
|
225
|
+
Base-14 fonts are assumed to be resident.
|
226
|
+
|
227
|
+
psNamedFont16 PDF-font-name wMode PS-font-name encoding
|
228
|
+
When the 16-bit font PDF-font-name is used in a PDF
|
229
|
+
file with the wMode writing mode and is not embed-
|
230
|
+
ded, the PS-font-name font is substituted for it.
|
231
|
+
The writing mode must be either 'H' for horizontal
|
232
|
+
or 'V' for vertical. The PS-font-name font is
|
233
|
+
assumed to be resident in the printer and to use
|
234
|
+
the specified encoding (which must have been
|
235
|
+
defined with the unicodeMap command).
|
236
|
+
|
237
|
+
psFont16 registry-ordering wMode PS-font-name encoding
|
238
|
+
When a 16-bit font using the registry-ordering
|
239
|
+
character collection and wMode writing mode is not
|
240
|
+
embedded and does not match any of the fonts
|
241
|
+
declared in psNamedFont16 commands, the
|
242
|
+
PS-font-name font is substituted for it. The writ-
|
243
|
+
ing mode must be either 'H' for horizontal or 'V'
|
244
|
+
for vertical. The PS-font-name font is assumed to
|
245
|
+
be resident in the printer and to use the specified
|
246
|
+
writing mode and encoding (which must have been
|
247
|
+
defined with the unicodeMap command).
|
248
|
+
|
249
|
+
psEmbedType1Fonts yes | no
|
250
|
+
If set to "no", prevents embedding of Type 1 fonts
|
251
|
+
in generated PostScript. This defaults to "yes".
|
252
|
+
|
253
|
+
psEmbedTrueTypeFonts yes | no
|
254
|
+
If set to "no", prevents embedding of TrueType
|
255
|
+
fonts in generated PostScript. This defaults to
|
256
|
+
"yes".
|
257
|
+
|
258
|
+
psEmbedCIDTrueTypeFonts yes | no
|
259
|
+
If set to "no", prevents embedding of CID TrueType
|
260
|
+
fonts in generated PostScript. For Level 3
|
261
|
+
PostScript, this generates a CID font, for lower
|
262
|
+
levels it generates a non-CID composite font.
|
263
|
+
|
264
|
+
psEmbedCIDPostScriptFonts yes | no
|
265
|
+
If set to "no", prevents embedding of CID
|
266
|
+
PostScript fonts in generated PostScript. For
|
267
|
+
Level 3 PostScript, this generates a CID font, for
|
268
|
+
lower levels it generates a non-CID composite font.
|
269
|
+
|
270
|
+
psOPI yes | no
|
271
|
+
If set to "yes", generates PostScript OPI comments
|
272
|
+
for all images and forms which have OPI informa-
|
273
|
+
tion. This option is only available if the Xpdf
|
274
|
+
tools were compiled with OPI support. This
|
275
|
+
defaults to "no".
|
276
|
+
|
277
|
+
psASCIIHex yes | no
|
278
|
+
If set to "yes", the ASCIIHexEncode filter will be
|
279
|
+
used instead of ASCII85Encode for binary data.
|
280
|
+
This defaults to "no".
|
281
|
+
|
282
|
+
psFile file-or-command
|
283
|
+
Sets the default PostScript file or print command
|
284
|
+
for xpdf. Commands start with a '|' character;
|
285
|
+
anything else is a file. If the file name or com-
|
286
|
+
mand contains spaces it must be quoted. This
|
287
|
+
defaults to unset, which tells xpdf to generate a
|
288
|
+
name of the form <file>.ps for a PDF file
|
289
|
+
<file>.pdf.
|
290
|
+
|
291
|
+
fontDir dir
|
292
|
+
See the description above, in the DISPLAY FONTS
|
293
|
+
section.
|
294
|
+
|
295
|
+
()
|
296
|
+
|
297
|
+
2 EXT_CONTRO
|
298
|
+
|
299
|
+
textEncoding encoding-name
|
300
|
+
Sets the encoding to use for text output. (This
|
301
|
+
can be overridden with the "-enc" switch on the
|
302
|
+
command line.) The encoding-name must be defined
|
303
|
+
with the unicodeMap command (see above). This
|
304
|
+
defaults to "Latin1".
|
305
|
+
|
306
|
+
textEOL unix | dos | mac
|
307
|
+
Sets the end-of-line convention to use for text
|
308
|
+
output. The options are:
|
309
|
+
|
310
|
+
unix = LF
|
311
|
+
dos = CR+LF
|
312
|
+
mac = CR
|
313
|
+
|
314
|
+
(This can be overridden with the "-eol" switch on
|
315
|
+
the command line.) The default value is based on
|
316
|
+
the OS where xpdf and pdftotext were built.
|
317
|
+
|
318
|
+
textPageBreaks yes | no
|
319
|
+
If set to "yes", text extraction will insert page
|
320
|
+
breaks (form feed characters) between pages. This
|
321
|
+
defaults to "yes".
|
322
|
+
|
323
|
+
textKeepTinyChars yes | no
|
324
|
+
If set to "yes", text extraction will keep all
|
325
|
+
characters. If set to "no", text extraction will
|
326
|
+
discard tiny (smaller than 3 point) characters
|
327
|
+
after the first 50000 per page, avoiding extremely
|
328
|
+
slow run times for PDF files that use special fonts
|
329
|
+
to do shading or cross-hatching. This defaults to
|
330
|
+
"no".
|
331
|
+
|
332
|
+
()
|
333
|
+
|
334
|
+
2 ISCELLANEOUS_SETTING
|
335
|
+
|
336
|
+
initialZoom percentage | page | width
|
337
|
+
Sets the initial zoom factor. A number specifies a
|
338
|
+
zoom percentage, where 100 means 72 dpi. You may
|
339
|
+
also specify 'page', to fit the page to the window
|
340
|
+
size, or 'width', to fit the page width to the win-
|
341
|
+
dow width.
|
342
|
+
|
343
|
+
enableT1lib yes | no
|
344
|
+
Enables or disables use of t1lib (a Type 1 font
|
345
|
+
rasterizer). This is only relevant if the Xpdf
|
346
|
+
tools were built with t1lib support.
|
347
|
+
("enableT1lib" replaces the old "t1libControl"
|
348
|
+
option.) This option defaults to "yes".
|
349
|
+
|
350
|
+
enableFreeType yes | no
|
351
|
+
Enables or disables use of FreeType (a TrueType /
|
352
|
+
Type 1 font rasterizer). This is only relevant if
|
353
|
+
the Xpdf tools were built with FreeType support.
|
354
|
+
("enableFreeType" replaces the old "freetypeCon-
|
355
|
+
trol" option.) This option defaults to "yes".
|
356
|
+
|
357
|
+
antialias yes | no
|
358
|
+
Enables or disables font anti-aliasing in the PDF
|
359
|
+
rasterizer. This option affects all font rasteriz-
|
360
|
+
ers. ("antialias" replaces the anti-aliasing con-
|
361
|
+
trol provided by the old "t1libControl" and
|
362
|
+
"freetypeControl" options.) This default to "yes".
|
363
|
+
|
364
|
+
urlCommand command
|
365
|
+
Sets the command executed when you click on a URL
|
366
|
+
link. The string "%s" will be replaced with the
|
367
|
+
URL. (See the example below.) This has no default
|
368
|
+
value.
|
369
|
+
|
370
|
+
movieCommand command
|
371
|
+
Sets the command executed when you click on a movie
|
372
|
+
annotation. The string "%s" will be replaced with
|
373
|
+
the movie file name. This has no default value.
|
374
|
+
|
375
|
+
mapNumericCharNames yes | no
|
376
|
+
If set to "yes", the Xpdf tools will attempt to map
|
377
|
+
various numeric character names sometimes used in
|
378
|
+
font subsets. In some cases this leads to usable
|
379
|
+
text, and in other cases it leads to gibberish --
|
380
|
+
there is no way for Xpdf to tell. This defaults to
|
381
|
+
"yes".
|
382
|
+
|
383
|
+
printCommands yes | no
|
384
|
+
If set to "yes", drawing commands are printed as
|
385
|
+
they're executed (useful for debugging). This
|
386
|
+
defaults to "no".
|
387
|
+
|
388
|
+
errQuiet yes | no
|
389
|
+
If set to "yes", this suppresses all error and
|
390
|
+
warning messages from all of the Xpdf tools. This
|
391
|
+
defaults to "no".
|
392
|
+
|
393
|
+
()
|
394
|
+
|
395
|
+
2 EXAMPLES
|
396
|
+
|
397
|
+
The following is a sample xpdfrc file.
|
398
|
+
|
399
|
+
# from the Thai support package
|
400
|
+
nameToUnicode /usr/local/share/xpdf/Thai.nameToUnicode
|
401
|
+
|
402
|
+
# from the Japanese support package
|
403
|
+
cidToUnicode Adobe-Japan1 /usr/local/share/xpdf/Adobe-Japan1.cidToUnicode
|
404
|
+
unicodeMap JISX0208 /usr/local/share/xpdf/JISX0208.unicodeMap
|
405
|
+
cMapDir Adobe-Japan1 /usr/local/share/xpdf/cmap/Adobe-Japan1
|
406
|
+
|
407
|
+
# use the Base-14 Type 1 fonts from ghostscript
|
408
|
+
displayFontT1 Times-Roman /usr/local/share/ghostscript/fonts/n021003l.pfb
|
409
|
+
displayFontT1 Times-Italic /usr/local/share/ghostscript/fonts/n021023l.pfb
|
410
|
+
displayFontT1 Times-Bold /usr/local/share/ghostscript/fonts/n021004l.pfb
|
411
|
+
displayFontT1 Times-BoldItalic /usr/local/share/ghostscript/fonts/n021024l.pfb
|
412
|
+
displayFontT1 Helvetica /usr/local/share/ghostscript/fonts/n019003l.pfb
|
413
|
+
displayFontT1 Helvetica-Oblique /usr/local/share/ghostscript/fonts/n019023l.pfb
|
414
|
+
displayFontT1 Helvetica-Bold /usr/local/share/ghostscript/fonts/n019004l.pfb
|
415
|
+
displayFontT1 Helvetica-BoldOblique /usr/local/share/ghostscript/fonts/n019024l.pfb
|
416
|
+
displayFontT1 Courier /usr/local/share/ghostscript/fonts/n022003l.pfb
|
417
|
+
displayFontT1 Courier-Oblique /usr/local/share/ghostscript/fonts/n022023l.pfb
|
418
|
+
displayFontT1 Courier-Bold /usr/local/share/ghostscript/fonts/n022004l.pfb
|
419
|
+
displayFontT1 Courier-BoldOblique /usr/local/share/ghostscript/fonts/n022024l.pfb
|
420
|
+
displayFontT1 Symbol /usr/local/share/ghostscript/fonts/s050000l.pfb
|
421
|
+
displayFontT1 ZapfDingbats /usr/local/share/ghostscript/fonts/d050000l.pfb
|
422
|
+
|
423
|
+
# use the Bakoma Type 1 fonts
|
424
|
+
# (this assumes they happen to be installed in /usr/local/fonts/bakoma)
|
425
|
+
fontDir /usr/local/fonts/bakoma
|
426
|
+
|
427
|
+
# set some PostScript options
|
428
|
+
psPaperSize letter
|
429
|
+
psDuplex no
|
430
|
+
psLevel level2
|
431
|
+
psEmbedType1Fonts yes
|
432
|
+
psEmbedTrueTypeFonts yes
|
433
|
+
psFile "| lpr -Pprinter5"
|
434
|
+
|
435
|
+
# assume that the PostScript printer has the Univers and
|
436
|
+
# Univers-Bold fonts
|
437
|
+
psFont Univers Univers
|
438
|
+
psFont Univers-Bold Univers-Bold
|
439
|
+
|
440
|
+
# set the text output options
|
441
|
+
textEncoding UTF-8
|
442
|
+
textEOL unix
|
443
|
+
|
444
|
+
# misc options
|
445
|
+
t1libControl low
|
446
|
+
freetypeControl low
|
447
|
+
urlCommand "netscape -remote 'openURL(%s)'"
|
448
|
+
|
449
|
+
()
|
450
|
+
|
451
|
+
2 FILES
|
452
|
+
|
453
|
+
/usr/local/etc/xpdfrc
|
454
|
+
This is the default location for the system-wide
|
455
|
+
configuration file. Depending on build options, it
|
456
|
+
may be placed elsewhere.
|
457
|
+
|
458
|
+
$HOME/.xpdfrc
|
459
|
+
This is the user's configuration file. If it
|
460
|
+
exists, it will be read in place of the system-wide
|
461
|
+
file.
|
462
|
+
|
463
|
+
()
|
464
|
+
|
465
|
+
2 AUTHOR
|
466
|
+
|
467
|
+
The Xpdf software and documentation are copyright
|
468
|
+
1996-2005 Glyph & Cog, LLC.
|
469
|
+
|
470
|
+
()
|
471
|
+
|
472
|
+
2 SEE_ALSO
|
473
|
+
|
474
|
+
xpdf(1), pdftops(1), pdftotext(1), pdfinfo(1),
|
475
|
+
pdftoppm(1), pdfimages(1)
|
476
|
+
http://www.foolabs.com/xpdf/
|
477
|
+
|
478
|
+
()
|
479
|
+
|