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 790700 - Exporting shape with text: font-size should be inside style
Exporting shape with text: font-size should be inside style
Status: RESOLVED OBSOLETE
Product: dia
Classification: Other
Component: shapes
0.97.x
Other Windows
: Normal normal
: ---
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2017-11-22 09:34 UTC by Gideon
Modified: 2019-03-20 12:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gideon 2017-11-22 09:34:47 UTC
TLDR: font-size property in the svg:text tag should be moved to the style property for Dia to properly load the shape.

When exporting a Dia shape containing text, importing the shape into Dia again, nothing is shown. In the shape file, the svg:text tag contains a font-size property. However, it works properly when removing this property, and adding it to the style property instead (e.g. <svg:text style="font-size:0.8;" ... >my text</svg:text).

The Dia shape exporter should be changed to put the font-size in the style property in stead of its own property within the svg:text tag.
Comment 1 GNOME Infrastructure Team 2019-03-20 12:12:16 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/dia/issues/393.