-
Notifications
You must be signed in to change notification settings - Fork 544
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Titles made in Inkscape do not render in Openshot the same #5115
Comments
To ensure that the font in Inkscape appears in OpenShot, you may convert the text to an object using paths. Once the text is an object, you can save your file and close Inkscape, and the image will import to OpenShot as a title. |
Another trick, you can rasterize the vector SVG file - and export it from Inkscape as a High DPI PNG file. This will import into OpenShot with pixel perfect accuracy. Regarding the SVG rendering differently, we use a different SVG library than Inkscape called ReSvg (https://github.com/RazrFalcon/resvg). It is possible that a bug in ReSVG is causing the rendering issue, and it would probably be very useful to file an issue with this library, and attach your example SVG file there. Fixing it upstream in ReSVG will eventually work it's way back to OpenShot. Thanks! |
So, in the process of making sure this issue has a valid documented workaround, the options are in Inkscape to
I'll log bugs with the ReSVG library about these issues. |
Logged as linebender/resvg#591 |
RazrFalcon came back with
|
I experienced a similar issue, where bolded Chinese characters in Inkscape don't appear in Openshot at all: However, I used the above suggested workarounds by @sc0nway and @jonoomph, and they worked!
I would still very much prefer if this issue is fixed. Whether or not this is due to Inkscape, Openshot, or Qt, or others, I have no clue. |
Hello @Melonadev. Are you creating your text outside of Openshot and then importing it in or are you creating a Title inside of Openshot using the Title template and then leveraging the "Use Advanced Editor" which uses Inkscape? I ask because if you do the latter ("Use Advanced Editor"), what happens when you create you text, regardless of language, by default it is in Black color. When you save the text file and you come back into Openshot the canvas is black so you can not see the text. if you picked a different color than Black when in Inkscape, the text shows up just fine in Openshot. However, this doesn't address the other issue mentioned in the original email about some fonts not rendering the same in Openshot when created in Inkscape. And as @jonoomph (lead developer) indicated that this issue resides in ReSvg (see threads above for more details) and when that is fixed, then Openshot will be fixed as well. |
@Colorjet3, I opened a ticket with ReSvg and they responded that the issue is with OpenShot. You can see the ticket I logged with them in https://github.com/RazrFalcon/resvg/issues/. |
@jonoomph Please check this out. |
@Colorjet3 The first. I created the text outside of Openshot, then imported it into Openshot. |
@Melonadev Thank you for that information. Please create another text image using Inkscape but this time pick a different color for the text. I just created a text image using Inkscape (not from withing Openshot). I added two lines of text. The first line I kept it the default Black color. The 2nd line I changed the color to Red. when I import the image into Openshot and drag onto a track, I do not see the first line in the Preview but do see the 2nd line. Is this what is happening to you? |
@Colorjet3 Sorry for the insanely late reply! As of right now, both lines are displayed, as they should be. (white background made in GIMP and imported into Openshot) |
Hello, So this is weird. I'm using OpenShot 3.1.1 with AppRun due to #5360 and it's rendering the mostly SVGs correctly (still some errors). This is the same version I ran from the PPA that I've been using since last year. It might be something on Ubuntu 23.10 that's updated that's a dependent library, or just plain magic. James. |
I've just tried Openshot 3.2.0. The .AppImage version renders svg titles as I had above, mostly correctly. But the .deb version from the official repo does not display the titles, which is what I originally reported. So there's something that is different in the way they're built that's the issue here. |
Describe the bug:
When creating a title or title template in Inkscape, I use a specific Font and Stroke Style to create a thick border with my text.
But when using this in Openshot, the thick border is not rendered and the font weight is not the same.
I used the steps in https://logosbynick.com/outline-text-with-inkscape/ to create the outline.
Here I'm using Roboto Slab Black or bold, a very heavy set font.
Steps to reproduce the behavior:
Expected behavior:
The imported .svg should look the same as what we saw in Inkscape.
System Details:
OpenShot Version: 3.0.0 - although the about dialog still says version 2 is the next generation
Operating System / Distro:
The text was updated successfully, but these errors were encountered: