Bug 97576 - INSERT: SVG font glyphs ignored
Summary: INSERT: SVG font glyphs ignored
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
4.0.6.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:svg
Depends on:
Blocks: SVG-Import
  Show dependency treegraph
 
Reported: 2016-02-04 16:15 UTC by Yousuf Philips (jay) (retired)
Modified: 2022-11-24 06:45 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
screenshot of all 4 SVG files in LO (96.32 KB, image/png)
2016-02-04 16:15 UTC, Yousuf Philips (jay) (retired)
Details
corresponding font for reference (438.39 KB, application/zip)
2022-11-23 07:16 UTC, Stéphane Guillou (stragu)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2016-02-04 16:15:33 UTC
Created attachment 122387 [details]
screenshot of all 4 SVG files in LO

Steps:
1) Open Writer
2) Insert each of the following SVGs one after the other
 https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/DroidSerif-Regular.svg
 https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/DroidSerif-Italic.svg
 https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/DroidSerif-Bold.svg
 https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/DroidSerif-BoldItalic.svg
3) Notice that they all look identical when opening these same files in a browser wont

The SVG file defines glyphs for each character and LO instead utilizes the font file located on a user's computer.

Version: 5.2.0.0.alpha0+
Build ID: 513d5c5781ec14f8512432f31290a3d54c8d57df
CPU Threads: 2; OS Version: Linux 4.2; UI Render: default; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2016-02-01_10:25:20
Locale: en-US (en_US.UTF-8)
Comment 1 Regina Henschel 2016-02-09 19:56:01 UTC
SVG fonts are not supported yet. The specification of SVG fonts is in https://www.w3.org/TR/SVG/fonts.html.
Comment 2 Roman Kuznetsov 2018-06-19 19:54:38 UTC
still repro in 6.1 beta 2
Comment 3 Stéphane Guillou (stragu) 2022-11-23 07:16:59 UTC
Created attachment 183728 [details]
corresponding font for reference

The linked specification is now obsolete: https://www.w3.org/TR/SVG/fonts.html
Quoting: "The elements that were defined in this chapter are now obsolete. The CSS Fonts Module defines how to specify fonts for documents including SVG."

The example files in this report use the SVG 1.0 spec.

Does it mean we should be closing this as "Won't Fix"? Or do we still want to be able to be compatible?

Inkscape 1.2 doesn't display the four files differently either.
Comment 4 ⁨خالد حسني⁩ 2022-11-24 06:45:22 UTC
(In reply to Stéphane Guillou (stragu) from comment #3)
> Created attachment 183728 [details]
> corresponding font for reference
> 
> The linked specification is now obsolete:
> https://www.w3.org/TR/SVG/fonts.html
> Quoting: "The elements that were defined in this chapter are now obsolete.
> The CSS Fonts Module defines how to specify fonts for documents including
> SVG."
> 
> The example files in this report use the SVG 1.0 spec.
> 
> Does it mean we should be closing this as "Won't Fix"? Or do we still want
> to be able to be compatible?

Yes, SVG fonts are long obsolete and even browsers that supported them once dropped such support.