Bug 108562 - SVGIO: Add support for font feature settings in SVG
Summary: SVGIO: Add support for font feature settings in SVG
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
5.4.0.0.beta2
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:svg
Depends on: 58941
Blocks: SVG-Import
  Show dependency treegraph
 
Reported: 2017-06-16 08:30 UTC by Volga
Modified: 2022-11-25 17:14 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Here is the example I got from original source. (3.11 KB, image/svg+xml)
2019-06-21 03:30 UTC, Volga
Details
Here is the example I got from original source. (3.17 KB, image/svg+xml)
2019-06-21 05:17 UTC, Volga
Details
Here is the example I got from original source. (3.15 KB, image/svg+xml)
2019-06-21 05:23 UTC, Volga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Volga 2017-06-16 08:30:05 UTC
Description:
Inkscape developer have already announced they got support for font feature settings on planet.inkscape.org nearly 2 years ago, and it was already landed in Inkscape 0.92, making SVG images allowed to make use of font feature. Thus, if a SVG image isincluded font feature setting properties, LibreOffice should allowed to import them and making them presenting on screen.

Steps to Reproduce:
-

Actual Results:  
-

Expected Results:
-


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0
Comment 1 Xisco Faulí 2017-06-16 08:42:53 UTC
Could you please attach a svg file as an example ?
Comment 2 Volga 2017-06-17 00:41:24 UTC
OK, on Planet Inkscape I found example avaiable here:
http://tavmjong.free.fr/blog/wp-content/uploads/FONTFEATURES/font_variants_example.svg
Comment 3 Volga 2017-08-27 10:52:16 UTC
Hi Xisco,

Do you think LibreOffice can accept these attributes?
Comment 4 QA Administrators 2019-06-21 02:52:19 UTC Comment hidden (obsolete)
Comment 5 Volga 2019-06-21 03:30:07 UTC Comment hidden (obsolete)
Comment 6 Volga 2019-06-21 05:17:15 UTC Comment hidden (obsolete)
Comment 7 Volga 2019-06-21 05:23:26 UTC
Created attachment 152323 [details]
Here is the example I got from original source.

Note I added Linux Biolinum G font to make it works for you.
Comment 8 QA Administrators 2021-06-21 03:38:20 UTC Comment hidden (obsolete)
Comment 9 Stéphane Guillou (stragu) 2022-11-23 11:59:21 UTC
Linked SVG http://tavmjong.free.fr/blog/wp-content/uploads/FONTFEATURES/font_variants_example.svg renders well in Firefox 107.0, but not in a recent build of LO 7.5:

Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1435c5b12646269e2b5b58ec7d51626dce6505db
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 10 Stéphane Guillou (stragu) 2022-11-25 06:06:32 UTC
Note the example file uses a WOFF-encoded font in its CSS style. See also bug 135881.
Comment 11 Volga 2022-11-25 17:14:47 UTC
(In reply to Stéphane Guillou (stragu) from comment #10)
> Note the example file uses a WOFF-encoded font in its CSS style. See also
> bug 135881.

Although the example file uses a WOFF font, this bug is actually regardless of which font is used. By modifying <style> tag you can reproduce with local fonts. So this is not related to which font is lack of support but for something have not been supported to handle font feature in other file format.