Describe the bug
Used Inkscape and created a .svg title file and imported into project. During preview, the Arrowheads on my lines don't show up. But the lines do.
System Details:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Arrowhead should show.
additional info
I'm not well versed in these programs. But I did watch some videos that showed me how to do this. Seems like a very simple thing.
Note: I did search for this bug on Google and found this webpage listing the issue. https://bugs.launchpad.net/openshot/+bug/1625033
This comes down to a limitation of the built-in Qt renderer that's currently used to display Title SVG files. QtSVG is a fairly simple renderer (by design), with support for only a limited subset of SVG features. Stroke marker styles is apparently not among them.
Contributor @N3WWN has been working on adding optional support for a new, more capable SVG renderer, ReSVG, to the libopenshot library at the heart of OpenShot. (That work is libopenshot PR #143.) Once it's available, versions of OpenShot which have been built with ReSVG will do a vastly better job displaying titles in the same manner they were designed.
Unfortunately, because the current limitation is in the QtSVG renderer itself, there's nothing we can do to fix the _existing_ title rendering. Qt does not consider QtSVG's shortcomings to be a defect, as they never intended it to be a full-featured SVG renderer.
So, as things stand right now, the only solution is to avoid using unsupported SVG features like stroke marker styles, when creating OpenShot title files. If the arrowheads are a critical part of the design and can't be omitted, you could try creating them yourself as vector graphic objects placed at the ends of the lines. That way they should render properly in the titles.
Afraid for right now that's the best we can offer, due to the limitations of the QtSVG library. Sorry!
Closing this as answered, as a dup of other issues regarding SVG renderings, and as fix is in progress.
Looks like this isn't just a limitation of the preview. I went ahead and used a blur effect behind my words to create a better contrast. Then I exported my video and openshot ignored the blur effect. :-(
It's definitely not just the preview. As I said, it's a limitation of the SVG renderer itself. QtSVG only supports the SVG Tiny spec, a restricted subset of SVG.
According to Adobe Illustrator Help -- Saving artwork: Save in SVG format, SVG Tiny does not support gradients, transparency, clipping, masks, symbols, patterns, underline text, strike through text, vertical text, or SVG filter effects.
(Pretty sure Adobe's list is very out of date. They left out at least "markers", but OTOH certain simple gradients and basic alpha transparency _are_ supported. Their power/flexibility is greatly reduced in SVG Tiny, though.)
Makes me wonder if I should use a different format? (I'm a newbie, just trying to make this wood building tutorial look nice lol)
@Hunteil - Maybe make what you need in SVG and export to png?
Most helpful comment
This comes down to a limitation of the built-in Qt renderer that's currently used to display Title SVG files. QtSVG is a fairly simple renderer (by design), with support for only a limited subset of SVG features. Stroke marker styles is apparently not among them.
Contributor @N3WWN has been working on adding optional support for a new, more capable SVG renderer, ReSVG, to the
libopenshotlibrary at the heart of OpenShot. (That work is libopenshot PR #143.) Once it's available, versions of OpenShot which have been built with ReSVG will do a vastly better job displaying titles in the same manner they were designed.Unfortunately, because the current limitation is in the QtSVG renderer itself, there's nothing we can do to fix the _existing_ title rendering. Qt does not consider QtSVG's shortcomings to be a defect, as they never intended it to be a full-featured SVG renderer.
So, as things stand right now, the only solution is to avoid using unsupported SVG features like stroke marker styles, when creating OpenShot title files. If the arrowheads are a critical part of the design and can't be omitted, you could try creating them yourself as vector graphic objects placed at the ends of the lines. That way they should render properly in the titles.
Afraid for right now that's the best we can offer, due to the limitations of the QtSVG library. Sorry!