Bug 447684 - SVG files (exported from Inkscape) don't render correctly
Summary: SVG files (exported from Inkscape) don't render correctly
Status: RESOLVED WORKSFORME
Alias: None
Product: kdenlive
Classification: Applications
Component: Rendering & Export (other bugs)
Version First Reported In: 21.12.0
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2021-12-30 09:46 UTC by onetimer
Modified: 2025-02-03 03:47 UTC (History)
1 user (show)

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


Attachments
SVG file displaying incorrectly in Kdenlive's preview (74.11 KB, image/png)
2021-12-30 09:46 UTC, onetimer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description onetimer 2021-12-30 09:46:38 UTC
Created attachment 144957 [details]
SVG file displaying incorrectly in Kdenlive's preview

Typeset music score PDF, converted to SVG by Zamzar, edited and exported from Inkscape. None of the SVG files render correctly in Kdenlive, unless no music notes or music font (Bravura and Bravura Text version 1.392) are present.
https://imslp.org/wiki/File:PMLP457739-1_benjamin_godard_op116a_mine_blank.pdf
https://www.zamzar.com/convert/pdf-to-svg/

Reddit version of issue report:
https://www.reddit.com/r/kdenlive/comments/rf7lri/svg_files_dont_render_correctly/

View and download the SVG file here:
https://github.com/Melonadev/Pentameron-source-files/blob/master/Benjamin%20Louis%20Paul%20Godard/Suite%20de%20trois%20morceaux%2C%20Op.116/1.%20Allegretto/2-1.svg

STEPS TO REPRODUCE
1. Add the SVG file to Kdenlive project as Clips.
2. Create a Color Clip (any light colour will do).
3. Drag the SVG file into the timeline.
4. Drag the Color Clip into the timeline but below the SVG file.

OBSERVED RESULT
The music fonts do not seem to be recognised in the preview (or exported video), as seen in the attached file to this report (or in the Reddit post linked above).

EXPECTED RESULT
The SVG file appears exactly as it is.

SOFTWARE/OS VERSION
Linux: 5.15.8-76051508-generic
Operating System: Pop!_OS 21.10, 64-bit, GNOME 40.4.0

MLT Version: 7.3.0
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Issue also occurs in Ubuntu 21.10, 64-bit, GNOME 40.4.0 (Linux kernel information lost, sorry):
 - Kdenlive 21.08.3 (Snap platform installed via Ubuntu Software center), MLT version 7.2.0, KDE Frameworks 5.87.0, Qt 5.15.3 (built against 5.15.3)
 - Kdenlive 21.12.0 (AppImage via kdenlive.org/en/download), MLT version 7.3.0m, KDE Frameworks 5.81.0, Qt 5.14.2 (built against 5.14.2)
Comment 1 Julius Künzel 2022-09-17 11:05:38 UTC
Thanks for your report!

This is a known issue, that unfortunately is not easy to fix. Kdenlive uses Qt to render SVGs which has only basic SVG support, while Inscape uses very recent features of the SVG specification. The recommended workaround is to export a PNG out of Inkscape and use the PNG in Kdenlive.
Comment 2 emohr 2025-01-04 17:12:10 UTC
In the meantime, Kdenlive changes to QT6. Please try with the current Kdenlive AppImage version 24.12.0 to see if the issue is fixed https://kdenlive.org/en/download/
Comment 3 Bug Janitor Service 2025-01-19 03:47:36 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2025-02-03 03:47:03 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.