diff -Nurd -x'*~' xpdf-3.03/doc/sample-xpdfrc xpdf-3.03.patched/doc/sample-xpdfrc --- xpdf-3.03/doc/sample-xpdfrc 2011-08-15 14:08:53.000000000 -0700 +++ xpdf-3.03.patched/doc/sample-xpdfrc 2012-08-18 12:29:21.000000000 -0700 @@ -50,19 +50,19 @@ # .pfb, .ttf, and .ttc files in those directories (other files will # simply be ignored). -#fontDir /usr/local/fonts/bakoma +fontDir /usr/local/fonts/bakoma #----- PostScript output control # Set the default PostScript file or command. -#psFile "|lpr -Pmyprinter" +psFile "|lpr -Pmyprinter" # Set the default PostScript paper size -- this can be letter, legal, # A4, or A3. You can also specify a paper size as width and height # (in points). -#psPaperSize letter +psPaperSize letter #----- text output control @@ -70,23 +70,23 @@ # The Latin1, ASCII7, and UTF-8 encodings are built into Xpdf. Other # encodings are available in the language support packages. -#textEncoding UTF-8 +textEncoding UTF-8 # Choose the end-of-line convention for multi-line copy-and-past and # for pdftotext output. The available options are unix, mac, and dos. -#textEOL unix +textEOL unix #----- misc settings # Enable t1lib, FreeType, and anti-aliased text. -#enableT1lib yes -#enableFreeType yes -#antialias yes +enableT1lib yes +enableFreeType yes +antialias yes # Set the command used to run a web browser when a URL hyperlink is # clicked. #launchCommand viewer-script -#urlCommand "netscape -remote 'openURL(%s)'" +urlCommand "open 'openURL(%s)'" diff -Nurd -x'*~' xpdf-3.02.orig/splash/SplashErrorCodes.h xpdf-3.02/splash/SplashErrorCodes.h --- xpdf-3.02.orig/splash/SplashErrorCodes.h 2007-02-27 17:05:52.000000000 -0500 +++ xpdf-3.02/splash/SplashErrorCodes.h 2011-01-05 14:40:04.000000000 -0500 @@ -29,4 +29,6 @@ #define splashErrSingularMatrix 8 // matrix is singular +#define splashErrBadArg 9 // bad argument + #endif