Skip to content
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

default text/font rendering not working as expected. #41

Open
5achinJani opened this issue Oct 12, 2020 · 0 comments
Open

default text/font rendering not working as expected. #41

5achinJani opened this issue Oct 12, 2020 · 0 comments

Comments

@5achinJani
Copy link

below is my svg:

<svg
	xmlns="http://www.w3.org/2000/svg"
	xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate;" viewBox="0 0 1 1" version="1.1">
	<rect width="1" height="1" fill="#6D4C41"/>
	<text x="50%" y="50%" style="font-size: 0.5px" fill="#FFF" text-anchor="middle" dy=".178">SS</text>
</svg>

node-svg2img function is executed with the above svg and no other options.
Image png output:
image

I suspect this has something to do text positioning maybe?

Browser output: fiddle link

#6 related maybe.
related maybe
related maybe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant