1Changes to Transfig/fig2dev 2=============================================================================== 3Version 3.2 4=============================================================================== 5 6Patchlevel 5e (August 2013) 7 8BUGS FIXED: 9 o HTML map output was limited to 100 links. 10 Fix by Jan van Dijk 11 o Updated for compatibility to PNG 1.5 12 From Matthias Scheler 13 o Was adding "showpage" command when producing bitmap formats from intermediate EPS. 14 This produced "illegal" PNG and JPEG files with extra, blank image. 15 o Maximum width of included image in PS/EPS output increased from 8192 to 16384 16 o Precision of some PIC objects increased from %.2f to %.3f 17 o Double close of output file when ghostscript fails. Original bug report from 18 https://bugzilla.redhat.com/728825 19 20------------------------------------- 21Patchlevel 5d (July 23, 2010) 22 23BUGS FIXED: 24 o reduces some compilation warnings (fix from Debian) 25 o made PostScript output DSC 3.0 compliant to work with CUPS 26 patch from Ian Dall (see https://bugzilla.redhat.com/558380) 27 o Changed STOCK_LAST from 17 to 19 in fig2dev/dev/genemf.c 28 o Questionable copy of one data type to another in genemf.c 29 o Uninitialized linew_spec in genepic.c 30 o Changed definition of command for short slanted lines in genlatex.c 31 o Added check for existance of arrows in SVG line generator 32 o Removed %%Page: directive from included JPEG files in PostScript/EPS output 33 o bound.c was passing pointers to int instead of double to arc_tangent 34 o put_msg function uses proper varargs now 35 o Option for debug comments in GBX output is "yes" or "no", not "on" or "off" 36 o Added help (-h) info for GBX output 37 o In version 1.4 of the PNG library dither was removed so fig2dev now uses 38 quantize when importing PNG images with palettes 39 o put_msg was declared twice (fig2dev/dev/genemf.c) 40 o Added xlink namespace for images in SVG export 41 o SVG output for imported images didn't form href link properly 42 o PIC floating point numbers were only 2 decimal places - now 3 (Debian bug #611948) 43 Fix thanks to Roger Leigh (Debian Project) 44 o PIC output text had leading blanks (Debian bug #611977) 45 Fix thanks to Roger Leigh (Debian Project) 46 o LaTeX commands for small and tiny dots missing "." (e.g. \small.) 47 from Thomas Loimer 48 49NEW FEATURES: 50 o New PSTricks driver from Gene Ressler (see man fig2dev for info) 51 52------------------------------------- 53Patchlevel 5c (Jan 4, 2010) 54 55BUGS FIXED: 56 o transfig command was hardwired for "tex" for "make all" directive and 57 removing files with "make clean" directive in creating Makefile 58 59------------------------------------- 60Patchlevel 5b (Jun 2, 2009) 61 62NEW FEATURES: 63 o -a option added to PostScript and PICTeX languages to NOT include user's 64 login name in output 65 o Gerber (RS-247-X for CAD drawings for printed circuits) export language from Edward Grace 66 67------------------------------------- 68Patchlevel 5a (Jun 1, 2009) 69 70NEW FEATURES: 71 o 22 new arrowhead types 72 o HTML map now produces reference to .png file instead of .gif 73 74BUGS FIXED: 75 o CreationDate in pictex output was either wrong or caused segfault 76 o bugs fixed in SVG Driver: 77 - blue component of shaded colors was always zero 78 - line protruding beyond arrowhead on long arrows 79 - wrong position of back arrowhead on double-headed arrows 80 - fill patterns either missing or using incorrect linewidth 81 - lowercase greek phi did not match its X11 counterpart 82 from Martin Kroeker 83 o dubious printf(j++,j++) in MP driver 84 o missing #includes in MP driver 85 o added !defined(__FreeBSD) to fig2dev.h def for sys_nerr and errno 86 From Eric Scott 87 o added -quiet options to giftopnm and ppmtopcs in reading GIF files 88 From Eric Scott 89 o Typo in LaTeX driver when generating arc-box. "iut" should be "put" 90 o extraneous stroke:black in svg header removed along with stroke color 91 for text, since the text fill color does the whole job 92 o fig2dev produces more correctly structured PostScript. Files get printed via 93 CUPS on PostScript printers. When viewing a .ps-file in gv you can go to the 94 last page and back and to the last page again without getting PostScript errors. 95 From Ronald Lembcke 96 o Renamed the macro \SetFigFont to \SetFigFontNFSS if NFSS is #defined to alleviate 97 some problems. From Roland Rosenfeld. 98 o Grid in metric mode was incorrectly scaled 99 o Removes any %EOF or %%EOF from imported EPS pictures before exporting. 100 Also doesn't add %EOF when importing JPEG file now. 101 o Missing call to get local time before converting to string in genpictex.c 102 103------------------------------------- 104Patchlevel 5 (Feb 27, 2007) 105 106NEW FEATURES: 107 o SVG driver adds color and pattern filling to arcs 108 from Martin Kroeker 109 110BUGS FIXED: 111 o bug which made arrowheads too short fixed 112 o SVG driver corrects the ugly arrowheads on stick arrows 113 from Martin Kroeker 114 o EMF driver would crash when fed stdin 115 from Martin Kroeker 116 o Unhandled case for linetypes in latex driver 117 o CUPS didn't like the order of some of the Postscript header 118 from Ian Dall 119 120------------------------------------- 121Patchlevel 5-alpha7 (Oct, 27, 2005) 122 123NEW FEATURES 124 o Updated SVG driver from Martin Kroeker was missing from alpha6 125 o Another SVG update: Use a font-family list of "Times,Symbol" for symbol 126 characters - the Times fontface does not contain all elements of the 127 Symbol font on all platforms 128 129BUGS FIXED: 130 o Typo in font name (was cmit10, should be cmti10) in MetaPost driver 131 This bug fix was omitted from alpha6 132 133Patchlevel 5-alpha6 (Oct, 12, 2005) 134 135NEW FEATURES: 136 o Added -dPDFSETTINGS=/prepress option to ghostscript when generating 137 PDF output to improve quality of bitmap graphics 138 o Fill patterns now use PostScript Level 2 built-in pattern commands 139 for Postscript/EPS/PDF and bitmap output 140 From Konstantin Shemyak 141 o Updated SVG driver from Martin Kroeker 142 o New -K option to size bounding box to whole figure when exporting 143 only certain depths 144 From Dirk Osswald 145 146BUGS FIXED: 147 o Typo in font name (was cmit10, should be cmti10) in MetaPost driver 148 o When all texts were "special" (LaTeX coded) in a figure, ISO 149 characters weren't encoded in straight PS and PDF output 150 o Bug in radius for circles in SVG driver (dev/gensvg.c) 151 o fig2dev.man was missing many papersize options 152 o Double fclose() in bitmap driver 153 154------------------------------------- 155Patchlevel 5-alpha5 (April, 26, 2004) 156 157NEW FEATURES: 158 o Raster picture support added to SVG driver. (In SVG, this translates 159 to a link to the image file plus rotation/scaling information. 160 While 'conformant' SVG viewers need only support PNG and JPEG, there 161 is no a filetype test, as there is no limit on supported formats 162 in the standard, and e.g. Batik is able to display XBM and GIF in 163 addition. Added code for rounded boxes (polyline subtype 4). 164 Added code for boxes, explicit support for polygons. Added 165 xml-space:preserve qualifier on texts to preserve whitespace. Rewrote 166 fill pattern handling to generate patterns as needed - adding support 167 for penwidth and color. Corrected tiling of all shingle patterns and 168 reversal of horizontal shingles. 169 From Martin Kroeker 170 o Better arrowheads in SVG driver. Corrected font family selection. 171 Corrected (and simplified) calculation of white-tinted fill colors 172 (and removed the HSV/RGB conversion code). 173 From Justus Piater 174 175BUGS FIXED: 176 o Typo in LATEX_AND_XFIG file. Text should be: 177 \convertMPtoPDF{foo.0}{1}{1} 178 It was missing parameters {1}{1} 179 o Depth filter option -D was parsing range (e.g. 40:80) incorrectly 180 Fix from Justus Piater 181 o C++ style comments "//" changed to "/* */" in genmp.c 182 o Integer overflow in computing some spline steps 183 o \pagestyle{empty} added for epic/eepic driver so it doesn't produce 184 unnecessary page number when LaTeXing 185 186--------------------------------- 187Patchlevel 5-alpha4 (Feb 19, 2004) 188 189NEW FEATURES 190 o Many SVG driver enhancements from Martin Kroeker 191 (martin@ruby.chemie.uni-freiburg.de) 192 o New features in EMF driver from ITOH Yasufumi: 193 support for locale text (if iconv() is available), 194 arc box, open arc, rotated ellipse, picture, 195 dash-triple-dotted line style, and all fill patterns. 196 197BUGS FIXED 198 o "cleandir" directive missing from doc/manual/Makefile 199 o Added note about requiring dummy argument for -R option 200 o SVG driver bug fixes: semicolon missing in CSS properties, multiline 201 string problem, width, height and viewbox attributes now relative to 202 figure bounds instead of pagesize. Fixes from Justus Piater. 203 o Font info was put in the pstex file even when there were only special 204 texts. 205 206--------------------------------- 207Patchlevel 5-alpha3 (Dec 9, 2003) 208 209NEW FEATURES 210 o Global option "-Z maxdim" to scale figure so that largest dimension 211 (width or height) is maxdim inches 212 o Shapepar driver to generate shaped paragraphs for LaTeX (-L shape) 213 from Christian Gollwitzer 214 o I18N support postscript file installation moved to fig2dev/dev 215 directory and installed with InstallNonExecFile (imake directive) 216 o options -dAutoFilterColorImages=false and -dColorImageFilter=/FlateEncode 217 added to ghostscript call when exporting to pdf to improve image 218 quality during compression 219 o "Epoch" added to rpm spec 220 o New HP/GL2 driver from Glenn Burkhardt with paper size selection, 221 offset, centering and orientation options 222 223BUGS FIXED 224 o comments about BINDIR added to fig2dev/Imakefile and transfig/Imakefile 225 so user can easily change installation directory of both programs 226 o MKDIRHIER used in Imakefile for installing support files instead of mkdir 227 o commands like \\small used instead of SetFigFont for thick and thin 228 dots for LaTeX export 229 From Bo Thilde 230 o removed typedefs of uint, ushort and ulong from genemf.h because 231 systems should already have those defined 232 o SVG driver not mentioned in fig2dev.1 (.man) 233 o shortened two fprintf calls in gensvg.c for HP-UX which can't handle 234 long strings 235 o If an imported picture path points to some directory which is not the 236 current directory, and there exists a picture file of the same name in 237 the current directory, and the correct file is not compressed, fig2dev 238 would use the file in the current directory because it stripped off 239 the path first. This was fixed by looking for the uncompressed name 240 first. 241 o Color values should be divided by 255, not 256 to produce values from 242 0 to 1.0 in LaTeX, Tk and PostScript drivers, and readpng and readpcx 243 utilities 244 o Increased precision of arc angles from %.1f to %.4f in PS/EPS/PDF 245 driver 246 o Postscript support files now installed with r/w permissions only (was 247 r/w/x) 248 o Metapost (mp) driver now generates all Fig styles of arrowheads 249 From Tim Braun 250 o Bug in pic preamble - default font size either 0 or garbage 251 o PDF not rotated anymore for landscape mode (similar to eps) 252 o fontmag not set when magnification was read from Fig file 253 o When there were only LaTeX special texts without backslashes (\) and 254 no other objects in the figure, a bounding box of 0 width was produced 255 for EPS, PS and PSTEX output. 256 o Added ZLIBDIR variable in fig2dev/Imakefile to specify zlib directory 257 if different from standard location 258 o pstex_t export lacked border option (-b) to align LaTeX text when 259 pstex figure specified border (also fixed in xfig Combined PS/LaTeX) 260 o warnings in gentpic.c caused failure of gcc on hppa architecture under 261 Debian 262 o cleaned up lots of implicit declarations of functions/procs 263 o transfig: the "psfig" language was missing from the list of languages, 264 making things go out of sync past "ps". 265 o transfig: "transfig -L pstex" was generating rules for ps not eps 266 o slight margin added to text bounds 267 o an incorrect printf specification (%d instead of %ld) in gemp.c 268 o "#include <varargs.h>" no longer needed (and is unsupported by gcc 3.3) 269 o Not a bug, really but a workaround for programs that generate Fig files 270 with arcs that have coincident start and end points with the intent 271 of making a circle (TCM apparently does this). Without this 272 workaround, such arcs have the same start and end angle, which 273 ghostcript and probably other PostScript interpreters take to mean 274 "don't draw anything". This fix adds 0.01 degrees to the end angle 275 if it is identical to the start angle. 276 o Exporting a file with a picture containing a path with blanks failed 277 o Incorrect ISO translation was: 278 "\\.S", /* latin capital letter S with dot above */ 279 Should be: 280 "\\.Z", /* latin capital letter Z with dot above */ 281 o LaTeX: Correction to the ISO-8859-2 ogonek diacritic mark now uses \k 282 instead of cedilla (\c). If the macro \k isn't defined in your 283 situation or you don't see the ogonek then define the macro: \def\k#1{\c{#1}} 284 before the \begin{document}. 285 From Jerzy Sobczyk 286 o Bug in user-defined colors when exporting to CGM. If color numbers 287 weren't contiguous, e.g. 32, 34, then it couldn't find color 34. 288 o glyphs in the Symbol font that have descenders weren't taken into 289 account when calculating text bounds 290 o missing blue and extra brown color in LaTeX driver 291 o \smash directive added back to text objects in eepic driver (was removed 292 in 3.2.4) 293 o Quotes in FIG2DEV_LIBDIR definition (fig2dev/Imakefile) interferred when 294 using $DESTDIR 295 o Comments not inserted in EMF output anymore (not valid in language) 296 o float/int mixup in printf in pic driver for font size caused default 297 font size to be 0 298 o bug in hp/gl (ibmgl) driver produced incorrect JCL code to enter HP/GL 299 mode when using -k option 300 o point size factor changed from 72.27 to 72 points per inch as specified 301 by HP tech notes 302 o change in 3.2.4 which included all "special" (LaTeX) texts in the 303 bounding box that don't have any backslashes ("\") in them failed to 304 take into account inline equations using the "$". Now those special 305 texts are also excluded from the bounding box calculation. 306 o various man page format errors fixed 307 308----------------------------- 309Patchlevel 4 (December 2002) 310 311NEW FEATURES 312 o SVG (Scalable Vector Graphics) driver from Anthony Starks, modified 313 by Brian Smith and greatly enhanced by Martin Kroeker 314 o ASCII and Binary (TIFF) preview bitmap options for PostScript and EPS 315 export. The latter is useful for Microsoft products which require a 316 TIFF preview to display EPS on the screen. Use -A for ASCII preview, 317 use -C for color TIFF or -T for monochrome TIFF preview. These all 318 require ghostscript to work. If you don't have ghostscript, the 319 export will continue without a preview. 320 o JPEG encoding (DCT) now used for EPS/PostScript output. This greatly 321 reduces the size of the generated PostScript. Gleaned with permission 322 from jpeg2ps program written by Thomas Merz. 323 As a result of this, the jpeg library is no longer needed, although xfig 324 still needs it for JPEG support. 325 o Background (-g) option for tk export honored now 326 o Additional JPEG file format (EXIF) added. These usually come from 327 digital cameras. 328 o -N Option to convert colors to grayscale on export. 329 o -b option for CGM export to produce binary CGM using ralcgm. You must, 330 of course have ralcgm installed on your system to use this. 331 o Translations of LATEX.AND.XFIG document into two popular Chinese 332 encodings (GB2312 and Big5). These are called LATEX.AND.XFIG.zh_CN 333 and LATEX.AND.XFIG.zh_TW respectively. 334 From Mendel Chan 335 o The default for multi-page output (PostScript) is to NOT overlap pages 336 now. This is to allow multiple, independent pages of figures. 337 The -O option has been added to force page overlap, e.g. to cut and 338 paste pages together to make posters (the original use for multipage). 339 o Added EMF (Enhanced MetaFile) conversion genemf.c 340 from Mike Schrick (based on the CGM driver from Philippe Bekaert 341 o New grid option (-G) to draw grid on page. Specify minor and/or major 342 tick spacing in one of several units. For example, "-G .25:1cm" draws 343 a thin, gray line every .25 cm and a thicker gray line every 1 cm. 344 Specifying "-G 1in" draws a thin line every 1 inch. See man pages for 345 all units. Fractions may be used, e.g. -G 1/16:1/2in will make a thin 346 line every 1/16 (0.0625) inch and a thick line every 1/2 (0.5) inch. 347 Only implemented in PostScript, EPS, PDF, and bitmap (GIF, JPEG, etc) 348 drivers for now. 349 o Perk/Tk driver from Slaven Rezic (rezic@onlineoffice.de) 350 o Added options -B and -R to the EPS driver. This enables the user to 351 clip out a region for display in the EPS file. Very convenient when 352 using xfig via pstoedit as a postprocessor of ps files and one wants 353 to maintain the preview of the file in lyx. See the man for additional 354 information. From Morten S. Nielsen <msn@ipt.dtu.dk> 355 o New PostScript DSC directives to specify page size. Doesn't select 356 tray, which is device dependent, but works better with ghostscript, 357 ghostview and other PostScript interpreters. 358 o fig2dev now includes all "special" (LaTeX) texts that don't have any 359 backslashes ("\") in them in the bounding box. 360 o genepic and genpictex drivers updated for I18N (internationalization) 361 From T. Sato 362 o Glyphs for Hungarian, Polish, Romanian, Slovak and Slovenian 363 are essentially the same as Czech (ISO-Latin 2) so symbolic links are 364 created for those .ps files (hu_HU.ps, pl_PL.ps, ro_RO.ps, sk_SK.ps 365 and sl_SI.ps are linked to cs_CZ.ps) 366 o fig2dev prepends any path included in the .fig filename to imported 367 image file paths (only if imported image path isn't already absolute). 368 o transfig now reports when it is renaming an existing makefile or TeX 369 macro file to a backup (e.g. Makefile to Makefile~) 370 o now uses Thomas Merz' jpeg2ps for imported jpeg files when exporting 371 to PS/EPS. This is much more compact than the runlength encoding 372 which is used for other bitmaps. Many thanks to Thomas for his 373 permission to use jpeg2ps. 374 o New option for binary CGM export. The ralcgm program is required for 375 this option. See ftp://ftp.cc.rl.ac.uk/pub/graphics/ralcgm/ 376 o New -E option to set encoding for pictex, latex, pstex_t and epic 377 text to ISO8859-1 (the default) or ISO8859-2 378 o Added "install.all" option to make to install man pages in addition to 379 executables etc. 380 o If output file ends in ".fig", fig2dev prints error message to stderr 381 and exits. 382 o New encoding option (-E) for ISO-8859-1 or ISO-8859-2 from Tomas Kopal 383 o Exporting to tk now supports imported PPM images in addition to GIF 384 and XPM 385 o Comments added to EPS and PostScript output so MetaPost can group parts of 386 figure according to depths. From Klaus Guntermann. 387 o New -F, -R and -t options for epic output (do "fig2dev -h" for info). 388 From Gabriel Zachmann. 389 390BUGS FIXED 391 o When importing multiple GIF or PCX images, fig2dev would segfault on 392 Linux. This happened for two reasons: the GIF file was closed and 393 reopened, which would result in a different file structure being 394 closed by the calling routine, and a palette was being allocated for 395 the PCX image and never used. 396 o In multi-page mode for PDF export, figure was shifted up too far. 397 o The color gold was in the wrong place for LaTeX special text. 398 o Various extraneous variables removed 399 o In multipage mode (PostScript export), if the figure is smaller than 400 0.1 page, nothing was generated or printed. 401 o When exporting to EPS, the multipage flag was not cleared after 402 reading the file (options are set before reading file). 403 o Bug in the -D option (export or exclude certain depths) where it 404 wouldn't accept 0 as a depth specifier. 405 o Extra "char *c" definition in fig2dev/dev/readeps.c 406 o Possible data type problem with result of floor() in readeps.c - now 407 coerced with (int) 408 o fig2dev would sometimes emit the "transparentimage" for JPEG images 409 (it's only for GIF with a transparent color) 410 o Minor adjustment made in tk driver which fixes problem where objects 411 extend beyond the canvas, when the objects are very far away from the 412 origin (50 inches or more) 413 o Line join was not explicitely set to "miter" and line cap was not set 414 to "butt" explicitely at the beginning. This caused problems if the 415 figure was imported into another figure because settings from 416 importing document were used 417 o PNGINC Imakefile variable wasn't used 418 o Minimum length (MIN_LEN) for "LaTeX short lines" was calculated 419 incorrectly (was using 13 pixels instead of 13 points as per Lamport) 420 Also, actual length of line was compared instead of horizontal 421 component (or vertical component for vertical lines) 422 Fixed by Jacques Lefrere 423 o The lines in three patterns: 45 degrees left, 45 degrees right and 424 45 degrees crosshatch were too close together compared to the xfig 425 (on-screen) version 426 o Pagesize may have been one pixel too small when exporting to PDF 427 o Text font sizes for latex, pic and tpic output were incorrectly scaled 428 for metric Fig files (their units are points, not inches or cm) 429 o Added "&& !defined(__CYGWIN__) && !defined(__DARWIN__)" to declaration 430 of sys_errlist[], errno and sys_nerr. The __DARWIN__ is for Mac OSX 431 using X. 432 o Font size was incorrect for CGM output when exporting Fig 2.x files 433 o Bug introduced in 3.2.3d shifted rotated imported pictures 434 o Missing % from \end{picture} in generated latex code. This caused bad 435 extra spacing when the generated file is \input into a minipage or a 436 framebox, for instance. 437 Fix from Matthias Koeppe 438 o Not really a bug, but the text() proc in fig2dev/dev/gengcm.c was 439 renamed to cgm_text because of a bug in IBM's compiler which turns 440 text() into a .text assembler directive 441 o Options (fig2dev -h) incorrectly had "-p name" for pstex options 442 instead of pstex_t 443 o Updated language options in transfig to current set in fig2dev 444 o Incorrect adjustment of scale and canvas offset for tk and ptk 445 (perl/tk) export 446 o In the PIC driver, the macro PICFONTMAG should return int, but was 447 returning double, which then trashed following arguments to fprintf. 448 o Extraneous semi-colon (;) after closing brace } and/or empty default 449 case (no trailing semi-colon) causes HP ANSI compiler to complain 450 o Moved landscape rotation of page and Y-flip scaling inside 451 %%BeginPageSetup %%EndPageSetup block according to DSC, which says 452 that page orientation code should be there. 453 o ANSI style prototype for rgb2luminance did not match proc declaration 454 o When a compound object included lines that have arrowheads and large 455 coordinates (>= 100000), an incorrect bounding box was produced. 456 This same bug was in xfig 3.2.3d and earlier. 457 o Output file was being closed twice in CGM and PDF driver, causing 458 segfault on some systems. 459 o In the eepic driver, the thickness of a line may be incorrect if it a 460 has backward arrowhead of different thickness. 461 462----------------------------- 463Patchlevel 3d: (May 29, 2001) 464 465NEW FEATURES 466 467 o MetaPost driver (-L mp or -L mmp) ported from fig2MP by Klaus 468 Guntermann (guntermann@iti.informatik.tu-darmstadt.de). fig2MP was 469 written by Dane Dwyer (dwyer@geisel.csl.uiuc.edu) 470 o Support for importing PNG image files added 471 o Transparent color in imported GIF files now honored 472 o You may use "-M -" to send the Makefile output to standard output from 473 TransFig, and "-T -" to send the Texfile to standard output. 474 o (The following feature was really added in 3.2.3, but I forgot to update 475 this file): -S option added for smoothing bitmap output. 476 o (The following feature was really added in 3.2.3b, but ... you know...): 477 eps added as a language for TransFig 478 o Support for Czech font encoding for PostScript (cs_CZ.ps) 479 From Radim Gelner <gelnerr@suse.cz> 480 481BUGS FIXED 482 483 o #ifdef JPEG added in usage message for JPEG options 484 o Resolution variable (ppi) needed to be double. This caused roundoff 485 and overflow errors in several drivers. 486 o Comments longer than 200 characters in Fig files caused segfault. 487 Comments may now be of unlimited length. 488 o some bitmap files for tk driver had double brackets "{" 489 o The CGM driver didn't check if the "from" input was from stdin or a 490 file and segfaulted. 491 o Spline objects with trailing blanks (in file) made next object read 492 incorrectly. 493 o Bounding box incorrectly counted line thickness in imported picture 494 objects (they don't use the line thickness) 495 o The amount to shift a figure to 0,0 was rounded to integer, which 496 caused some figures to be clipped by the bounding box. This affected 497 eps and bitmap output. 498 o The ibmgl driver output NaNs because of a double/int mixup with printf 499 o Certain punctuation characters with descenders weren't taken into 500 account for text bounds. 501 o An extra page was generated for pdf output. 502 o Every object had 0.0000 coordinates when exporting to the MetaFont 503 driver. 504 o fig2dev would crash when reading FIG 3.1 files that have splines. The 505 problem was that the "points" component of the spline structure is in 506 a different position than in the line structure, causing arrow_bound 507 to use the wrong data. 508 o "%Page:" DSC comment is not generated generated for EPS now 509 o Trailing blank in spline object (after control points) caused problem 510 when reading Fig file 511 o TransFig didn't check whether Texfile or Makefile could be opened for 512 writing, causing segfault 513 o AutoRotatePages now set to None when using ghostscript to export PDF 514 o Changed explicit "ln -s" to use $(LN) for making symlinks during 515 install (fig2dev/Imakefile) 516 517------------------------------ 518Patchlevel 3c (July 25, 2000) 519 520BUGS FIXED 521 o TransFig manual Makefile now calls ../../fig2dev/fig2dev preventing 522 the Catch-22 problem of having to install TransFig before you can 523 compile it 524 o fig2dev/dev/genpdf.c needs "#include <signal.h>" for some systems 525 o Added -m 644 to "install" directives in Imakefile to make updates 526 easier in future (no read-only files) 527 o LaTeX and pstex_t driver produced bogus \unitlength and \dashbox 528 values 529 o File ko_KR.ujis.ps removed because it is not needed 530 531------------------------------ 532Patchlevel 3b (July 19, 2000) 533 534N.B. There was no transfig 3.2.3a - I want to keep the release number identical 535 to that of the corresponding xfig. 536 537NEW FEATURES 538 o X11 Color database ASCII file (/usr/lib/X11/rgb.txt) is now used, 539 removing the need for the dbm_xxx functions. 540 o The \special code for colors in genlatex (LaTeX driver) replaced with 541 the \color code to be compatible with pdflatex and not require dvips 542 From Klaus Guntermann (guntermann@iti.informatik.tu-darmstadt.de) 543 o PCX image reader now handles 24-bit color which means that TIFF images 544 (which are converted to PCX first) may also be 24-bit 545 546BUGS FIXED 547 o Exporting to PDF now sets bounding box to figure bounds instead of page 548 o Explicitely sets color to black before importing eps file in case that 549 file doesn't select a color 550 o Changed error message in epic driver from "Unknown style" to "Only 551 solid, dashed, and dotted line styles supported by epic(eepic)" 552 o Apostrophes (') in text are now escaped in CGM driver 553 from David Billinghurst (David.Billinghurst@riotinto.com.au) 554 o One of the header values for TIFF files was incorrect (was "DD", 555 should be "II") 556 o -f (font) option wasn't parsed correctly, which caused segfault 557 o Bug in handling imported xpm file colors in certain formats 558 o Multiple variables with same name in different drivers now declared 559 "static" 560 o In multi-page mode, redundant "Page: 1 1" was generated 561 o Unnecessary scaling in the pattern definitions removed (pdf/ps/eps 562 drivers) 563 o Total page number calculation was incorrect for multi-page PostScript 564 output 565 o Toplevel Imakefile referred to "make" instead of "$(MAKE)" 566 o Text object read routine had extra variable in scanf 567 o Error in calculation of arc arrowhead occluding underlying line; could 568 cause asin domain error 569 o Possible error in reading imported GIF colormap 570 o calc_arrow() didn't set nboundpts (number of points in bounding box) 571 if line having arrowhead had zero length 572 o Bug in Imakefile - jpeglib.h file couldn't be found for JPEG code if 573 USEXPM was not enabled. 574 o "Special" LaTeX text not included in bounding box anymore - this had 575 caused positioning problems with the LaTeX special text and figure 576 o "hyphen" was misspelled as "hypen" the character encoding for the 577 PostScript (and EPS/PDF) driver. 578 o One of the two TIFF file header types was incorrect 579 o Segfault when exporting to GIF if Fig file specified "none" for GIF 580 transparency 581 o Duplicate JPEG information in fig2dev/Imakefile 582 o If output from fig2dev was standard output, bitmap export formats 583 failed because of bad argument to ghostscript 584 o -P option description for PostScript removed from fig2dev man pages 585 o Error parsing certain color specs for XPM files 586 o Tightly curved, wide splines were sometimes "spikey" 587 o Bounding box wasn't taking arrowhead width(s) into account 588 o free_text now uses free() instead of less standard cfree() 589 o Changed last references to sys_errlist to use strerror() 590 o Bug in referencing imported xbm files in tk driver fixed 591 o Temporary file not closed before deleting in read_gif() and read_ppm() 592 o Formatting "%lf" in printf calls should be "%f" 593 o Prepended $(DESTDIR) to $(XFIGLIBDIR) and $(FIG2DEV_DIR) directory 594 variables in Imakefile to be portable 595 o Cleaned up extraneous and erroneous rules in fig2dev/Imakefile 596 from Pierre Humblet (Pierre.Humblet@eurecom.fr) 597 o Removed calls to external programs "cat" and "ps2pdf" to make more 598 portable to Cygwin environment 599 o fig2dev now uses gunzip instead of uncompress to uncompress .Z files 600 to be more portable for Cygwin environment 601 o Papersize sometimes truncated when reading Fig file (e.g. would get 602 "Lette" instead of "Letter") 603 604---------------------------- 605Patchlevel 3 (Jan 14, 2000) 606[N.B. There was no transfig/fig2dev 3.2 patchlevel 2] 607 608NEW FEATURES 609 o Adapted the transfig manual from LaTeX 2.09 to LaTeX 2e and uses 610 Times/Helvetica/Courier instead of Computer Modern fonts. 611 From Roland Rosenfeld (roland@spinnaker.de) 612 o If DBM file for RGB databse does not exist, read "rgb.txt" instead. 613 o If a file such as /usr/local/lib/fig2dev/A3.ps exists, insert it 614 when generating PostScript output to select paper tray, for example. 615 o Messages from bitmap output (GIF, JPEG, etc) are captured and printed 616 if there is any error during the export 617 o New PDF driver (uses ps2pdf from the ghostscript distribution) 618 o New CGM driver (Computer Graphics Metafile) from Philippe Bekaert 619 (Philippe.Bekaert@cs.kuleuven.ac.be) 620 o More page sizes (Japanese JIS B0-B10 and ISO A0-A9) 621 o Autocad Slide format called "sld" now instead of "acad" 622 (e.g. fig2dev -L sld ...) 623 o -L eps is required for Encapsulated PostScript now, instead of fig2dev 624 just using the -P (add showpage) option to distinguish EPS from PS 625 o The compile-time symbol EPSF in fig2dev/Imakefile has been changed: 626 comment out the DDLATEX2E_GRAPHICS = ... line if you don't want to use 627 the standard graphics package distributed w/ LaTeX2e 628 Uncomment the DDEPSFIG = ... line if you want to use the deprecated 629 epsfig macros distributed w/ LaTeX2e (DDLATEX2E_GRAPHICS must also be 630 defined) 631 o The default is now to compile for DVIPS 632 o Arc-boxes available for LaTeX now 633 from C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu> 634 o New import picture formats supported - TIFF and PPM 635 636BUGS FIXED 637 o clipping and background filling incorrect for some Postscript/EPS 638 output 639 o pstex driver now uses EPS driver for figure part instead of PostScript 640 for proper bounding box and orientation (this is what caused rotation 641 of the figure relative to the LaTeX text part when the Fig file spec- 642 ified Landscape) 643 o TransFig now takes -L eps for Encapsulated PostScript language 644 o Imported EPS file bounding box wasn't read correctly 645 o readjpg.c and readjpg.o included in fig2dev/dev/Imakefile even without 646 JPEG support 647 o calloc() declaration wrong for some systems (fig2dev/read.c) 648 o Bug in importing EPS files - strange aspect ratios resulted 649 o Used "True" and "False" instead of "TRUE" and "FALSE" in several 650 driver files. Have converted all TRUE to True and FALSE to False 651 o Some applications don't set clipping path when they import EPSF file, 652 and not only the background of the figure but whole paper may be 653 painted with the -g (background) option. 654 o BitmapSuccess and BitmapFileInvalid were not defined in 655 fig2dev/dev/genxbm.c 656 o Digital's compiler doesn't like "{ }" as initializer (genps.c) 657 o Declarations of malloc() and calloc() removed from alloc.h, as they 658 are declared in <stdlib.h> 659 o Arrowheads didn't quite extend far enough 660 o Extra parenthesis in shell script when exporting to SLD, XBM, and XPM 661 o splines were interpolated slightly differently than in xfig 662 o Add description about "-j" option to help message (when I18N is enabled) 663 o if imported PCX image file couldn't be opened, fig2dev tried to close 664 the file, which is a bad thing 665 o %%EndProlog has been removed since it was not needed and there was 666 never a %%BeginProlog 667 o needed pi.h for gentk.c (tk driver) 668 o bzero macro defined globally now (wasn't defined in readpcx.c) for 669 those systems which don't have it (it is defined to use memset) 670 o didn't include "pi.h" in dev/gentk.c for machines that don't have M_PI 671 o Moved JPEGLIBDIR and JPEGINCDIR definition closer to the top in the 672 fig2dev/Imakefile 673 o Output to GIF, JPEG, etc. (bitmap formats) didn't work properly if the 674 destination was stdout 675 o "make install" changed because some systems' install program can only 676 take one file at a time 677 o Added a "newpath" command after the initial clip command for PostScript 678 output just in case an object is drawn without a preceding newpath 679 o M_2PI was redefined without first being #undef'd 680 o the "-" character in Fig files should really be a hyphen, not a dash as 681 it was encoded for PostScript output. This is fixed thanks to info 682 from Robert Maier. 683 o Splines didn't come out exactly as they did in xfig. 684 o In transfig, character used instead of int when checking for EOF on 685 file. From Geoff Keating (geoffk@ozemail.com.au) 686 o %%EndDocument only written for imported EPS files (not XPM, etc) 687 From Dick Wesseling (ftu@fi.UU.nl) 688 o Added "if defined(FreeBSDArchitecture)" to include -lcompat library 689 o Changed fig2dev.h to always include <sys/param.h> 690 o Bounding box variables were uninitialized 691 o Cleaned up error reporting of line numbers in Fig file 692 o Text bounding calculations ignored the "include" directive for center- 693 and right-justified text, which is used to flag whether text should be 694 included in the bounding area. This would affect the LaTeX, PicTex, 695 PSTeX, TexTyl, and IBMGL drivers. 696 From Anton Wilder <a.j.wilder@swansea.ac.uk> 697 o Clipping for arrowheads so that thick lines wouldn't "protrude" through 698 the arrow tip modified so that it works properly with ghostscript 5.50. 699 o Allocation error in reading some pcx files 700 701---------------------------- 702Patchlevel 1 (July 1, 1998) 703 704NEW FEATURES 705 o New driver for tk (tcl/tk) - Generates canvas objects and canvas. 706 from Mike Markowski (mm@udel.edu) 707 o -h option to print all options for all output languages 708 o Japanese text support for LaTeX output 709 from T. Sato (VEF00200@niftyserve.or.jp) 710 711BUGS FIXED 712 o XPMLIB renamed to XPMLIBS in Imakefile because of conflict with 713 XFree86 variable name in xmkmf config files 714 o Fixed bug in JPEGINCDIR path when relative path is used (when 715 USEINSTALLEDJPEG is *not* used) - the dev directory is one level 716 deeper so "../" is prepended for that case 717 o The rest of the scaling problems for latex fixed :-) 718 from Hans Werner Strube (strube@physik3.gwdg.de) 719 o Two bugs fixed in eepic driver 720 1) -l option didn't work because DPI was 0 when line width was 721 defined 722 2) -W option produced 0 line widths because of a bad fprintf 723 o Dash length incorrect by factor of 80 for LaTeX output 724 o I18N support added for LaTeX output 725 o Incorrect amount of memory allocated for reading eps pictures 726 o Bug in provided strstr() (only used if you've uncommented 727 #define NOSTRSTR in the Imakefile) 728 o Fixed M_PI incompatibility with RedHat 5.0 729 o moved convert_names procedure from readxpm.c into genps.c since only 730 genps.c needs it. Removed readxpm.c as a result. 731 o added missing PCX import driver 732 o metric scaling for latex part fixed 733 From Martin Pahl <pahl@tnt.uni-hannover.de> 734 o Some Linuxes need -lgdbm instead of -ldbm (fig2dev/Imakefile) 735 o transparent color for GIF was not passed (new option -t) 736 o multiple co-incident points in splines caused problems on some 737 machines (this patch was in the old spline model but failed to make 738 it to the X-Spline model) 739 o endpoints of splines were missing sometimes 740 o new #ifdef for glibc which already has sys_errlist defined 741 o conflict with definition M_PI (3.14159....) on RedHat systems fixed 742 o "Ledger" paper size removed from list of paper sizes. It is really 743 "Tabloid" size in landscape mode. 744 o arrowheads were too far back from end of line 745 o dash length for lines were too large in LaTeX output 746 o fig2dev can now be used in a pipe (e.g. cat x.fig | fig2dev -L ps ...) 747 was attempting to rewind file before 748 o error in I18N defines in fig2dev/Imakefile 749 o bug fixes and modernization of Metafont driver by Mats Bengtsson 750 <mats.bengtsson@s3.kth.se> 751 o removed stricmp() function in dev/genepic.c because strcasecmp() is 752 equivalent 753 o newpath command given in PostScript output after imported EPS pic to 754 prevent bounding box being drawn 755 756=============================================================================== 757Version 3.2 (first release Aug 22, 1997) 758=============================================================================== 759 760NEW FEATURES 761 o flag in transfig/Imakefile to use "\usepackage" for LaTeX2e instead of 762 "\documentstyle" for LaTeX209. See README file. 763 o fig2dev now handles the bitmap formats (GIF, JPEG etc) instead of xfig, 764 so there is more consistent output. Requires the (free) netpbm package. 765 See the README file. 766 o tiff (no compression) and AutoCad (acad) output languages added 767 o image quality (0-100) is selectable for JPEG export (-q option) 768 o PNG export driver added 769 770BUGS FIXED 771 o changed XPM variables to default X include/library in fig2dev/Imakefile 772 o remove PageSize comment if EPS (no showpage) 773 o bug in colormap for imported grayscale JPEG files 774 o "rs gr" sequence after imported eps file changed to "restore grestore" 775 in case imported eps file had defined either "rs" or "gr" 776 o There was a bug in the EPIC driver when drawing backward arrows - in 777 several places in genepic.c draw_arrow_head is called with unconverted 778 coordinates, which leads to totally displaced arrows. 779 from Heiko Schroeder (heiko@linux.local.de) 780 o cleanup of dictionary wrapped around imported EPS files 781 from Franz Koch (franz.koch@zdv.uni-tuebingen.de) 782 o pic output didn't produce dashed or dotted arc 783 o metric flag incorrectly parsed 784 o strcasecmp and strncasecmp bugs (s2 != '\0' and s2 == '\0' should 785 be *s2 ...) 786 o error in JPEGINCDIR in fig2dev/Imakefile 787 o rec_array wasn't being freed in gendev_objects (fig2dev.c) 788 o thicklines not being set properly for LaTeX output 789 o two-point splines looped infinitely on some machines 790 fixed by Jeff Dairiki <dairiki@kalman.apl.washington.edu> 791 o arrowheads weren't correct on tight arcs in eepic output 792 fixed by Wolfgang Reissenberger <reissenb@veilchen.informatik.uni-stuttgart.de> 793 o TransFig now uses \usepackage instead of \documentstyle, which is old 794 From Klaus Georg Barthelmann (barthel@Informatik.Uni-Mainz.DE) 795 o fill pattern of rotated ellipses was rotated itself 796 o Ledger/Tabloid sizes reversed (Tabloid is 11x17", Ledger is 17x11") 797 o bounding box of text more accurate for text with/without descenders 798 o added USEINLINE variable in Imakefile to use compiler inline functions 799 o removed ANSI prototypes from spline routines in trans_spline.c 800 801------------------------------ 802Version 3.2 Beta (Jan 9, 1997) 803------------------------------ 804 805NEW FEATURES 806 807o multi-page, paper size, magnification and transparent color stored in Fig 808 file now. (transparent color is only used by xfig when exporting 809 to GIF format) 810o comment that Redhat Linux users may have to change DBMLIB to -ldb in 811 fig2dev/Imakefile 812o figures in landscape are only rotated when showpage command is NOT used 813 (-P). This is because it doesn't need to be rotated for EPS, 814o previous spline models (interpolated splines and approximated splines) are 815 replaced by one single model (x-splines) which allows the user to mix 816 interpolated and approximated control points (see the "FORMAT3.2" file 817 from the "xfig" package for details). 818 819BUGS FIXED 820 821o added second % to %%BeginDocument and %%EndDocument 822o garbage values for arrowhead produced when last two points in line were at 823 same coordinate 824o bug in reading multi-line text object 825o showpage now follows restore as per standard 826 from Christopher R. Wren (chris@wren.cambridge.ma.us) 827 828=============================================================================== 829Version 3.1 830=============================================================================== 831Patchlevel 2a (Jun 4, 1996) 832 833NEW FEATURES 834 835o only need to change XPM defines in fig2dev/Imakefile 836o if your system has the strerror() function (doesn't have sys_errlist) then 837 comment out NEED_STRERROR with an XCOMM comment. 838o new option for PostScript output, "-e" to force figure to edge (flush-left). 839 Useful when the figure was saved with Centering on. 840o point objects (POLYLINE with only one point) have thickness now and will be 841 filled circles if cap style is rounded. PostScript output only. 842o -A option to scale arrowhead sizes for epic driver 843o can rotate all text (not just left justified) in LaTeX now using \rotatebox. 844 The old restriction is not needed because the epsfig package is 845 required to include ps_tex_t files anyway. 846o new line types - Dash-dot (_.) Dash-dot-dot (_..) and Dash-dot-dot-dot (_...) 847o new paper sizes: "Tabloid", "Ledger", "B", "C", "D", "E", "A0", "A1", "A2", 848 "A3", "A4" and "B5". See man fig2dev (-z option) for sizes in 849 inches and cm 850 851BUGS FIXED 852 853o double colon (::) needed for .man installation in Imakefiles 854o linewidth wasn't working correctly in epic/eepic driver 855 from Andre Eickler (eickler@db.fmi.uni-passau.de) 856o some versions of imake don't like null parameters in SpecialObjectRule in 857 Imakefile - changed to "NullParameter" 858o the text alignment problem in LaTeX output has been fixed (genlatex.c) 859 From Francky Leyn (Francky.Leyn@esat.kuleuven.ac.be) 860o if the endpoints of a POLYLINE are coincident, the line join parameter will 861 be used to join them (xfig already showed this behavior) 862o redefined $(XPMINCDIR) to $(XPMINC) because some compilers have trouble with 863 header search path with empty "-I" 864o incorrect directory specified for xpm.h in fig2dev/dev/genps.c and readxpm.c 865o changed "ln -s" commands in Imakefiles to "-ln -s" so make will continue if 866 symlinks are already in place 867o back arrows incorrect for splines and lines in epic driver 868o figure was clipped to pagesize even in EPS mode 869o if paper size specified as "Ledger" in landscape mode fig2dev switches to 870 "Tabloid" paper size and vice versa (Tabloid in portrait mode switches 871 to Ledger) 872o segfault when importing jpeg picture with grayscale colormap fixed 873o colormap must be saved before jpeg_finish_decompress or 874 jpeg_destroy_decompress are called in read_JPEG_file() 875o #include <jpeglib.h> changed to #include "jpeglib.h" to ensure corrrect path 876 used to find header file 877o moved %Magnification information in PostScript output after %%BoundingBox 878 (caused problems for some programs interpreting DSC PostScript) 879o incorrect spline line thickness when multiple splines are used 880o arrowheads caused DOMAIN error for asin on very small arcs 881o include ctype.h in fig2dev.h for isascii() and isxdigit() macros 882o removed redundant #ifdef NOSTRSTR from strstr.c because that file is only 883 compiled if system has no strstr() 884o error when using first user-defined color (color 32) 885o fabs(), sin(), cos(), atan() and acos() redefined in genlatex.c, genpictex.c, 886 genpstex.c and gentextyl.c 887o error message about being unable to open eps file was mis-formatted 888o multiple whitespace following "(atend)" in EPS file parsed correctly now 889 from T. Sato (VEF00200@niftyserve.or.jp) 890o extraneous variable in fprintf in genps.c 891 from T. Sato 892o extraneous % in fprintf in genepic.c (set_pattern) 893o multi-page option shifted all pages incorrectly 894o error in scanf format string for reading text from old (Fig 1.3) files 895 from T. Sato 896o error in fprintf format string for virtual font in gentpic driver 897 from T. Sato 898o erroneous "extern" declarations for cur_capstyle and cur_joinstyle in two 899 dev/genps.c functions 900o bug in skip_comment() which prevented some machines from seeing the end of 901 file, giving erroneous "Incorrect format" error 902 903--------------------------- 904Patchlevel 2 (Aug 16, 1995) 905 906New Features: 907 908o JPEG (JFIF) pictures objects supported for PostScript output 909o %Magnification: comment added to PostScript output showing magnification 910o the points of arrow heads don't protrude past the endpoints of the object 911 912Bugs Fixed: 913 914o the radius of arc-box corners is limited to the half of the smaller of the 915 two sides of the box to avoid PostScript errors 916o pstex driver incorrectly omitted postscript text in pstex output 917o set_linewidth was passed double instead of int from fdraw_arrow_head 918 in genepic.c 919o length of dotted line dots too small for high resolution printers 920o recursion bug fixed where run-time would increase exponentially with nesting 921 of compound objects 922o %%BeginDocument:/EndDocument now surrounds imported EPS files 923o open arrowheads on arcs were overwritten by arc lines 924o bug in pattern fill code which made patterns appear solid black when 925 using dvips 926 Thanks to Tomas Rokicki (rokicki@CS.Stanford.EDU) for finding the fix 927o line thickness wasn't adjusted for new resolution in epic, eepic, pic, tpic 928 and pictex drivers 929o dash length incorrect for Fig 3.x files in pic and pictex drivers 930o -s option to fix text pointsize wasn't being honored 931o documentation typo with regard to rigid text. Rigid text means that the font 932 size doesn't change when text is inside a compound object and that 933 object is scaled in xfig. Not used for fig2dev. 934o certain machines don't handle atan2(y,0.0) so arcs with endpoints having the 935 same x value were incorrectly calculated 936o some machines don't calculate hypot(x,y) correctly so changed to sqrt(x*x+y*y) 937 in arc_bound() 938o bug in calculating BoundingBox for PostScript in compound objects 939o cleared up confusion about -DNFSS and -DEPSF. Here is the final word: 940 941 Add -DNFSS to DEFINES list to use NFSS2 font selection for LaTeX texts 942 Add -DEPSF to DEFINES list to use epsfig macros as distributed w/ LaTeX2e 943 944 Hint: Users of LaTeX2e will probably want to include both of these 945 options; users of LaTeX 2.09 will probably want to include neither. 946 947o new tints added (fill values 21-40) and arrowhead types for epic driver 948 from Andre Eickler (eickler@db.fmi.uni-passau.de) 949o pattern fill seg faulted for epic/eepic output (only PostScript has patterns) 950o sanity check for font number 951o font name "Modern" changed to more correct "Sans Serif" in documentation 952o MetaFont driver only sent output to stdout 953o version information (fig2dev -V) said "TransFig" instead of "fig2dev" 954o getopt.c not needed for Solaris - #if (defined(...)) added in Imakefile 955 for this 956o removed duplicate #define of FALSE, TRUE and DEFAULT_FONT_SIZE in various 957 drivers 958 959--------------------------- 960Patchlevel 1 (Jan 24, 1995) 961 962Bugs Fixed: 963 964o eps files with binary data (!) now handled correctly 965o -f option to PostScript driver with unknown PostScript font name caused 966 seg fault 967o increased resolution of unitlength specifier in latex/epic drivers - was 968 rounding 0.00083333 to 0.0008. 969o dash length not set correctly for epic driver 970o area fill values incorrectly interpreted for some drivers other than 971 PostScript - this also made fig2dev outpus spurious %s%s(%d%d)} 972 for epic/eepic 973o linejoin set instead of linecap in postscript output 974o sets linecap to ROUND for ellipses and closed splines with dotted lines 975o defines showpage as null for included EPS files instead of removing the 976 word "showpage" from them 977o definition for XCOMM in Imakefiles for those running R4 978o bug in freeing xpm image structure incompatible pointer type 979o bug in fig2dev/Imakefile variable for including -ldbm explicitly 980o removed -lnsl option from fig2dev/dev/Imakefile - imake files should 981 automatically add this to the Makefile for Solaris (SVR4) systems 982o note added to README that you must do "make" before "make install" 983o bug in reading text for linux os - text size was set to 0 984o bcopy changed to memcpy call in dev/readpics.c 985o SVR4 condition added to transfig/transfig.h for including string.h 986o variable in fig2dev/Imakefile and fig2dev/dev/Imakefile for include 987 directory for xpm files if your xpm headers are not in the default X11 988 include directory 989 990-------------------------- 991Patchlevel 0 (Jan 9, 1995) 992 993o NOTE: An error in xfig version 3.0.0 incorrectly positioned objects on the 994 canvas when reading older fig files. New objects entered with 3.0 are 995 correctly positioned. 996 I apologize for the inconvenience. 997***** This is the only reason why the file protocol number has changed. 998 999Bugs Fixed: 1000 1001o error when figure was larger or partially off the page and user did not 1002 select multipage option (-M) 1003o newline() declared twice (inconsistently) in dev/gentpic.c 1004o errors in read.c for linux machines - caused font size 0 1005o Linux machines need LOCAL_LDFLAGS = -ldbm in fig2dev/Imakefile 1006o sys/types.h needed in dev/readpics.c for BSD machines 1007 1008=============================================================================== 1009Version 3.0 1010=============================================================================== 1011Transfig version 3.0.0 (Dec 22, 1994) 1012 1013New Features: 1014 1015o MetaFont driver added (from fig2mf) 1016 from Anthony Starks (ajs@merck.com) 1017o "-n name" option to specify filename for PostScript Title (e.g. when using 1018 stdin) 1019o -x <offset> and -y <offset> options for PostScript output to shift figure on 1020 page. 1021o fig2dev/dev/Imakefile settings to: 1022 1. Use LaTeX2e commands for setting fonts. As LaTeX2e will become the 1023 official release by spring this year (we redefined the start of 1024 spring to be the date the LaTeX is released). This is a subtle 1025 problem in the outcome of transfig, but some old font changing 1026 commands behave differnet now. 1027 2. To use the \epsfig-package distributed with LaTeX2e instead 1028 of \special{psfile... for included PS-figures. 1029 They use two new defines in the dev/Imakefile: -DNFSS for 1., -DEPSF for 2. 1030 From Hendrik G. Seliger (hank@blimp.automat.uni-essen.de) 1031o arrow heads are pointed now for PostScript (they were blunt before) 1032o EPS Objects have been generalized to Picture Objects. Currently EPS, XBM 1033 XPM (X11 color pixmap) and GIF formats are recognized. 1034 Compressed (.Z) and gzipped (.z or .gz) files are also handled. 1035o new command-line option '-z' for PostScript output used to select a paper 1036 size from the list of A4, B5, Letter, Legal. 1037 from Jon Roma (roma@ux1.cso.uiuc.edu) 1038o change to the pstex driver so that when it sees text with a LaTeX font it 1039 handles it using the LaTeX text object routine, but not treating it 1040 as "special" text. This allows the pstex driver to take the "hint" 1041 the since the user is using LaTeX font specifiers, those should be 1042 used. The only people who could be adversely affected by the change 1043 would be those using LaTeX font names as convenient synonyms for 1044 PS font names who would now get LaTeX fonts instead. Probably not 1045 a problem. 1046 from Micah Beck (beck@cs.utk.ecu) 1047o fig2ps2tex.sh for systems which don't have csh or dc. Uses bc and awk. 1048 from Dave Raymond (raymond@kestrel.nmt.edu) 1049 1050 1051o changes to the file format (protocol). See *xfig* Doc/FORMAT3.0 for details. 1052 Transfig will still read older Fig file formats. 1053Here are the features involving change to the protocol: 1054 o portrait/landscape, justification (center or flush left) and metric/inches 1055 indicators saved with figure file so is not necessary to supply the 1056 command-line args to specify them. However they will override the file 1057 specification if given. 1058 o separate border and fill colors. 1059 o resolution is increased from 80 ppi to 1200 ppi. This decreases jaggies. 1060 A side effect is that fig2dev can now read Fig files of any resolution. 1061 o there are now 32 colors - new ones are: gold, three shades each of blue, 1062 green, cyan, red, magenta, brown and pink. 1063 o in addition, there are now user-definable colors which are stored in the 1064 figure file as pseudo-objects of type 0 which define the rgb values 1065 in hexadecimal. The color numbers range from 32 to 543 for a maximum 1066 of 512 user-defined colors. 1067 o more fill options - colors transition from black to full saturation 1068 (shades) and on to full white (tints, i.e. pastels). 1069 Or you can use one of 16 fill patterns - diagonal lines, bricks, 1070 shingles, crosshatch etc. 1071 o three line-join styles: miter (current style), round and bevel (see 1072 PostScript or Xlib reference for description) 1073 o three line-cap styles: butt (current style), round and projecting (see 1074 PostScript or Xlib reference for description) 1075 1076Bugs fixed: 1077 1078o circles/ellipses paths weren't being closed in postscript output - gap closed 1079o "%%Page: 1 1" added for single-page output for Document Structuring Compliancy 1080 (previously, Page: comment only appeared in multi-page figures) 1081o coord_system was declared extern in fig2dev/fig2dev.h. This was incorrect. 1082o even/odd rule fill now used for filled objects as per xfig (PostScript) 1083o typo in fig2dev/dev/Imakefile said include -DA4d instead of -DA4 for A4 paper 1084o all orientations of rotated/flipped EPS objects correctly done now 1085o man pages for transfig claims to be able to read postscript files - this was 1086 never finished so it has been removed from the man pages. 1087o dotted lines with very small length caused SIGFPE 1088o typo in error message about unknown option 1089o added check for #if defined(SVR4) in addition to defined(SYSV) 1090o misplaced ';' in fig2dev.c gendev_null() proc 1091o added static declarations in genlatex.c genpictex.c and gentextyl.c 1092o better bounding box calculation 1093 from Uwe Bonnes (bon@lte.e-technik.uni-erlangen.de) 1094o Tpic TeX font position 5 was "sl" (slanted) which doesn't exist 1095 from Edward Wang (edward@cs.berkeley.edu) 1096 1097=============================================================================== 1098Version 2.1 1099=============================================================================== 1100 1101Transfig version 2.1.8 (Oct 1, 1993) 1102 1103New Features: 1104 1105Bugs fixed: 1106 1107o thick line threshold increased from 1 to 2 for latex lines 1108o save/restore wraps EPS objects now 1109o specifing nonexistant font with -f caused coredump 1110 from Gordon W. Ross (gwr@jericho.mc.com) 1111o newpath command given before EPS object for PostScript output 1112o moved definition of SetFigFont to better place 1113 from Bernd Raichle (raichle@isr.uni-stuttgart.de) 1114o #included sys/types for BSD4_3 systems in genps.c 1115o bug in eepic output - SetFigFont was being defined inside a \put 1116 from Vivek Khera (khera@cs.duke.edu) 1117o BoundingBox for EPS objects can be floating values 1118o shortened file name (fig2dev/dev/)def_setfigfont.c to setfigfont.c 1119o distribution version of fig2dev/dev/Makefile had (def_)setfigfont.c 1120 instead of (def_)setfigfont.o in LIBOBJS definition 1121o SUBDIR fig2dev/dev was missing from top-level Imakefile caused problems 1122 where make would say something like "No rule to make target 1123 dev/libtransfig.a" 1124 1125---------------------- 1126Transfig version 2.1.7 1127 1128o no longer writes over input file if there is an error in the command line 1129o added "%%Orientation: Landscape" comment for PostScript output in landscape 1130 orientation 1131o moved definition of SetFigFont from transfig into genpstex.c so that there 1132 is no need to run transfig for pstex output 1133o script pic2tpic was generating \ss instead of \sf for \fH 1134 from Mark Roth (mroth@afit.af.mil) 1135o changed header for Encapsulated postscript files from "%!PS-Adobe-2.0 EPSF" 1136 to "%!PS-Adobe-2.0 EPSF-2.0" which allows FrameMaker and ghostview to 1137 read them properly. 1138 from Vivek Khera (khera@cs.duke.edu) 1139o check for #ifdef SYSV to include string.h instead of strings.h in 1140 fig2dev/dev/genibmgl.c 1141o changed EXTRA_LIBRARIES to SYS_LIBRARIES in fig2dev/Imakefile so wouldn't 1142 clobber system-dependent flags in EXTRA_LIBRARIES 1143o fprintf and 'else' missing from genepic which caused incorrect information 1144 to be generated when drawing arcs using epic output 1145o removed dependencies on the X libraries (Imakefiles and Makefiles) 1146o SGI machines had trouble with hypot() which caused arrow heads to mess up 1147 from Malcolm Davis (davis@nod.bms.com) 1148o Flipped EPS objects were incorrectly flipped on output 1149 from Brian Boyter (boyter@pyrdc.va.pyramid.com) 1150o POLYLINES were being drawn in sections (10 points per section) which 1151 resulted in incorrect dashed line lengths and only one section 1152 filled if area fill was on 1153 from Peter Egelberg (egel@neural.se) 1154o added Sequent machines and Suns with SunOs < 4.1 to list of machines that 1155 don't have strstr() 1156 from Scott Erikson (sources@ics.uci.edu) 1157o removed PATCHLEVEL from patchlevel.h file - version number is complete with 1158 three parts (e.g. 2.1.6) 1159o removed "extern coord_system" from fig2dev.h (wasn't used by fig2dev) 1160o SPECIAL_CHAR split into three strings for systems which can't handle one 1161o -P flag dissappeared from eepic output language - reinstated 1162 1163------------- 1164Version 2.1.6 1165 1166o Courier-BoldItalic changed to Courier-BoldOblique for PostScript fonts 1167o "if" statement replaces copysign() call since some machines don't have it 1168o some backslashes ('\') corrected in printf statements in transfig/mkfile.c and 1169 fig2dev/iso2tex.c 1170o changed header for postscript files from "%!" to "%!PS-Adobe-2.0" when using 1171 -P (showpage) option and "%!PS-Adobe-2.0 EPSF" otherwise (Encapsulated) 1172o corrupt transfig/Imakefile and typo (SCRS instead of SRCS) 1173o some variables (cur_thickness and coord_system) were multiply defined in 1174 various drivers in fig2dev/dev - made those static 1175