Description: I designed a SVG simple file, with stripped lines inside. LibreOffice (Writer and Draw) are not able to show the filled pattern. Steps to Reproduce: 1.Insert "Rotulo.svg" in any new Impress or Draw document Actual Results: SVG content is incomplete Expected Results: To show all SVG content Reproducible: Always User Profile Reset: No OpenGL enabled: Yes Additional Info: INKscape, Firefox, Chrome, Edge show correctly this SVG content LibreOffice and Scribus DON'T show correctly this SVG content Version: 7.3.4.2 / LibreOffice Community Build ID: 30(Build:2) CPU threads: 8; OS: Linux 5.18; UI render: default; VCL: kf5 (cairo+xcb) Locale: es-ES (es_ES.UTF-8); UI: es-ES Calc: threaded
Created attachment 181135 [details] Simple SVG with text filled with stripped bars Visible correctly in Firefox, Chromium, Edge for Linux Incorrectly displayed in LibreOffice, Scribus Correctly displayed and editable in Inkscape
Comment on attachment 181135 [details] Simple SVG with text filled with stripped bars Incorrectly displayed in LibreOffice and Scribus Correctly displayed in any web browser and Inkscape.
Reproduced in Version: 7.5.0.0.alpha0+ / LibreOffice Community Build ID: e4066a41406b1ddd454901b4fa718cf9be2746c4 CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3 Locale: es-ES (es_ES.UTF-8); UI: en-US Calc: threaded and Version: 6.4.0.0.alpha1+ Build ID: 9bc848cf0d301aa57eabcffa101a1cf87bad6470 CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3; Locale: ja-JP (es_ES.UTF-8); UI-Language: en-US Calc: threaded
The problem seems to be the path inside the pattern
Actually the problem is with the reference naming fill='url("#rough-1609495203056042")' it works if it's changed to fill='url(#rough-1609495203056042)' taking
Created attachment 181140 [details] As it is showed removing quotation marks Screenshot showing attached SVG file as it is showed in LibreOffice after applying the workaround of removing quotation marks on that line.
Fix in gerrit : https://gerrit.libreoffice.org/c/core/+/136847 Regarding the black lines, that is another issue
Ok, thank you. Maybe is a "black background" ....
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/d291957dce7a5af17717125cce974a2d2dd9d5b0 tdf#149880: handle url when it's inside the quotation marks It will be available in 7.5.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Xisco Fauli committed a patch related to this issue. It has been pushed to "libreoffice-7-4": https://git.libreoffice.org/core/commit/460d3689956410d8e2d03cf3fe29ab570e24e865 tdf#149880: handle url when it's inside the quotation marks It will be available in 7.4.0.0.beta2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Just FTR: SVG spec defines that the <paint> type [1] (the value of fill attribute) uses <url> type as defined in CSS [2]; and the latter explicitly shows the *quoted* syntax in the first example, and describes the unquoted syntax as "alternative". [1] https://www.w3.org/TR/SVG/painting.html#SpecifyingPaint [2] https://www.w3.org/TR/css3-values/#url-value
Also note that the 'readLocalUrl' is not standard-copliant even after the fix. The relevant standard procedure is described in 'Consume an ident-like token' [1] and 'Consume a url token' [2], and includes case-insensitive "url" literal match; consuming up to three whitespace characters (having a strictly specified set of codepoints) between opening parenthesis and the quotation marks (and unlimited whitespace before unquoted url token); and allowing apostrophe as quotation mark. [1] https://www.w3.org/TR/css-syntax-3/#consume-an-ident-like-token [2] https://www.w3.org/TR/css-syntax-3/#consume-a-url-token
(In reply to Xisco Faulí from comment #7) > Fix in gerrit : https://gerrit.libreoffice.org/c/core/+/136847 > Regarding the black lines, that is another issue The other issue is reported in bug 149890
(In reply to Mike Kaganski from comment #12) > Also note that the 'readLocalUrl' is not standard-copliant even after the > fix. The relevant standard procedure is described in 'Consume an ident-like > token' [1] and 'Consume a url token' [2], and includes case-insensitive > "url" literal match; consuming up to three whitespace characters (having a > strictly specified set of codepoints) between opening parenthesis and the > quotation marks (and unlimited whitespace before unquoted url token); and > allowing apostrophe as quotation mark. > > [1] https://www.w3.org/TR/css-syntax-3/#consume-an-ident-like-token > [2] https://www.w3.org/TR/css-syntax-3/#consume-a-url-token My take to it: https://gerrit.libreoffice.org/c/core/+/136877
Xisco Fauli committed a patch related to this issue. It has been pushed to "libreoffice-7-3": https://git.libreoffice.org/core/commit/4cf8c7e715fa9d1d142b86af9735eb6d5125ac84 tdf#149880: handle url when it's inside the quotation marks It will be available in 7.3.6. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
I didn't receive emails from this thread I opened so I don't test it till now. I confirm now is fixed in latest LibreOffice release. Thank you