[cairo-bugs] [Bug 104042] text failing to display on SVG and X11 surface even though it works correctly on PDF and PS surfaces
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Dec 28 13:02:02 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=104042
--- Comment #4 from Uli Schlachter <psychon at znc.in> ---
Oh, sorry for misinterpreting your script.
I don't have much clue about SVGs either, but on cairo git/master, the
test1.svg actually does contain some drawing, but it is just not visible. (With
debian's libcairo2 1.15.8-3 the SVG looks quite empty in a text editor.) To
make that drawing visible, it is enough to get rid of the "just use the alpha
component"-filter. Specifically replacing
<g id="surface5" clip-path="url(#clip1)" filter="url(#alpha)">
in test1.svg with
<g id="surface5" clip-path="url(#clip1)">
makes the text visible. (The "clip1" reference seems to point into nowhere, by
the way, there is no such path in the file, I think.)
I'll leave the details of what this means to someone with some knowledge about
SVGs. Perhaps chromium just does not support this filter correctly?
In the meantime, I'll modify your example for cairo-xcb / cairo-xlib and
investigate what is going on there.
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo-bugs/attachments/20171228/c85a04bb/attachment.html>
More information about the cairo-bugs
mailing list