Subject: | bug in images management |
Distribution name: RTF-Writer-1.09
Perl version: perl, v5.8.0 built for i586-linux-thread-multi
Operation system: Linux tb-cms 2.4.19-4GB #1 Mon Oct 14 22:11:39 UTC 2002 i686 unknown
image() function returns incorrect result: one opening curly bracket is missing. That follows to damaged RTF files. MS Word ignores the rest of file after image, attached in such way. image_paragraph() works fine, 'cause it contains this opening bracket.
There is a fix: file Writer.pm
line 412: my $out = "\\pict\n$declcode";
must be: my $out = "{\\pict\n$declcode";
Please include the following update to next version.