[gl2ps] shape-rendering in svg output

Christophe Geuzaine cgeuzaine at ulg.ac.be
Tue Oct 25 21:14:06 CEST 2016


Indeed - looks better! Patched.

Thanks,

Christophe

> On 23 Sep 2016, at 16:19, Pantxo Diribarne <pantxo.diribarne at gmail.com> wrote:
> 
> 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 
> <baseline.patch>_______________________________________________
> gl2ps mailing list
> gl2ps at geuz.org
> http://www.geuz.org/mailman/listinfo/gl2ps

-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine

Free software: http://gmsh.info | http://getdp.info | http://onelab.info