[metapost] some question about pens

Taco Hoekwater taco at elvenkind.com
Fri Apr 4 09:53:08 CEST 2008


Stephan Hennig wrote:
>> Perhaps it is worth filing a bug report to the gs people. Xpdf is also
>> a little bit off, but that is nothing compared to the massive gs
>> deviation.
> I wouldn't want to during the next four weeks, so, I wouldn't mind if
> anybody else did that sooner.

I am hesitant to file a bug report because I already have so much
other stuff to do, but attached is a handwritten EPS that shows
the bug. It even gives some insight into the cause: it seems that
ghostscript applies the pen *after* digitizing the path.

You can increase|decrease the quality of the view by altering the
'setflat' value. The "chunkyness" of path itself is on purpose,
but the non-horizontal endings and the serrated top edges that
sometimes appears are both wrong.

For those of you without ghostscript, I have also attached a
screenshot (gv runs ghostscript 8.15.3, so the bug is not as new
as all that).

Best wishes,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: setflat-bug.eps
Type: image/x-eps
Size: 251 bytes
Desc: not available
Url : http://tug.org/pipermail/metapost/attachments/20080404/f561308f/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: setflat-bug.png
Type: image/png
Size: 15789 bytes
Desc: not available
Url : http://tug.org/pipermail/metapost/attachments/20080404/f561308f/attachment-0001.png 

More information about the metapost mailing list