Resvg doesn't have any UI, so there's no "Resvg font selector" or anything like that. The font dialog support in Qt is primarily meant for use with Qt UI elements, and all of the fonts listed can be set as screen fonts for its UI. If I had any good ideas how to handle it better, I would, but attempts to filter the font list so it doesn't include incompatible fonts were a bust. PS: also add the dog-tag, I think I have seen this question before. If the font chosen is a bitmap font, a Type 1 PostScript font, or any other format not supported by SVG, embedding it won't make any difference. But available and usable are different things, when the font's not an OpenType-compatible format. All of the fonts listed in the font selector dialog (my theory is that B-V-S isn't listed, for ) should be installed fonts, so there'd be no need to embed them because they'd already be available to the renderer. Wouldn't help us anyway, when it comes to incompatible fonts. (Font embedding in SVG exists too (by binary encoding in base), but from what I read about it, it is mostly theoretical, a practical nightmare, legally dubious and incompatible with everything) It isn't packaged on many Linux distributions yet, so it isn't always available. However, Resvg is written in Rust, a relatively new language, and it's got a lot of dependencies. QtSVG was intended only for rendering simple things like icons, so it only supports a limited subset of the SVG featureset. Resvg was added because it's a far superior renderer. OpenShot's SVG rendering is handled by the Resvg library, if libopenshot has been built with Resvg. Inkscape was used to create the templates, and they can be loaded into it for editing, but it doesn't render the SVG for the timeline. Would it be desirable if Openshot can use those fonts too if Inkscape is used for templates? ![]() And if a system's fonts are configured weird, things may look really out of whack.Īlso Inkscape has the option of a custom font dir in version 1 now. The concern there, however, is that titles using "sans" aren't going to look the same on every system. What we probably should do is change the initial font in the rest of the templates to just "sans" (which a few of them already use), as that name should be aliased to something on every system. That's also why changing the default to Ubuntu instead of BVS wouldn't work - it's just as unavailable unless it's been installed. ![]() Most Linux distributions remove bundled fonts during packaging, expecting applications to work off of system fonts under user/theme control, rather than forcing their own choices.) (If the font is part of the installation. ![]() Ubuntu, OpenShot will load directly from the bundled font file for use in its interface. It wouldn't work in the sense that it would have to be installed to be used by the SVG renderer. If a font is default, then should it not be bundled with Openshot like the Ubuntu font, or would that not work? (And most likely Bitstream Vera Sans just isn't installed on your system Yeah, Bitstream Vera Sans is the default font in most of the templates (the ones that don't use simply "sans"), The log files (as they can become quite large). Log files can be found in your HOME/.openshot_qt/ folder. If you are experiencing a crash, please collect and attach logs of the problem. Operating System / Distro: Linux Mint 19.3 Cinnamon (4.4.8).OpenShot Version: 2.5.1, libopenshot: 0.2.5.If specific desired font is missing, a fallback should probably be found. Nonexistent fonts shouldn't be selected to start with. What's all the weirder is that it seems like it defaults back to Bitstream Vera Sans every time I switch templates, so the text disappears again - even though if I go to change font, it lists Ubuntu/Italic/12 and if I say Save, the text appears. Warning (in usvg::convert::text::convert:370): No match for 'URW Bookman L' font-family. Warning (in usvg::convert::text::convert:370): No match for 'URW Chancery L' font-family. ![]() If I try some different ones, some work, but for others I get Warning (in usvg::convert::text::convert:370): No match for ''Bitstream Vera Sans'' font-family. If I start OpenShot in Terminal, I can see that it's giving this error: I'm fairly sure text is supposed to appear in the preview box, and in the image when I save it, but I'm just not seeing any at all.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |