-inkscape-font-specification should be removed

Bug #1324809 reported by Tavmjong Bah
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Wishlist
Unassigned

Bug Description

The -inkscape-font-specification property should be removed. While in theory it could be useful for tracking non-CSS compatiable font variants, in practice it just duplicates information already stored in the various font properties while making Inkscape code more complicated and Inkscape SVG output bigger. The CSS Fonts Module Level 3[1] offers an alternative way of handling font variants where the variants are kept together in the same font file.

Note, a lot of work has taken place to better handle font variants inside Inkscape since this property was added.[2] For example, Inkscape handles DejaVu Sans with 9 font variants properly.

[1] http://www.w3.org/TR/css3-fonts/
[2] https://bugs.launchpad.net/inkscape/+bug/169973 Orignal 'bug' report

jazzynico (jazzynico)
Changed in inkscape:
importance: Undecided → Wishlist
tags: added: code-design
Revision history for this message
Die HumbleX (diehumblex) wrote :

Removed font specification implementation wherever its not used otherwise

jazzynico (jazzynico)
Changed in inkscape:
status: New → Triaged
milestone: none → 0.93
Revision history for this message
Chris Papademetrious (chrispitude) wrote :

Adding my vote for this. The -inkscape-font-specification attribute breaks the SVG rasterizer in our documentation publication application (ePublisher by WebWorks).

Revision history for this message
Nathan Lee (nathan.lee) wrote :

Closing as part of bug migration to Gitlab, issue is now tracked in https://gitlab.com/inkscape/inbox/-/issues/4704

Changed in inkscape:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.