After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 688689 - font-style="normal" ignored as an attribute of a tspan
font-style="normal" ignored as an attribute of a tspan
Status: RESOLVED FIXED
Product: librsvg
Classification: Core
Component: general
2.34.x
Other Linux
: Normal normal
: ---
Assigned To: librsvg maintainers
librsvg maintainers
Depends on:
Blocks:
 
 
Reported: 2012-11-19 23:57 UTC by paolo
Modified: 2015-08-04 15:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
an svg file with tspan/roman inside a text/italica (703 bytes, image/svg+xml)
2012-11-19 23:57 UTC, paolo
  Details
how the previous .svg file should look like (1.20 KB, image/png)
2012-11-19 23:58 UTC, paolo
  Details
a patch to rsvg-css.c for including the case text-style="normal" (496 bytes, patch)
2012-11-19 23:59 UTC, paolo
accepted-commit_now Details | Review

Description paolo 2012-11-19 23:57:01 UTC
Created attachment 229424 [details]
an svg file with tspan/roman inside a text/italica

When a <text> tag has attribute font-style="italic", it should be possible to include segments of roman characters using <tspan font-style="normal">. From an inspection of the source code, it seems that librsvg ignores the value "normal" in the attribute font-style.
Comment 1 paolo 2012-11-19 23:58:12 UTC
Created attachment 229425 [details]
how the previous .svg file should look like
Comment 2 paolo 2012-11-19 23:59:37 UTC
Created attachment 229426 [details] [review]
a patch to rsvg-css.c for including the case text-style="normal"