summaryrefslogtreecommitdiff
path: root/print/xpdf
AgeCommit message (Collapse)AuthorFilesLines
2015-03-07Fix print/xpdf xpdfrc(5) problem PR pkg/49718 (by fukumoto at imasy.or.jp).mef3-11/+9
The path mentioned in man page examples did not match to the actual installation. This is the same problem as pkg/44266 (by also fukumoto). Thank you,
2014-08-01Update "xpdf" package to version 3.04. Changes since version 3.03:tron6-245/+459
- 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.
2013-06-04Try to fix the fallout caused by the fix for PR pkg/47882. Part 3:tron1-2/+2
Recursively bump package revisions again after the "freetype2" and "fontconfig" handling was fixed.
2013-06-03Bump freetype2 and fontconfig dependencies to current pkgsrc versions,wiz1-2/+2
to address issues with NetBSD-6(and earlier)'s fontconfig not being new enough for pango. While doing that, also bump freetype2 dependency to current pkgsrc version. Suggested by tron in PR 47882
2012-10-08Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days.asau1-3/+1
2012-03-21Avoid invalid conversion from const char * to char * when building thishans2-1/+15
against lesstif with gcc46.
2011-12-09PKGREV bump for libXp-less openmotifdrochner1-2/+2
2011-11-01Recursive bump for graphics/freetype2 buildlink addition.sbd1-1/+2
2011-10-27Add MESSAGE to notify users of change in xpdfrc commands.tez1-0/+22
2011-10-27Update to 3.03tez13-381/+199
Fixes multiple vulnerabilites Change list too long to include here, see http://www.foolabs.com/xpdf/CHANGES (file does not note what changes were included in 3.02pl1 - 3.02pl4 and which are new for 3.03)
2010-12-23Adjust Thai and Japanese examples in xpdfrc(5) to realities (add-to-xpdfrcobache3-12/+15
in xpdf-thai and xpdf-japanese package). Fixes PR#44266. Bump PKGREVISION.
2010-10-13Fixes for CVE-2010-3702 and CVE-2010-3704 from openbsd ports and crosstez4-3/+59
checked with redhat (bugs 595245 and 638960)
2010-06-13the fonts that xpdf uses used to be in ghostscript-fonts, but nowadaysspz5-39/+41
they are present in urw-fonts; fix dependencies and font search paths. Also add X11R7 to the font search paths.
2009-11-15Use full path for depends.wiz1-2/+2
2009-11-14Bump PKGREVISION for previous.wiz1-1/+2
2009-11-13make those not conflict, by using the poppler version of the pdftofoo programs.christos5-26/+360
2009-10-16update to xpdf-3.02pl4 to fix CVE-2009-3603, CVE-2009-3604, CVE-2009-3606,tez2-5/+8
CVE-2009-3608 & CVE-2009-3609
2009-10-08Remove message about xpdf being obsolete.wiz1-8/+0
There are still pdfs that evince doesn't display correctly, while xpdf does.
2009-08-23Use standard format for MESSAGE files.wiz1-0/+5
2009-08-23add a message that this is obsolete.christos1-0/+3
2009-06-14Remove @dirrm entries from PLISTsjoerg1-2/+1
2009-06-01Add conflict with poppler-utils. And bump package revision.reed1-1/+3
2009-04-17Update "xpdf" package to version 3.02pl3. This update fixes thetron2-5/+7
security vulnerabilities reported in CVE-2009-0146, CVE-2009-0147, CVE-2009-0166, CVE-2009-0799, CVE-2009-0800, CVE-2009-1179, CVE-2009-1180, CVE-2009-1181, CVE-2009-1182 and CVE-2009-1183.
2008-04-20Fix embedded font handling (CVE-2008-1693). While at it, add a patchtonnerre4-2/+156
from upstream CVS which fixes display of 16-bit colors. Update from print/poppler. Approved-by: joerg
2008-03-29Swith to vender supplied patch file xpdf-3.02pl1.patch.obache1-25/+0
2008-03-29Update xpdf to 3.02pl2.obache2-4/+12
Security fix for CVE-2007-4352, CVE-2007-5392 and CVE-2007-5393.
2008-01-13Sunpro fix.rillig2-1/+17
2007-08-02add a vendor supplied patch to fix an integer overflow vulnerabilitydrochner3-2/+29
(CVE-2007-3387)
2007-04-06Add "MAKE_JOBS_SAFE= no"; the build fails horribly with MAKE_JOBS.gdt1-1/+3
2007-03-13oops - remove obsolete patchesdrochner5-165/+0
2007-03-13update to 3.02drochner3-94/+14
changes: many fixes, added support for PDF features, UI improvements see the CHANGELOG for details
2007-01-17apply the patch from poppler to fix MOAB-06-01-2007 (DOS)drochner4-3/+70
bump PKGREVISION
2006-11-06Switch to modular buildlinks and prefer OWN_DIRS over PLISTjoerg2-8/+4
exec/unexec.
2006-10-09Flag a number of packages I use as supporting (user-)destdir.joerg1-1/+3
apg is a bit special as it has some hardcoded ownership, so mark that as "destdir".
2006-05-31Set API dependence for "freetype2" to version 2.2.1 or newer. The newtron1-1/+3
"xpdf" package works fine with an old "freetype2" library but cannot be built with the old include files. This fixes PR pkg/33607 by Brad Harder.
2006-05-30Add patch provided by the FreeType2 maintaines to make this packagetron3-2/+83
build with version 2.2.1 and newer of the "freetype2" package. Bump package revision because of this fix.
2006-03-29Update xpdf to 3.01 patch level 2. The patch level addresses a number ofjoerg5-194/+9
vulnerabilities reported and adds at least some constraint checks not done before.
2006-03-04Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where nojlam1-2/+2
developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
2006-02-05Recursive revision bump / recommended bump for gettext ABI change.joerg1-2/+2
2006-01-22Apply security fix for SA18303 taken from Fedora Core 4.tron5-18/+204
Bump package revision because of this fix.
2006-01-22[subst.mk] WARNING: Ignoring non-existent file "./doc/pdftopnm.1".ghen1-2/+2
-> should be "doc/pdftoppm.1".
2006-01-21Drop maintainership: I don't have the time to chase two vulnerabilitiesdillo1-2/+2
per month.
2006-01-12Use += instead of = for appending to SUBST_FILES. (btw, Joerg, you could alsoghen1-3/+3
have used *.1 *.5 as in the original post-patch target.)
2006-01-12Use SUBST framework.joerg1-7/+8
2005-12-29Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mkjlam1-2/+1
automatically detects whether we want the pkginstall machinery to be used by the package Makefile.
2005-12-20Fix window resizing bug,ghen3-3/+42
from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=324172 Bump PKGREVISION. Ok by joerg, wiz, dillo.
2005-12-18Fix vulnerability CAN-2005-3191. Patch provided by jlam.dillo3-3/+32
Bump PKGREVISION to 2.
2005-12-12Bump all motif packages for recent openmotif update. The major versionjoerg1-1/+2
of the shared libXm has changed.
2005-12-08Fix subdirectory on sunsite mirrors, noted by reed.dillo1-2/+2
2005-12-07Fix a patch for "Xpdf Multiple Buffer Overflow Vulnerabilities"uebayasi2-2/+10
(http://secunia.com/advisories/17897/).