dashed line type pdf problem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Undecided
|
Unassigned | ||
libcairo |
Fix Released
|
Medium
|
|||
inkscape (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
under certain circumstances, dashed lines extend beyond end of segment in pdf but look ok on screen.
Steps to reproduce:
1) Use Bezier/Line Tool to draw "W"
2) Change line type to dashed (I used #18 in select)
3) draw solid circle
3) save as pdf "via Cairo"
line segments render correctly when circle is removed.
This is with 0.46 on ubuntu gutsy.
-------
frm@ws1:
ii inkscape 0.46-0ubuntu2~
rc libcairo-java 1.0.3-0ubuntu4 CAIRO bindings for Java
ii libcairo-perl 1.041-1 Perl interface to the Cairo graphics library
ii libcairo2 1.4.10-1ubuntu4.4 The Cairo 2D vector graphics library
ii libcairo2-dev 1.4.10-1ubuntu4.4 Development files for the Cairo 2D graphics
ii libcairomm-1.0-1 1.2.4-2 C++ wrappers for Cairo (shared libraries)
Changed in libcairo: | |
status: | Unknown → Confirmed |
Changed in libcairo: | |
status: | Confirmed → Fix Released |
tags: | added: pdf |
Changed in libcairo: | |
importance: | Unknown → Medium |
Changed in libcairo: | |
importance: | Medium → Unknown |
Changed in libcairo: | |
importance: | Unknown → Medium |
Sorry we've never replied here.
I just tested this with cairo 1.6.2 and it appears to be working just fine.
That is, with 1.6.2, we don't use fallbacks anymore for the gradients, so the bug is hidden.
I think the bug is likely still present with dashed lines and fallbacks, but it's going to be harder to hit, (since in 1.6 getting fallbacks in cairo-pdf is much harder).
So please upgrade to 1.6 and see if that doesn't fix your problems.
In the meantime, I'll leave this bug open so we can look into the "mis-sized dashing with PDF and fallbacks" issue.
-Carl