-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate Inkscape's mishandling of tiler output #2
Comments
Stripping all In the affected files, Inkscape's symbols pane shows elements from multiple symbols in each symbol. On the hypothesis that Inkscape expects each symbol to contain a single element, I added a group inside the symbol enclosing all the nested elements. This did not fix the problem either. |
Looking at Inkscape's SVG output after creating a symbol and some uses of it, Inkscape nests the symbols in a |
With no references to the symbols, Inkscape renders an empty document. With even a single reference, Inkscape renders the referenced symbol, plus the symbols themselves (even though I'm giving up on this for now; we'll come back to it later if we really need Inkscape rendering. |
The issue seems to occur when the included files contain elements that should be clipped away by their |
Inkscape doesn't handle (some) outputs of the tiler very well, typically duplicating each element dozens of times at varying offsets from their actual locations. This will be a problem for us if we want to use Inkscape's PDF+LaTeX export functionality to get nice-looking text.
My current hypothesis is that Inkscape gets confused by its own
sodipodi
-namespaced metadata, which it may not expect to survive enclosure in a<symbol>
. (I can't reproduce the bug on files not containingsodipodi
metadata, but I haven't tried very hard.)If removing that metadata doesn't fix the problem, we should find an XML testcase reducer and find minimal tiler outputs that make Inkscape's rasterization differ from rsvg-convert's by more than N%.
The text was updated successfully, but these errors were encountered: