[pstricks] linewidth
Christoph Bersch
usenet at bersch.net
Tue Mar 5 13:03:17 CET 2013
Hi,
Am 04.03.2013 17:56, schrieb Patrice MÉGRET:
>
> \psline[linewidth=0pt,linestyle=dashed](1,1)
>
> When linestyle is ‘dotted’ and linewidth is 0pt nothing is displayed as
> I expect but when linestyle is ‘dashed’ or ‘solid’ with linewidth=0pt, a
> line is nevertheless drawn?
I do also see a line with dotted style.
> Is the normal behavior?
Yes, this is normal. Quoting the Postscript language reference
<www.adobe.com/products/postscript/pdfs/PLRM.pdf>:
setlinewidth (which is called when using the PSTricks linewidth parameter):
A line width of 0 is acceptable, and is interpreted as the thinnest line
that can be
rendered at device resolution—1 device pixel wide. However, some devices
can-
not reproduce 1-pixel lines, and on high-resolution devices, they are
nearly invis-
ible. Since the results of rendering such “zero-width” lines are
device-dependent,
their use is not recommended.
To suppress the line you must use linestyle=none.
Best regards,
Christoph
More information about the PSTricks
mailing list