Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
cairo.1837
cairo-render-thin-lines.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cairo-render-thin-lines.patch of Package cairo.1837
diff --git a/src/cairo-pen.c b/src/cairo-pen.c index 61be0e8..8eed775 100644 --- a/src/cairo-pen.c +++ b/src/cairo-pen.c @@ -284,7 +284,20 @@ _cairo_pen_vertices_needed (double tolerance, radius); int num_vertices; - if (tolerance >= 4*major_axis) { /* XXX relaxed from 2*major for inkscape */ + if (tolerance >= 100*major_axis) { /* XXX relaxed from 2*major for inkscape */ + /* + * When we decide for num_vertices = 1, the object is not drawn. + * To avoid https://bugs.freedesktop.org/show_bug.cgi?id=77298 + * we use 100*major -- this just helps us to the 0.001mm line width. + * + * The author of the 'XXX relaxed' comment above, originally used 4*major, + * which is not sufficient for my inkscape lasercutter usecase. + * + * Please double check if num_vertices == 1 should never be done (for PDF). + * + * jnweiger@gmail.com + */ + // fprintf(stderr, "tolerance=%g major_axis=%g -> num_vertices = 1\n", tolerance, major_axis); num_vertices = 1; } else if (tolerance >= major_axis) { num_vertices = 4;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor