pkgsrc/print/xpdf/distinfo

22 lines
1.3 KiB
Text
Raw Normal View History

2015-12-29 05:04:26 +01:00
$NetBSD: distinfo,v 1.45 2015/12/29 04:04:31 dholland Exp $
Update "xpdf" package to version 3.04. Changes since version 3.03: - New text extractor. - Added the pdftohtml tool. - Added the pdftopng tool. - New trapezoid-based rasterizer core (for performance). - Generate appearance streams for Line, PolyLine, and Polygon annotations. - Added the closeWindowOrQuit command, and changed the default binding for ctrl-W from closeWindow to closeWindowOrQuit. - Implemented the new AES-256 mode (R=6, Acrobat X). - Add an object cache. - Added a small cache for object streams. - Modify PSOutputDev to use LZW compression instead of RLE, with a fallback to RLE if the "psLZW no" setting is given. - Pdfinfo now prints page rotation info. - Modified ImageOutputDev, used by pdfimages, to output the masks and soft masks used when drawing images. - Remove non-printable characters from error output, just in case they might cause problems for the terminal program. - Added initial support for Code3of9 bar codes in XFA forms. - Added the mapExtTrueTypeFontsViaUnicode xpdfrc command. - Apply stroke adjustment to rectangular images and clipping regions (in addition to strokes and fills). - Decode JPEG 2000 images at less than full resolution if the full res image isn't needed (i.e., if the raw image is higher resolution than the output). - Implemented knockout groups. - Removed t1lib support. - Added support for images with 16-bit components. - Rewrote the Dict class to use a hash table; as a side effect, this handles dictionaries with multiple definitions for a key, which are in violation of the spec, but Acrobat appears to handle. - The transformed line width computation -- used to implement the minLineWidth setting, and the hairline threshold in monochrome mode -- was incorrect. - Pdftops was not correctly handling the case where it couldn't find a 16-bit font -- this led to crashes and/or invalid PostScript. - A bug in FlateStream::getBlock() was causing problems with narrow images. - Use the correct _WIN32 define instead of WIN32. - Use copy-on-write for the clip path in SplashState (when doing gsave), for performance. - Added a Solaris-specific entry to the ghostscript font search path. - SplashState was initializing line width to 0 instead of 1. - Abort processing on a content stream after getting 500 errors (undefined operator, wrong number of args) -- this avoids very long processing time for malicious PDF files using bogus RLE encoded content streams. - Added the psUseCropBoxAsPage xpdfrc option; "pdftops -pagecrop" now sets psUseCropBoxAsPage; "pdftops -pagecrop -paper match" now uses the CropBox as the page size. - Re-architected the AcroForm support code into a separate AcroForm module. - Fixed the handling of overprinting/transparency interaction, using the CompatibleOverprint blend mode. - The TIFF predictor code for the 1-bit-per-pixel case was broken. - For triangle and patch mesh shadings (types 4-7) with color functions, interpolate the function parameter not the color. - Check the fontFile/fontDir commands before (instead of after) doing Base-14 substitution in PS output. - Correctly handle non-embedded TrueType fonts that have an Identity ToUnicode mapping (display and PS output were failing). - Added support for XFA form rendering, including an "enableXFA" xpdfrc setting. - Handle PFB Type 1 fonts when generating PostScript output. - Unwind any extraneous saved graphics state at the end of the page (before drawing annotations). - Added some integer overflow checks in the GString class. - Handle 16-bit components in JPEG 2000 images. - ActualText spans can end without a valid font, in which case TextPage::beginWord was crashing. - The Domain entry in function shadings wasn't being parsed correctly. - Fixed a bug in the JPEG decoder - successive approximation (progressive mode) coefficients weren't being handled correctly. - Added a better infinite loop test to the xref parser. - When generating PostScript, merge reused TrueType fonts (if their code-to-GID mappings are the same). - Tweak the Gouraud triangle shaded fill code to end the recursive splitting if the triangles get sufficiently small. - Do bilinear interpolation when upsampling images. - When skipping extraneous image data from an inline image, look for EI<whitespace> instead of just EI. - When writing to stdout on Windows, pdftoppm now sets the file mode to binary. [Thanks to Robert Frunzke.] - Accept strings as well as names for the BaseFont entry in font objects. - Removed the TEXTOUT_WORD_LIST config option (with the new text extractor, this is always enabled). - Fixed a bug in the JBIG2 decoder (the TPGD context for template #3 in readGenericBitmap was incorrect). - Rewrote the PostScriptFunction code for performance. - Handle 8-bit OpenType CFF fonts that are missing required tables in the OpenType wrapper. - Handle tiling patterns with reversed coordinates in their bounding boxes. - Added support for 64-bit file offsets, i.e., PDF files larger than 2GB. - Optimize the code that rasterizes pattern-filled image masks. - Added support for Mac OS X system fonts (Base-14 only). - The backdrop color in luminosity-type soft mask groups was not being handled correctly. - Modified behavior of "pdftops -paper match -duplex ..." - it will now duplex consecutive same-sized pages. - Tweak the handling of degenerate fills ('moveto lineto fill') to match Adobe. - Don't honor the OPM=1 setting with ICCBased CMYK color spaces. - Whole-word searches were treating certain punctuation (Unicode number separators and terminators) as part of the word, e.g., searching for "foo" would not match "foo,". - Use the TextString class everywhere it makes sense. - Removed the unnecessary segment sort in Splash (performance optimization). - Handle hyperlinks that use Widget-type annotations. - Fix up the integer overflow checks to avoid issues with clever compilers. [Thanks to Nickolai Zeldovich.] - Correctly handle streams with missing Length entries in damaged PDF files. - Added a compile-time option (LOAD_FONTS_FROM_MEM) to load fonts from memory rather than temporary files on disk. - Added the psRasterSliceSize xpdfrc option. - Fixed a case in the JPEG 2000 arithmetic decoder where extra data is present in packet i, and needs to be saved for use in packet i+1. - Fixed a bug in the JPEG 2000 decoder related to images with fewer than 8 bits per component. - Handle the case in PSOutputDev where slice size overflows a 32-bit integer. - Add (partial) support for TrueType cmap format 2. - Always pass FT_LOAD_NO_BITMAP to FreeType -- bitmaps apparently fail with rotated characters. - Support fonts specified in ExtGState dictionaries. - Annotations with empty Border arrays should not draw a border. - Fix the CMap parser to handle large CID ranges. - Check for Type 3 CharProcs that call q or Q before the d0/d1 operator, and treat them as uncacheable. - Invert the selection color when starting in reverse video mode. - Device{Gray,RGB,CMYK} cannot be mapped via a resource dict. - Changed the PS output for masked images (explicit and color key masking): use a plain old clip path instead of rectclip to avoid array overflows. - Check the StemSnapH/V arrays when converting Type 1C fonts to Type 1 - if there are any duplicate or out-of-order values, skip that StemSnapH/V array. - Added the psMinLineWidth xpdfrc setting. - Fix an obscure issue in converting TrueType fonts to Type 42, related to empty glyph descriptions (12 zero bytes). - Pdftops now reports an error if there were any I/O errors writing to the PS output file. - Fix vertical text (CJK fonts) in PS output -- offset the character origin correctly. - Increased the number of digits used by pdfimages for the image number from three to four. - Handle right-to-left (e.g., Arabic) ligatures correctly in the text extractor. - Added the -loc and -locPS options to pdffonts. - Extend the object parser recursion limit to cover Stream::addFilters() / Stream::makeFilters() - to avoid another possibility of stack overflow. - Disable FreeType autohinting, because it can fail badly with font subsets that use invalid glyph names -- except in the case of Type 1 fonts, which look much better with light autohinting. - Modified the rasterizer pipeline functions to process a scan line at a time (for performance). - Removed VMS build support (it hasn't been updated in ages). - Removed pdftotext's '-htmlmeta' option (use pdftohtml instead). - PSOutputDev's font/form setup code, and pdffonts, were not scanning soft mask groups in ExtGState dictionaries. - Invalid DCT input (e.g., from a damaged PDF file) could overflow the dctClip array. - When upsampling an image mask or image with a large resulting image size, do it in stream mode instead of prescaling the whole image (to avoid running out of memory). - Added infinite loop detection to pdffonts.
2014-08-01 14:31:27 +02:00
SHA1 (xpdf-3.04.tar.gz) = b9b1dbb0335742a09d0442c60fd02f4f934618bd
RMD160 (xpdf-3.04.tar.gz) = fb29aad21054d5d3b349aec4806262feeca1bd8e
SHA512 (xpdf-3.04.tar.gz) = 3fb3c380fdbd13d937449ae3f7d7a163815cc85296d30be7b9907687884385d6171bb48ee5d5c13368d6bba87740b678f491bdcf61b38d130809e9afa260f6cf
Update "xpdf" package to version 3.04. Changes since version 3.03: - New text extractor. - Added the pdftohtml tool. - Added the pdftopng tool. - New trapezoid-based rasterizer core (for performance). - Generate appearance streams for Line, PolyLine, and Polygon annotations. - Added the closeWindowOrQuit command, and changed the default binding for ctrl-W from closeWindow to closeWindowOrQuit. - Implemented the new AES-256 mode (R=6, Acrobat X). - Add an object cache. - Added a small cache for object streams. - Modify PSOutputDev to use LZW compression instead of RLE, with a fallback to RLE if the "psLZW no" setting is given. - Pdfinfo now prints page rotation info. - Modified ImageOutputDev, used by pdfimages, to output the masks and soft masks used when drawing images. - Remove non-printable characters from error output, just in case they might cause problems for the terminal program. - Added initial support for Code3of9 bar codes in XFA forms. - Added the mapExtTrueTypeFontsViaUnicode xpdfrc command. - Apply stroke adjustment to rectangular images and clipping regions (in addition to strokes and fills). - Decode JPEG 2000 images at less than full resolution if the full res image isn't needed (i.e., if the raw image is higher resolution than the output). - Implemented knockout groups. - Removed t1lib support. - Added support for images with 16-bit components. - Rewrote the Dict class to use a hash table; as a side effect, this handles dictionaries with multiple definitions for a key, which are in violation of the spec, but Acrobat appears to handle. - The transformed line width computation -- used to implement the minLineWidth setting, and the hairline threshold in monochrome mode -- was incorrect. - Pdftops was not correctly handling the case where it couldn't find a 16-bit font -- this led to crashes and/or invalid PostScript. - A bug in FlateStream::getBlock() was causing problems with narrow images. - Use the correct _WIN32 define instead of WIN32. - Use copy-on-write for the clip path in SplashState (when doing gsave), for performance. - Added a Solaris-specific entry to the ghostscript font search path. - SplashState was initializing line width to 0 instead of 1. - Abort processing on a content stream after getting 500 errors (undefined operator, wrong number of args) -- this avoids very long processing time for malicious PDF files using bogus RLE encoded content streams. - Added the psUseCropBoxAsPage xpdfrc option; "pdftops -pagecrop" now sets psUseCropBoxAsPage; "pdftops -pagecrop -paper match" now uses the CropBox as the page size. - Re-architected the AcroForm support code into a separate AcroForm module. - Fixed the handling of overprinting/transparency interaction, using the CompatibleOverprint blend mode. - The TIFF predictor code for the 1-bit-per-pixel case was broken. - For triangle and patch mesh shadings (types 4-7) with color functions, interpolate the function parameter not the color. - Check the fontFile/fontDir commands before (instead of after) doing Base-14 substitution in PS output. - Correctly handle non-embedded TrueType fonts that have an Identity ToUnicode mapping (display and PS output were failing). - Added support for XFA form rendering, including an "enableXFA" xpdfrc setting. - Handle PFB Type 1 fonts when generating PostScript output. - Unwind any extraneous saved graphics state at the end of the page (before drawing annotations). - Added some integer overflow checks in the GString class. - Handle 16-bit components in JPEG 2000 images. - ActualText spans can end without a valid font, in which case TextPage::beginWord was crashing. - The Domain entry in function shadings wasn't being parsed correctly. - Fixed a bug in the JPEG decoder - successive approximation (progressive mode) coefficients weren't being handled correctly. - Added a better infinite loop test to the xref parser. - When generating PostScript, merge reused TrueType fonts (if their code-to-GID mappings are the same). - Tweak the Gouraud triangle shaded fill code to end the recursive splitting if the triangles get sufficiently small. - Do bilinear interpolation when upsampling images. - When skipping extraneous image data from an inline image, look for EI<whitespace> instead of just EI. - When writing to stdout on Windows, pdftoppm now sets the file mode to binary. [Thanks to Robert Frunzke.] - Accept strings as well as names for the BaseFont entry in font objects. - Removed the TEXTOUT_WORD_LIST config option (with the new text extractor, this is always enabled). - Fixed a bug in the JBIG2 decoder (the TPGD context for template #3 in readGenericBitmap was incorrect). - Rewrote the PostScriptFunction code for performance. - Handle 8-bit OpenType CFF fonts that are missing required tables in the OpenType wrapper. - Handle tiling patterns with reversed coordinates in their bounding boxes. - Added support for 64-bit file offsets, i.e., PDF files larger than 2GB. - Optimize the code that rasterizes pattern-filled image masks. - Added support for Mac OS X system fonts (Base-14 only). - The backdrop color in luminosity-type soft mask groups was not being handled correctly. - Modified behavior of "pdftops -paper match -duplex ..." - it will now duplex consecutive same-sized pages. - Tweak the handling of degenerate fills ('moveto lineto fill') to match Adobe. - Don't honor the OPM=1 setting with ICCBased CMYK color spaces. - Whole-word searches were treating certain punctuation (Unicode number separators and terminators) as part of the word, e.g., searching for "foo" would not match "foo,". - Use the TextString class everywhere it makes sense. - Removed the unnecessary segment sort in Splash (performance optimization). - Handle hyperlinks that use Widget-type annotations. - Fix up the integer overflow checks to avoid issues with clever compilers. [Thanks to Nickolai Zeldovich.] - Correctly handle streams with missing Length entries in damaged PDF files. - Added a compile-time option (LOAD_FONTS_FROM_MEM) to load fonts from memory rather than temporary files on disk. - Added the psRasterSliceSize xpdfrc option. - Fixed a case in the JPEG 2000 arithmetic decoder where extra data is present in packet i, and needs to be saved for use in packet i+1. - Fixed a bug in the JPEG 2000 decoder related to images with fewer than 8 bits per component. - Handle the case in PSOutputDev where slice size overflows a 32-bit integer. - Add (partial) support for TrueType cmap format 2. - Always pass FT_LOAD_NO_BITMAP to FreeType -- bitmaps apparently fail with rotated characters. - Support fonts specified in ExtGState dictionaries. - Annotations with empty Border arrays should not draw a border. - Fix the CMap parser to handle large CID ranges. - Check for Type 3 CharProcs that call q or Q before the d0/d1 operator, and treat them as uncacheable. - Invert the selection color when starting in reverse video mode. - Device{Gray,RGB,CMYK} cannot be mapped via a resource dict. - Changed the PS output for masked images (explicit and color key masking): use a plain old clip path instead of rectclip to avoid array overflows. - Check the StemSnapH/V arrays when converting Type 1C fonts to Type 1 - if there are any duplicate or out-of-order values, skip that StemSnapH/V array. - Added the psMinLineWidth xpdfrc setting. - Fix an obscure issue in converting TrueType fonts to Type 42, related to empty glyph descriptions (12 zero bytes). - Pdftops now reports an error if there were any I/O errors writing to the PS output file. - Fix vertical text (CJK fonts) in PS output -- offset the character origin correctly. - Increased the number of digits used by pdfimages for the image number from three to four. - Handle right-to-left (e.g., Arabic) ligatures correctly in the text extractor. - Added the -loc and -locPS options to pdffonts. - Extend the object parser recursion limit to cover Stream::addFilters() / Stream::makeFilters() - to avoid another possibility of stack overflow. - Disable FreeType autohinting, because it can fail badly with font subsets that use invalid glyph names -- except in the case of Type 1 fonts, which look much better with light autohinting. - Modified the rasterizer pipeline functions to process a scan line at a time (for performance). - Removed VMS build support (it hasn't been updated in ages). - Removed pdftotext's '-htmlmeta' option (use pdftohtml instead). - PSOutputDev's font/form setup code, and pdffonts, were not scanning soft mask groups in ExtGState dictionaries. - Invalid DCT input (e.g., from a damaged PDF file) could overflow the dctClip array. - When upsampling an image mask or image with a large resulting image size, do it in stream mode instead of prescaling the whole image (to avoid running out of memory). - Added infinite loop detection to pdffonts.
2014-08-01 14:31:27 +02:00
Size (xpdf-3.04.tar.gz) = 825519 bytes
SHA1 (patch-aa) = ab41e35600d1e625b902076d947ec48a9c1bc59e
Updated to version 2.02. Changes: - s/USE_X11BASE/USE_X11/ - fix paths in manual pages - install shared directory for supplemental packages 2.02: ===== - Rewrote the text extractor code that assembles words into lines to better handle vertically overlapping lines. - Add the "match" option for paper size (in PostScript output). - Added support for external 16-bit TrueType fonts; added the displayCIDFontTT and displayNamedCIDFontTT commands to the xpdfrc file. - Added an Arabic language support package. - Added the Windows-1255 encoding to the Hebrew language package. - A missing NULL check was causing a crash when closing the file in a single window (which clears out the window, but leaves it open). - Deal with TrueType fonts whose glyph data is out of order - this affected both FreeType rasterization and PostScript generation. - Munge font names in PSOutputDev to avoid names that are problematic for ghostscript because they start with an out-of-limits number (e.g., 1e999foo). - Modify the TrueType font encoding deciphering algorithm in yet another attempt to match up with Acrobat's behavior. - Bounds check the indexHigh value in indexed color spaces. - The text extractor no longer bothers trying to get an average character width for Type 3 fonts, since it generally doesn't work very well (because Type 3 metrics are unreliable). - Don't crash if the user hits ctrl-G ("find again") before doing a find. - Set the button pixmap foreground color correctly. - Handle text drawn backward on 180 degree rotated pages. - Added a magic call to XtUngrabButton after calling XmCreatePopupMenu which appears to prevent some very odd problems (idea taken from the DDD source code). - Fix the MacOS X fix (needed to include <AvailabilityMacros.h>). - Fixed a bunch of Motif 1.x / X11R5 incompatibilities. [Thanks to William Bader and Albert Chin-A-Young.] - Fixed various bugs in previously untested code in the JBIG2 decoder. - Modify the XPDFCore destructor to avoid a bogus warning message from OpenMotif 2.2. - Modified the Type 1C font parser to do proper bounds checking. - Fixed the bounds checking in the TrueType font parser. - Text extractor shouldn't do block merging in physical layout mode. - Fixed a problem in PSOutputDev in level2sep mode with images in a Separation color space and with a non-default Decode array. - Text extraction with "-raw" was concatenating lines from the bottom of one column and the top of the next. - Handle Type 1C subroutines in the font converters. - Correctly handle progressive JPEG images whose scans are slightly different sizes (e.g., the Y scan rounds up to a multiple of 8 pixels and the Cb/Cr scans round up to 16 pixels). - Avoid a potential divide-by-zero problem in TextOutputDev. - Modified the T1Font and FTFont modules to correctly handle glyphs that are larger than the font's claimed bounding box. - Tweak dupMaxDeltaX parameter in TextOutputDev to avoid triggering on double characters. - Improved detection in pdfinfo for ISO paper sizes. [Thanks to Hartmut Henkel.] - Xpdf wasn't responding to the TARGETS atom, which prevented pasting the selection into various applications. [Thanks to Phillip Ezolt.] - Handle XObjects with recursive references in their Resources dictionaries (in PSOutputDev). - Change PSOutputDev to deal with invalid PDF files that use non-embedded TrueType fonts with no encoding. - Check for undersized Widths arrays in fonts. - Add bounds checking code to Array class. - Updated VMS build scripts. [Thanks to Martin Zinser.] - Tweak the TrueType font handling code (again): - char codes in symbolic fonts may or may not be offset by 0xf000 - discard empty tables because they sometimes confuse FreeType - Fixed bounds checking in the Flate decoder. - Removed a bogus error message for exponential functions without explicit C0/C1 values. [Thanks to Hartmut Henkel.] - Handle the other Unicode cmap type (platform=0) in TrueType fonts. - Added support for the SGI Motif horizontal paned window widget. [Thanks to Felix Ritter.] - Ignore extra elements in link destination arrays. - Accept external Type 1 font files with a suffix of ".ps" or no suffix at all. - Add a bounds check in the DCT decoder. - Added instructions for building xpdf.exe under cygwin/XFree86.
2003-03-25 15:02:37 +01:00
SHA1 (patch-ac) = 6fa74df05e01510c792eb2b20f670e6903f30aa2
SHA1 (patch-ad) = 08202be663d819f033a7a5e6708b4158255bcf4a
SHA1 (patch-ae) = 4642345ed25231dae6753024a691bbd39f028143
SHA1 (patch-af) = da53b226cd7a58979902f899c0ab9303a7f0b95c
Updated to version 2.02. Changes: - s/USE_X11BASE/USE_X11/ - fix paths in manual pages - install shared directory for supplemental packages 2.02: ===== - Rewrote the text extractor code that assembles words into lines to better handle vertically overlapping lines. - Add the "match" option for paper size (in PostScript output). - Added support for external 16-bit TrueType fonts; added the displayCIDFontTT and displayNamedCIDFontTT commands to the xpdfrc file. - Added an Arabic language support package. - Added the Windows-1255 encoding to the Hebrew language package. - A missing NULL check was causing a crash when closing the file in a single window (which clears out the window, but leaves it open). - Deal with TrueType fonts whose glyph data is out of order - this affected both FreeType rasterization and PostScript generation. - Munge font names in PSOutputDev to avoid names that are problematic for ghostscript because they start with an out-of-limits number (e.g., 1e999foo). - Modify the TrueType font encoding deciphering algorithm in yet another attempt to match up with Acrobat's behavior. - Bounds check the indexHigh value in indexed color spaces. - The text extractor no longer bothers trying to get an average character width for Type 3 fonts, since it generally doesn't work very well (because Type 3 metrics are unreliable). - Don't crash if the user hits ctrl-G ("find again") before doing a find. - Set the button pixmap foreground color correctly. - Handle text drawn backward on 180 degree rotated pages. - Added a magic call to XtUngrabButton after calling XmCreatePopupMenu which appears to prevent some very odd problems (idea taken from the DDD source code). - Fix the MacOS X fix (needed to include <AvailabilityMacros.h>). - Fixed a bunch of Motif 1.x / X11R5 incompatibilities. [Thanks to William Bader and Albert Chin-A-Young.] - Fixed various bugs in previously untested code in the JBIG2 decoder. - Modify the XPDFCore destructor to avoid a bogus warning message from OpenMotif 2.2. - Modified the Type 1C font parser to do proper bounds checking. - Fixed the bounds checking in the TrueType font parser. - Text extractor shouldn't do block merging in physical layout mode. - Fixed a problem in PSOutputDev in level2sep mode with images in a Separation color space and with a non-default Decode array. - Text extraction with "-raw" was concatenating lines from the bottom of one column and the top of the next. - Handle Type 1C subroutines in the font converters. - Correctly handle progressive JPEG images whose scans are slightly different sizes (e.g., the Y scan rounds up to a multiple of 8 pixels and the Cb/Cr scans round up to 16 pixels). - Avoid a potential divide-by-zero problem in TextOutputDev. - Modified the T1Font and FTFont modules to correctly handle glyphs that are larger than the font's claimed bounding box. - Tweak dupMaxDeltaX parameter in TextOutputDev to avoid triggering on double characters. - Improved detection in pdfinfo for ISO paper sizes. [Thanks to Hartmut Henkel.] - Xpdf wasn't responding to the TARGETS atom, which prevented pasting the selection into various applications. [Thanks to Phillip Ezolt.] - Handle XObjects with recursive references in their Resources dictionaries (in PSOutputDev). - Change PSOutputDev to deal with invalid PDF files that use non-embedded TrueType fonts with no encoding. - Check for undersized Widths arrays in fonts. - Add bounds checking code to Array class. - Updated VMS build scripts. [Thanks to Martin Zinser.] - Tweak the TrueType font handling code (again): - char codes in symbolic fonts may or may not be offset by 0xf000 - discard empty tables because they sometimes confuse FreeType - Fixed bounds checking in the Flate decoder. - Removed a bogus error message for exponential functions without explicit C0/C1 values. [Thanks to Hartmut Henkel.] - Handle the other Unicode cmap type (platform=0) in TrueType fonts. - Added support for the SGI Motif horizontal paned window widget. [Thanks to Felix Ritter.] - Ignore extra elements in link destination arrays. - Accept external Type 1 font files with a suffix of ".ps" or no suffix at all. - Add a bounds check in the DCT decoder. - Added instructions for building xpdf.exe under cygwin/XFree86.
2003-03-25 15:02:37 +01:00
SHA1 (patch-ag) = a739f73612a4f02d50d97e242ccff2505a3a3fac
SHA1 (patch-ah) = 61e44757c30800754fc4966acb218325fd1bd26a
SHA1 (patch-ai) = 2ef56341ee14cfb22c9d49e659cfa2955aa18ee6
SHA1 (patch-aj) = 36609d6ba7bc56be9b417558b90850fc19e62860
SHA1 (patch-ak) = dab4cf5d892c00ab81e685c52977fa743f4d970a
Update "xpdf" package to version 3.04. Changes since version 3.03: - New text extractor. - Added the pdftohtml tool. - Added the pdftopng tool. - New trapezoid-based rasterizer core (for performance). - Generate appearance streams for Line, PolyLine, and Polygon annotations. - Added the closeWindowOrQuit command, and changed the default binding for ctrl-W from closeWindow to closeWindowOrQuit. - Implemented the new AES-256 mode (R=6, Acrobat X). - Add an object cache. - Added a small cache for object streams. - Modify PSOutputDev to use LZW compression instead of RLE, with a fallback to RLE if the "psLZW no" setting is given. - Pdfinfo now prints page rotation info. - Modified ImageOutputDev, used by pdfimages, to output the masks and soft masks used when drawing images. - Remove non-printable characters from error output, just in case they might cause problems for the terminal program. - Added initial support for Code3of9 bar codes in XFA forms. - Added the mapExtTrueTypeFontsViaUnicode xpdfrc command. - Apply stroke adjustment to rectangular images and clipping regions (in addition to strokes and fills). - Decode JPEG 2000 images at less than full resolution if the full res image isn't needed (i.e., if the raw image is higher resolution than the output). - Implemented knockout groups. - Removed t1lib support. - Added support for images with 16-bit components. - Rewrote the Dict class to use a hash table; as a side effect, this handles dictionaries with multiple definitions for a key, which are in violation of the spec, but Acrobat appears to handle. - The transformed line width computation -- used to implement the minLineWidth setting, and the hairline threshold in monochrome mode -- was incorrect. - Pdftops was not correctly handling the case where it couldn't find a 16-bit font -- this led to crashes and/or invalid PostScript. - A bug in FlateStream::getBlock() was causing problems with narrow images. - Use the correct _WIN32 define instead of WIN32. - Use copy-on-write for the clip path in SplashState (when doing gsave), for performance. - Added a Solaris-specific entry to the ghostscript font search path. - SplashState was initializing line width to 0 instead of 1. - Abort processing on a content stream after getting 500 errors (undefined operator, wrong number of args) -- this avoids very long processing time for malicious PDF files using bogus RLE encoded content streams. - Added the psUseCropBoxAsPage xpdfrc option; "pdftops -pagecrop" now sets psUseCropBoxAsPage; "pdftops -pagecrop -paper match" now uses the CropBox as the page size. - Re-architected the AcroForm support code into a separate AcroForm module. - Fixed the handling of overprinting/transparency interaction, using the CompatibleOverprint blend mode. - The TIFF predictor code for the 1-bit-per-pixel case was broken. - For triangle and patch mesh shadings (types 4-7) with color functions, interpolate the function parameter not the color. - Check the fontFile/fontDir commands before (instead of after) doing Base-14 substitution in PS output. - Correctly handle non-embedded TrueType fonts that have an Identity ToUnicode mapping (display and PS output were failing). - Added support for XFA form rendering, including an "enableXFA" xpdfrc setting. - Handle PFB Type 1 fonts when generating PostScript output. - Unwind any extraneous saved graphics state at the end of the page (before drawing annotations). - Added some integer overflow checks in the GString class. - Handle 16-bit components in JPEG 2000 images. - ActualText spans can end without a valid font, in which case TextPage::beginWord was crashing. - The Domain entry in function shadings wasn't being parsed correctly. - Fixed a bug in the JPEG decoder - successive approximation (progressive mode) coefficients weren't being handled correctly. - Added a better infinite loop test to the xref parser. - When generating PostScript, merge reused TrueType fonts (if their code-to-GID mappings are the same). - Tweak the Gouraud triangle shaded fill code to end the recursive splitting if the triangles get sufficiently small. - Do bilinear interpolation when upsampling images. - When skipping extraneous image data from an inline image, look for EI<whitespace> instead of just EI. - When writing to stdout on Windows, pdftoppm now sets the file mode to binary. [Thanks to Robert Frunzke.] - Accept strings as well as names for the BaseFont entry in font objects. - Removed the TEXTOUT_WORD_LIST config option (with the new text extractor, this is always enabled). - Fixed a bug in the JBIG2 decoder (the TPGD context for template #3 in readGenericBitmap was incorrect). - Rewrote the PostScriptFunction code for performance. - Handle 8-bit OpenType CFF fonts that are missing required tables in the OpenType wrapper. - Handle tiling patterns with reversed coordinates in their bounding boxes. - Added support for 64-bit file offsets, i.e., PDF files larger than 2GB. - Optimize the code that rasterizes pattern-filled image masks. - Added support for Mac OS X system fonts (Base-14 only). - The backdrop color in luminosity-type soft mask groups was not being handled correctly. - Modified behavior of "pdftops -paper match -duplex ..." - it will now duplex consecutive same-sized pages. - Tweak the handling of degenerate fills ('moveto lineto fill') to match Adobe. - Don't honor the OPM=1 setting with ICCBased CMYK color spaces. - Whole-word searches were treating certain punctuation (Unicode number separators and terminators) as part of the word, e.g., searching for "foo" would not match "foo,". - Use the TextString class everywhere it makes sense. - Removed the unnecessary segment sort in Splash (performance optimization). - Handle hyperlinks that use Widget-type annotations. - Fix up the integer overflow checks to avoid issues with clever compilers. [Thanks to Nickolai Zeldovich.] - Correctly handle streams with missing Length entries in damaged PDF files. - Added a compile-time option (LOAD_FONTS_FROM_MEM) to load fonts from memory rather than temporary files on disk. - Added the psRasterSliceSize xpdfrc option. - Fixed a case in the JPEG 2000 arithmetic decoder where extra data is present in packet i, and needs to be saved for use in packet i+1. - Fixed a bug in the JPEG 2000 decoder related to images with fewer than 8 bits per component. - Handle the case in PSOutputDev where slice size overflows a 32-bit integer. - Add (partial) support for TrueType cmap format 2. - Always pass FT_LOAD_NO_BITMAP to FreeType -- bitmaps apparently fail with rotated characters. - Support fonts specified in ExtGState dictionaries. - Annotations with empty Border arrays should not draw a border. - Fix the CMap parser to handle large CID ranges. - Check for Type 3 CharProcs that call q or Q before the d0/d1 operator, and treat them as uncacheable. - Invert the selection color when starting in reverse video mode. - Device{Gray,RGB,CMYK} cannot be mapped via a resource dict. - Changed the PS output for masked images (explicit and color key masking): use a plain old clip path instead of rectclip to avoid array overflows. - Check the StemSnapH/V arrays when converting Type 1C fonts to Type 1 - if there are any duplicate or out-of-order values, skip that StemSnapH/V array. - Added the psMinLineWidth xpdfrc setting. - Fix an obscure issue in converting TrueType fonts to Type 42, related to empty glyph descriptions (12 zero bytes). - Pdftops now reports an error if there were any I/O errors writing to the PS output file. - Fix vertical text (CJK fonts) in PS output -- offset the character origin correctly. - Increased the number of digits used by pdfimages for the image number from three to four. - Handle right-to-left (e.g., Arabic) ligatures correctly in the text extractor. - Added the -loc and -locPS options to pdffonts. - Extend the object parser recursion limit to cover Stream::addFilters() / Stream::makeFilters() - to avoid another possibility of stack overflow. - Disable FreeType autohinting, because it can fail badly with font subsets that use invalid glyph names -- except in the case of Type 1 fonts, which look much better with light autohinting. - Modified the rasterizer pipeline functions to process a scan line at a time (for performance). - Removed VMS build support (it hasn't been updated in ages). - Removed pdftotext's '-htmlmeta' option (use pdftohtml instead). - PSOutputDev's font/form setup code, and pdffonts, were not scanning soft mask groups in ExtGState dictionaries. - Invalid DCT input (e.g., from a damaged PDF file) could overflow the dctClip array. - When upsampling an image mask or image with a large resulting image size, do it in stream mode instead of prescaling the whole image (to avoid running out of memory). - Added infinite loop detection to pdffonts.
2014-08-01 14:31:27 +02:00
SHA1 (patch-al) = df18fb971275f99a7e1757f65455a181bb9eb8eb
SHA1 (patch-am) = e88ff60e7941cb7bdfdc4bf59727ca401f1a5758
SHA1 (patch-ap) = 5961dfe22ac087a7df0311235b4fab27d7554c58
2015-12-29 05:04:26 +01:00
SHA1 (patch-bc) = 8ec863da42941b1b3f0ef0eb880690844ebdff62
SHA1 (patch-xpdf_XPDFViewer.cc) = 38b1f79365149b37736ecfc73fa0e920fb758d93