xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Андрей Парамонов <cmr.p...@gmail.com>
Subject WMFRecordStore.inch = 84, not 96?
Date Sat, 24 Mar 2012 16:50:43 GMT
Hello!

I'm using Batik-1.7 on Debian GNU/Linux to convert wmf files to svg.
I've noticed that I get slightly larger captions. Upon investigation
it turns out that in WMFRecordStore inch equals to 84 pixels by
default. When I rescale the image by a factor of 84/96 I get the
expected font size.

This code seems to work when there is no Aldus header, so probably the
bug wasn't noticed yet. But anyway, what is the reasoning for value
84?

Best wishes,
Andrey Paramonov

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Mime
View raw message