]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Fixes the dpi value in SVGSalamander to 96 99/1699/1
authorHannu Niemistö <hannu.niemisto@semantum.fi>
Tue, 10 Apr 2018 12:24:20 +0000 (15:24 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Tue, 10 Apr 2018 13:34:53 +0000 (16:34 +0300)
If SVG file defining symbol graphics does not contain unit information,
it is converted from points to pixels using a dpi-value. The value is 96
in most cases but in some machines differs from this default. This makes
the symbol graphics scaled compared to originally drawn graphics which
is undesirable.

refs #7860

Change-Id: I1f858ec0703a6f4dba9547fed2aca0438172248b
(cherry picked from commit 6c06bb2a196d78195dd8699064201c02a6425dc5)

bundles/org.simantics.scenegraph/lib/svgSalamander-tiny.jar

index 950d053380a67827fd7bd5a04e4e59463da8fda4..0fede7cb0f3d5870ec0d2f8c6170b168f441cac5 100644 (file)
Binary files a/bundles/org.simantics.scenegraph/lib/svgSalamander-tiny.jar and b/bundles/org.simantics.scenegraph/lib/svgSalamander-tiny.jar differ