Hi Rafael, find attached two figures; the first one contains the bugs that I have fixed, the second one is a remaining bug (xfig would parse the .fig without complaining though on writing the it would silently correct the `error' - I think XFig.pm should behave the same).
Sorry for not using the bug tracker, next time I'll definitely `reportbug'... Regards, Mark On Tue, Jun 21, 2005 at 02:09:43PM +0200, Rafael Laboissiere wrote: > Package: fig2sty > Version: 1:0.1-4 > Severity: normal > Tags: patch > > Thanks for the patches, Mark. I am forwarding your message to the Debian > Bug Tracking System, such that it is recorded somewhere. I hope you do > not mind. Please keep Cc: to <number>@bugs.debian.org. > > It would be great if you can provide examples of *.fig files which are > not correctly parsed by the current version of XFig.pm. > > Cheers, > > Rafael > > > ----- Forwarded message from "Mark A. Hillebrand" <[EMAIL PROTECTED]> ----- > > From: "Mark A. Hillebrand" <[EMAIL PROTECTED]> > Subject: Some Patches for XFig.pm > Date: Tue, 21 Jun 2005 12:16:00 +0200 > To: Marcel Rohner <[EMAIL PROTECTED]>, > Rafael Laboissiere <[EMAIL PROTECTED]> > Reply-To: "Mark A. Hillebrand" <[EMAIL PROTECTED]> > > Dear Marcel, dear Rafael, > > find attached some patches for the fig2sty package, that apply > cleanly to the upstream fig2sty.tar.gz and to the fig2sty_0.1-4 Debian > package (in the order specified by the `series' file). > > Most patches fix errors of the xfig parser module XFig.pm, some of > them are slight extensions to it. Here are the short descriptions from > those patches (for the last one I do not know what it fixed any more, > that could be left away). > > Do with the patches what you like :) > > Regards, Mark > > ==> XFig_text_escape.diff <== > Decode text field contents on reading and encode on writing > (this concerns backslashes and non-ASCII characters). > Fixes a bug that swallowed backslashes on output. > > ==> XFig_empty_lines_after_header.diff <== > Allow empty lines after the header, as used by some of the files > in the standard XFig libraries. > > ==> XFig_fix_arrow_shape_bug.diff <== > Added missing arrow shape output for arcs; > corrected parsing of arrow shapes for all others. > > ==> XFig_standard_output_format.diff <== > Makes output from writefile() more similar to regular XFig output. > > ==> XFig_unsorted_stuff.diff <== > I forgot why I did the first chunk, but I'm almost sure there was a reason. > > The third chunk is minor and wasn't connected to a bug, IIRC. > > -- > Mark A. Hillebrand Saarland University > Computer Science Department Institute for Computer Architecture > Phone: +49 (0)681 302 2036 Fax: 49 (0)681 302 4290 > Email: [EMAIL PROTECTED] WWW: http://www-wjp.cs.uni-sb.de/ > > > > ----- End forwarded message ----- > > -- > Rafael > > > -- System Information: > Debian Release: 3.1 > APT prefers unstable > APT policy: (500, 'unstable'), (500, 'testing') > Architecture: i386 (i686) > Kernel: Linux 2.6.8-1-686 > Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) > > Versions of packages fig2sty depends on: > ii perl 5.8.4-8 Larry Wall's Practical > Extraction > > -- no debconf information > -- Mark A. Hillebrand Saarland University Computer Science Department Institute for Computer Architecture Phone: +49 (0)681 302 2036 Fax: 49 (0)681 302 4290 Email: [EMAIL PROTECTED] WWW: http://www-wjp.cs.uni-sb.de/
XFig_bug.fig
Description: application/xfig
XFig_bug2.fig
Description: application/xfig