Summary: | SVG: Support for missing font glyph not implemented | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | eisa01 <eisa01> |
Component: | filters and storage | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | xiscofauli |
Priority: | medium | Keywords: | filter:svg |
Version: | Inherited From OOo | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 88278 | ||
Attachments: |
SVG file
Correct rendering in Safari Wrong rendering in LibreOffice how it's displayed in firefox and chrome |
Description
eisa01
2017-10-28 20:47:41 UTC
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 |