Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

tried importing .svg in godot, but it seems the letters don't import properly (import is blank), not that it's a deal breaker but just a notice


thanks for the asset

(1 edit)

hello, do the buttons themselves show up? If they do, I wonder if it's because the letters were done with Inkscape's tools.

It could be because the glyphs are text, and the text depends on the system having the Poppins font. Try installing the font on your system, or install it to Godot if that's possible.

If you debug it or explore further, feel free to open an issue on the Github linked in the description!

Here's Mozilla's docs on text elements: https://developer.mozilla.org/en-US/docs/Web/SVG/Element/text

SVG text elements need the font:

font-family:Poppins

Try installing Poppins (it has an Open Font License). It looks like Godot has some font system itself, but I don't know much about game engines.


Alternatively, if you don't want to depend on Poppins, you could convert the text elements to a path (but that would be laborious.)

(2 edits)

library that godot uses for svg, doesn't support text and fonts

https://github.com/thorvg/thorvg#svg

for engine ready svg prompts, you could vectorize all font elements (convert into paths)

That's unfortunate. I'll look into vectorization and add it to the issue tracker on GitHub