3 Commits

Author SHA1 Message Date
Kurt Jaeger
a1c466d432 print/fig2dev: fix to build, needs some help to really use ghostscript
- GSEXE was not set during build, causing
  fig2dev -L pdf part.fig part.pdf
  to fail like this:
  sh: -q: not found
  Error in ghostcript command
  command was:  -q -sAutoRotatePages=None -dAutoFilterColorImages=false -dColorImageFilter=/DCTEncode -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -o 'part.pdf' -

Reported by:	Anton Shterenlikht <mexas@bristol.ac.uk>
MFH:		2018q3
2018-07-15 08:20:28 +00:00
Kurt Jaeger
fc5620a135 print/fig2dev: update 3.2.6 -> 3.2.7
- OPTION LETTER CHANGES:
  Language         previous option         current option
  ------------------------------------------------------------
  cgm              -b dummy                -a
  epic             -A scale                -d scale
  eepic            -A scale                -d scale
  eepicemu         -A scale                -d scale
  gbx              -i on|off               -v
  ibmgl            -m mag,xoff,yoff        -m mag -x xoff -y yoff
  mp               -I file                 -d file
  ps               -S dummy                -o
- NEW FEATURES:
  o Print language-specific help text by using fig2dev -L lang -h.
  o Add option -M, multipage, for MetaPost output language.
  o Add option -P, pagemode, and -z to choose a pagesize for pdf output.
  o Add option -W (scaling of figures not possible) for tikz.
  o Add option -b, border width, for LaTeX output language.
  o Add option -f for pstex_t and pdftex_t output language.
  o Add uk_UA and ru_RU encodings for PostScript output. Ticket #12.
- BUGS FIXED:
  o Update help text: Output help for dxf and textyl output language,
    add description of -g option for Tk/Tcl and Perl/Tk output, allow -f
    option for pstex_t and pdftex_t output language.
- Debian bug numbers refer to https://bugs.debian.org/#.
  Ticket numbers refer to https://sourceforge.net/p/mcj/tickets/#.
  o Sanitize input. Do not segfault on malformed input files. Fixes debian
    bugs 881143, 881144, 881396, 890015, 890016, 882021 and also 882022.
  o Do not put an %%Orientation: comment into PostScript output. Some
    viewers would rotate the resulting file, others not.
  o Fix build on NetBSD, which has a _setmode() function different from
    _setmode() on Windows. Ticket #17. Also, avoid alloca(). Ticket #16.
  o tikz output: Omit the semicolon after \pgftext[..]{...};.
  o Define PostScript patterns with larger tiles, may render better. #13
  o Fix build in case libXpm is missing. Ticket #15.
  o Use netpbm programs instead of ghostscript, to produce smaller files.
  o Correctly embed eps files with binary preview (epsi, typically
    found on Microsoft systems). Also, allow to embed ps-files. Fixes
    debian bug 248807, ticket #8.
  o For compilation, do not depend on PATH_MAX being defined.
2018-04-15 20:02:13 +00:00
Kurt Jaeger
180fd0f5ee New port: print/fig2dev
Fig2dev is a set of tools for creating TeX documents with graphics
which are portable, in the sense that they can be printed in a wide
variety of environments.

Drivers currently exist for the following graphics languages:
AutoCad slide, BOX, (E)EPIC macros, LaTeX picture environment,
PIC, PiCTeX, PNG, PostScript, Encapsulated Postscript, GIF,
IBM-GL, JPEG, PCX, MF (METAFONT), TeXtyl, TIFF, TPIC, XBM (X11
Bitmap), XPM (X11 Pixmap), and TK (tcl/tk).  Fig2dev can be
configured with a subset of these drivers.

WWW: https://en.wikipedia.org/wiki/Xfig

This port will replace print/transfig after a bit of testing.
2016-08-23 17:44:52 +00:00