problems with svg text size

Post questions on how to use or achieve an effect in Inkscape.
anitsirc
Posts: 2
Joined: Mon Oct 11, 2010 6:05 pm

problems with svg text size

Postby anitsirc » Mon Oct 11, 2010 6:20 pm

Hi, I'm trying to export an svg image as a png one, the result is ok if i dont have any text. When i have the text it is shown in the result image but way smaller than the one that i see in the svg. I've tried setting the font-size in pixels and using font size keywords. Does anyone knows how to keep the font size?

the call that i'm doing is
inkscape svg_file --export-png=test.png -b=#ffffff

anitsirc
Posts: 2
Joined: Mon Oct 11, 2010 6:05 pm

Re: problems with svg text size

Postby anitsirc » Tue Oct 12, 2010 9:24 pm

well a quick solution that i found is multiply the actual fontsize *1.2 when i want to export it to png in case somebody has the same problem

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: problems with svg text size

Postby brynn » Tue Oct 12, 2010 11:41 pm

Um, well I didn't answer this yesterday, because I don't understand
the call that i'm doing is
inkscape svg_file --export-png=test.png -b=#ffffff


But I do know that I haven't heard of any issues exporting text to PNG. Could you attach an SVG in your next rely? Then we could examine it, and try to learn what the problem might be. It could be you've stumbled upon a bug. It could be a known bug (although not known by me, lol). You could always search Launchpad, while waiting for more replies? (There ARE issues exporting text to PDF, that I've heard of.)


Return to “Help with using Inkscape”