[gs-bugs] [Bug 692724] Question from customer

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Tue Dec 6 22:45:25 UTC 2011


http://bugs.ghostscript.com/show_bug.cgi?id=692724

--- Comment #2 from Ray Johnston <ray.johnston at artifex.com> 2011-12-06 22:45:25 UTC ---
The PS code snippet that Marcos included does work as stated in that it
modifies the 'stroke' operator to set a lower bound on the stroked line
width. As mentioned in the comment, the problem is that even if a page looks
like it is only lines, it may actually be painted other ways (image, fill,
show, etc.) and those areas will not be affected.

In engineering drawing, it is not uncommon for "symbols" such as arrowheads
on dimension lines or even circular or hexagonal "note" outlines that have
a number inside to be images. Also many time what looks like stroke text is
may be a font that has narrow stems or even PaintType 2 (stroked). For
PaintType 2 the StrokeWidth determines the width of the stroke and may be
set by the PS file.

BTW, this patch can be inserted into gs_init.ps (in Resource/Init), and I
recommend that it go in the section where '/setlinejoin' and '/setmatrix'
are defined (just above /setmatrix keeps it alphabetical).

Given the caveats above, I have had no problems reported for this patch used
with files that use only 'stroke' for lines.

Usage, is to use -d.MinPixelLineWidth=___  as an option where ___ is 2, 3, ...

-- 
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gs-bugs mailing list