Bug 391703 - Some SVG elements are not displayed correctly
Summary: Some SVG elements are not displayed correctly
Status: REPORTED
Alias: None
Product: karbon
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Jan Hambrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-11 09:47 UTC by johan
Modified: 2022-12-28 13:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
example files (6.95 KB, application/octet-stream)
2018-03-11 09:47 UTC, johan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description johan 2018-03-11 09:47:35 UTC
Created attachment 111316 [details]
example files

Some elements of SVG files are not displayed correctly. Examples are attached.

example1.svg: The X-axis title text is not displayed in the correct location. 
If the texts are converted to paths (e.g. by using Inkscape), this problem does not occur.

example2.svg: Legend text colors are wrong.


Firefox can display both images without problems.


Karbon version is 2.9.11 on Debian Stretch.
Comment 1 Anthony Fieroni 2018-08-18 05:51:49 UTC
Yep, with current implementation every text shape can have a single position, when we see you example1.svg

<text
   id="text80"
   style="font-variant:normal;font-weight:normal;font-size:19.31209946px;font-family:ArialMT;-inkscape-font-specification:ArialMT;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
   transform="matrix(0.999973,0,0,-1,582.97,60.8988)"><tspan
     id="tspan76"
     y="0"
     x="0 10.814922">40</tspan><tspan
     id="tspan78"
     y="21.9125"
     x="-299.414 -286.86121 -280.10184 -269.48029 -260.01718 -255.38242 -245.33998 -240.12566 -234.13905 -229.31094 -224.09662 -219.46187 -208.06766 -202.85335 -197.48457 -186.05185">X-axis title [p]</tspan></text>

text has a 2 tspans with different positions which is not supported in current implementation in Karbon, it will be big effort to re-implement in such way.
Comment 2 Justin Zobel 2022-11-29 05:06:17 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 3 Bug Janitor Service 2022-12-14 05:13:00 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 johan 2022-12-28 13:48:20 UTC
I confirm that this bug still exists in Karbon 3.2.1 on Debian 11 Bullseye.