Commit graph

26 commits

Author SHA1 Message Date
tron
0c72d1e068 Undo last change and use "2.02pl1" as version number again because the
package tools can handle it properly.
2003-06-19 06:49:47 +00:00
itojun
2b6a7e3a43 align PKGNAME with pkg-vulnerabilities (which one is more correct?) 2003-06-19 04:59:54 +00:00
simonb
d4c140a6ef Update to version 2.02pl1. From the xpdf website:
This version includes a small patch that fixes a security hole in
  version 2.02. It was possible to construct a malicious URL link in a
  PDF file which would cause an arbitrary command to be run. The patch
  changes things to that the various characters which can cause trouble
  are escaped (%xx) before calling system(). This patch also changes the
  "launch" link verification dialog to provde a scrolling view of the
  command about to be run when the command string is excessively long.
2003-06-18 14:47:20 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
salo
efc036a5df 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 14:02:37 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
uebayasi
9891ea0a33 Fix an integer overflow vulnerability, which may cause arbitrary code
to be executed.

Bump PKGREVISION to nb2.
2002-12-31 02:31:53 +00:00
wiz
d8262452c1 Bump PKGREVISION because of dependency on latest freetype2 or glib2
package and library major bumps therein.
Also match dependency in corresponding buildlink2.mk's for the same reason.
Mmmm, binary packages.
2002-12-24 06:09:44 +00:00
drochner
a86669188d update to 2.01
changes:
Redesigned the text extraction process:
  - process the text into "reading order"
  - added a "-layout" flag to pdftotext to switch back to the old
    style, where physical layout is maintained
  - use of the "-raw" flag is no longer recommended
Added the -reload option for xpdf (in remote mode).
Added support for external CID fonts; added the displayCIDFontT1 and
  displayNamedCIDFontT1 commands to the xpdfrc file.
Handle the case of moveto/newpath/clip, which defines an empty
  clipping region (just like moveto/closepath/clip).
Accept XYZ link destinations with missing array elements.
Accept bogus font names based on "Symbol": Symbol,{Bold,Italic,
  BoldItalic}.
Set the busy cursor in the find dialog while searching.
Allow ToUnicode CMaps to use fewer than four hex digits in the Unicode
  char indexes.
+bugfixes
2002-12-07 17:49:43 +00:00
dillo
2b58c2d16e update to 2.00
Changes since 1.01:
- Switched to the Motif toolkit.
- Support multiple open documents (in separate windows).
- Added document outlines to the viewer.
- Implemented the JBIG2 decoder.
- Added support for movie annotations.
- Switched back to native LZW decompression code.
- Many bug fixes and enhancements.
2002-11-08 02:46:29 +00:00
jlam
aff1f33c88 Updated print/xpdf to version 1.01. Changes from version 1.00 include:
Honoring ${PKG_SYSCONFDIR} for location of xpdfrc.

Implemented Type 3 fonts.
Implemented PostScript CID font embedding; added a
  psEmbedCIDPostScriptFonts option.
Implemented PostScript 16-bit font substitution; added psNamedFont16
  and psFont16 options.
Moved the initialZoom setting from X resources to the xpdfrc file.
Implemented the radial shading type in the sh (shaded fill) operator.
  [Thanks to Mike Sweet.]
Added an 'include' command to the xpdfrc format.
Added the displayNamedCIDFontX option so different fonts can be used
  within one character collection.
Implemented stroked text in XOutputDev (with t1lib and FreeType2).
  [Thanks to Leonard Rosenthol.]
Implemented stroked text in PSOutputDev.
Added a built-in Unicode map for UCS-2.
PSOutputDev will now embed external TrueType fonts in addition to
  external Type 1 fonts.
Added the Big5ascii Unicode map to the Chinese-traditional support
  package (maps 7-bit ASCII straight through).  [Thanks to Lawrence
  Lai.]
Modified the EUC-CN and EUC-JP encodings to pass 7-bit ASCII straight
  through.  [Thanks to Lawrence Lai.]
In the code that guesses character names (for font subsets), also
  handle names of the form 'ABnnn'.  [Thanks to Colin Granville.]
Tweak the Type 1 font bbox code to look at the bboxes in both the PDF
  font object and the embedded font file.
Added an optional displayCIDFontX entry for one of the Arphic TrueType
  fonts in the traditional Chinese 'add-to-xpdfrc' file.
Added psASCIIHex parameter.
Added the GBK Unicode map to the simplified Chinese language pack.
Pdftotext now opens the text file in binary mode to avoid Microsoft's
  annoying automatic end-of-line translation stuff.
Added an executeCommand function in goo/gfile.cc.  [Thanks to Mikhail
  Kruk.]
The %ALDImagePosition OPI comment was wrong if the page was scaled to
  a different paper size.
The OPI code was saving the default transform matrix before calling
  setpagedevice, which can change the matrix.
PSOutputDev now handles PostScript XObjects.
2002-09-19 01:45:42 +00:00
jlam
1c57323789 Merge packages from the buildlink2 branch back into the main trunk that
have been converted to USE_BUILDLINK2.
2002-08-25 21:48:57 +00:00
wiz
1adeb49c0d Complete move of textproc/t1lib, textproc/t1utils, and x11/typeinst to fonts. 2002-07-19 12:43:47 +00:00
drochner
b016aa30cb don't install the app-defaults file - it is ignored anyway
XXX should do something about the config file, but there is still
discussion
2002-06-10 10:58:58 +00:00
joda
bdf1bc8d13 switch to using freetype2; should close pkg/16051 2002-04-10 12:17:39 +00:00
wiz
a104501883 Remove two unnecessary options. pkg/16257 by rxg. 2002-04-09 12:58:44 +00:00
simonb
e2299c4375 Don't truncate the output of tmpnam() so that the same temporary file
names are used regardless of the process ID.
2002-03-23 16:34:52 +00:00
simonb
01b7fc0d9a Fix another divide-by-zero problem. 2002-03-23 16:32:32 +00:00
simonb
9cbe9539bb Work around divide-by-zero core dumps on alpha.
Problem report and patch sent to the xpdf author.
2002-03-23 14:08:12 +00:00
mjl
266ea71952 Update xpdf to 1.00
Implemented the sh (shaded fill) operator for the axial shading type.
Minor fixes to avoid compiler warnings.
Fix an uninitialized var in XOutputDev that caused crashes on Alphas.
Don't incrementally update the display in full-screen mode.
Added a duplex option to PSOutputDev and a -duplex switch to pdftops.
Completely rewrote the code that handles font encodings:
  - everything is Unicode-based
  - 16-bit fonts are handled much more cleanly
  - text output encoding can be set more flexibly
New .xpdfrc config files.
Added key bindings for forward ('v') and backward ('b').
Added the pdffonts program which lists the fonts used in a PDF file.
Fixed several problems in the TrueType font embedding code
Accept named destination on command line.
Added several new items to pdfinfo: file size, PDF version, tagged
  (yes or no), XML metadata (with the -meta option).
Pdftops didn't get the portrait/landscape setting correct for PDF
  files with rotated pages.
The TrueTypeFontFile class (including the Type 42 converter) now
  understands cmap format 6.
The '0' keyboard shortcut didn't update the zoom popup menu.
Handle the complete list of alternate names for the Base14 fonts.
Fixed substitute font scaling in XOutputDev - scale only the width,
  not the height.
Implemented stitching (type 3) functions.
Handle the case of moveto/closepath/clip, which defines an empty
  clipping region.
Move dependences into separate Makefile.dep files; get rid of the
  distdepend target.
Move all of the configure-script-generated -D options out of the
  Makefiles and into a top-level .h file (aconf.h).
Pdfinfo prints dates in a more readable format.
Fixed a bug in the Paeth image predictor.
Handle annotations with multiple states.
The save and restore (q/Q) operators shouldn't save/restore the path.
Performance optimization: disable pattern drawing in TextOutputDev.
2002-02-03 05:28:51 +00:00
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
simonb
7aa2217fae Update to xpdf 0.93. Noteworthy changes include:
- PDF 1.4 (128-bit) decryption.
  - FreeType 2 support.
  - Embed TrueType fonts in PostScript output.
  - Mouse wheel support.
  - Text output for Simplified Chinese.
Lots more in the CHANGES file.
2001-10-30 06:32:20 +00:00
jlam
a4bc16d30c I am a triple idiot. The only relevant variable that x11.buildlink.mk
redefines about which buildlink.mk files would care is BUILDLINK_X11_DIR,
which points to the location of the X11R6 hierarchy used during building.
If x11.buildlink.mk isn't included, then BUILDLINK_X11_DIR defaults to
${X11BASE} (set in bsd.pkg.mk), so its value is always safe to use.  Remove
the ifdefs surrounding the use of BUILDLINK_X11_DIR in tk/buildlink.mk and
revert changes to move x11.buildlink.mk before the other buildlink.mk files.
2001-10-24 22:10:43 +00:00
jlam
dff59f9ec3 x11.buildlink.mk needs to be included before any buildlink.mk files that
use X11_BUILDLINK_MK as a test value.  Generally just reordering the
inclusions so that x11.buildlink.mk comes before the other buildlink.mk
files will make everthing work.
2001-10-23 13:14:43 +00:00
wiz
2007a944a4 Move from graphics/xpdf to print/xpdf per pkg/14154. 2001-10-04 11:58:37 +00:00