We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
hello :)
wondering if the converter supports text or Im doing something wrong :|
have this svg that I create in the code, so in the end I have the svg string.
canvas := svg.New(&buf) canvas.Start(width, height) canvas.Text(width/2, height/2, "aloha, SVG", "text-anchor:middle;font-size:30px;fill:white") canvas.Circle(width/2, height/2, 100, "fill: green") canvas.End()
the svg looks like this:
but when Im running the repo code to generate a png, I get only a circle.
So want to make sure if text is supported, as it mentions in the readme that not all svg options are available.
The text was updated successfully, but these errors were encountered:
That is correct, text is not supported. Of course if you make a path representing a letter you can use that. In fact you can pull that info from most scalable font formats, but for now text is not directly supported. See https://github.com/srwiley/oksvg/blob/master/doc/SVG_Element_List.txt
Sorry, something went wrong.
Partial support for text in one of the forks: raykov#4
Related closed PRs in this repo: #30, #37
No branches or pull requests
hello :)
wondering if the converter supports text or Im doing something wrong :|
have this svg that I create in the code, so in the end I have the svg string.
the svg looks like this:
but when Im running the repo code to generate a png, I get only a circle.
So want to make sure if text is supported, as it mentions in the readme that not all svg options are available.
The text was updated successfully, but these errors were encountered: