Rasterizer: Font size changes depenend on output resolution

"Falko Ortolf" <[email protected]>
Newsgroups gmane.text.xml.batik.user
Message-ID <[email protected]>
Hello,

 

I convert SVG files via Batik Rasterizer to JPG files.

I noticed that the font size gets bigger, if I convert the SVG to a JPG file
with a higher resolution.

 

I examined this and it appears that the font size only blows up, if the
font-size information is provided by a CSS class which is defined in an
embedded CSS segment in the SVG file.

 

To verify this I created a SVG file which uses @class to get CSS information
and also @style. The text formatted with @class changes size, the one
formatted with @style doesn't. I attached this SVG file and both outputs to
this mail.

 

Very baffling to me is that the font size information is regarded. But for
some reason it makes a difference where the CSS information comes from.

 

Can anyone please explain this to me? Is there some way to use @class and
still get a stable font-size?

Best Regards

Falko Ortolf


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
sample.svg (application/octet-stream, 5 KB) - not displayed
96dpi.jpg (image/jpeg, 7.2 KB) - not displayed
300dpi.jpg (image/jpeg, 66.1 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.