Description: SVG is not rendered correctly, it is supposed to be musical notes, but shows up as "W"'s and "&"'s This is the svg from bug 82221 Note: Firefox also renders this incorrectly, but Safari on Mac does correct Steps to Reproduce: Open in Draw or insert in Writer Actual Results: Image is rendered without musical notes Expected Results: Image is rendered with musical notes Reproducible: Always User Profile Reset: No Additional Info: Version: 6.0.0.0.alpha1+ Build ID: 15dce20e8b97dbd0179f01910ca4d0027e80ff4e CPU threads: 2; OS: Mac OS X 10.12.6; UI render: default; TinderBox: MacOSX-x86_64@49-TDF, Branch:master, Time: 2017-10-20_06:46:46 Locale: en-US (en_US.UTF-8); Calc: group User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Safari/604.1.38
Created attachment 137344 [details] SVG file
Created attachment 137345 [details] Correct rendering in Safari
Created attachment 137346 [details] Wrong rendering in LibreOffice
The notes aren't displayed in Firefox nor Chrome. it seems like a Safari bug.
It's not a Safari bug, the Safari rendering is correct. I had a look at the SVG code. It uses the "Maestro" font which is not installed on my system. As such it defines missing font glyphs to be used instead. This was part of the SVG standard but has been deprecated removed from SVG 2.0, and support has been removed from Firefox and Chrome. It's still valid SVG in the 1.1 version, so it's an open question whether LibreOffice should support it. I would say the standard for LibreOffice could be different than web browsers that try to be on the leading edge and rather implement web fonts. "When SVG was specified, support for web fonts was not widespread in browsers. Since accessing the correct font file is however crucial for rendering text correctly, a font description technology was added to SVG to provide this ability. It was not meant for compatibility with other formats like PostScript or OTF, but rather as a simple means of embedding glyph information into SVG when rendered." The SVG was created by MakeMusic 2014b.v4722, so you can encounter files with this in the wild. Some links with more info: http://caniuse.com/#feat=svg-fonts https://www.w3.org/TR/SVG/fonts.html#GlyphElement https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/SVG_fonts
Dear eisa01, The svg fiter was replaced by another one. Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
Still present This should probably be classified as an enhancement
I tried to open it in Inkscape, Chrome and LO -> all give the same wrong result. But I can't get right result, I don't have Safari.
Created attachment 148396 [details] how it's displayed in firefox and chrome
Considering LibreOffice displays it the same way Inkscape, firefox and chrome do it, I will close this issue as RESOLVED WONTFIX. Even if Safari displays it in a different way, it doesn't seem to be the general way this particular file is displayed. 4 vs 1