[gl2ps] shape-rendering in svg output

Pantxo Diribarne pantxo.diribarne at gmail.com
Fri Sep 23 16:19:15 CEST 2016


Hi,

Currently the "shape-rendering" attribute is set to "crispEdges" for the
whole group of objects. This is very useful to avoid spurious anti-alaising
lines between rendered triangles, but it also forces lines and text to be
rendered jagged.
Is there a reason to disable anti-aliasing for all shapes or could this be
limited to triangles?

I attached a simple patch that disables anti-aliasing for triangles only
(not lines, not text).

Pantxo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gl2ps/attachments/20160923/788853de/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: baseline.patch
Type: text/x-diff
Size: 1355 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gl2ps/attachments/20160923/788853de/attachment.patch>