Sulca-related scaling issue in diagram to SVG rendering
This originates from redmine issue https://www.simantics.org/redmine/issues/7696.
This rendering issue was reverted by commit 40370f30.
The Sulca-specific issue is that it uses the scaling values present in the Graphics2D object to determine font sizes, but this issue also affects org.simantics.scenegraph.g2d.nodes.SelectionNode, which uses the the Graphics2D scaling to determine the margins and line width of the selection rectangle. When global scaling is taken away from Batik's SVGGraphics2D in the SCLScenegraph class, that information no longer is available to the scene graph nodes.
This scaling issue is thus present in all Simantics products. Sulca only makes it more obvious, as its diagrams are the size of a postage stamp at scaling factor 1.