Hello,
While importing some .eps files into MS Office 2003, I have experienced a few
odd behaviour of its import filter (epsimg32.flt). For instance, the filter
places a dot at the end of each linewidth label when the output image of test
command without the enhanced mode enabled is imported. Some odd dots can also
be observed while importing the output image of the following commands:
set term postscript noenhanced ; set yrange [0:1]
plot for [i=0:47] 1/0 title sprintf("%i", i) with point pointype i
in which the unexpected dots appear periodically at the end of the labels
showing 0, 9, 18... ; in fact, the labels followed by the LT0 procedure. When
the range of i is extended to 75 to include symbol 48-63, the import filter
even fails to open the .eps file. In addition, the filter is unable to do the
right- and centre-justify correctly while inserting the output of
enhanced-utf8.dem without setting enhanced
(http://gnuplot.sourceforge.net/demo/enhanced_utf8.html).
After tweaking the prologue, the problem of the unexpected dots can
seemingly be solved by appending "currentpoint moveto" to the ifelse operator
in the procedures of Lshow, Rshow and Cshow. The workaround for opening the
file containing symbol 48-63 is to add "0 0 moveto" to the end of "45 rotate"
in the procedures of D0-D15. For the case of right- and centre-justify, using
"currentpoint" and "moveto" to bracket the "6 array ... setmatrix" in the
Gwidth procedure seems to do the trick.
As being a gnuplot novice, I wonder if anyone has a similar experience in
this regard, and would be grateful if other bugs related to MS Office .eps
image filter are able to be shared.
Thanks!
Chia-Long
|