Chris2011 commented on PR #7938: URL: https://github.com/apache/netbeans/pull/7938#issuecomment-2489702836
@eirikbakke if I understand it correctly, there is no such a JSVGCanvas as we have it in batik so I need to create a BufferedImage as seen in this example from the readme: https://github.com/weisJ/jsvg and the quality is not that nice, because it will be converted to a pixel graphic. I already added the settings: g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); g.setRenderingHint(RenderingHints.KEY_STROKE_CONTROL, RenderingHints.VALUE_STROKE_PURE); It is okish, but not perfect. Let's see how it fits now. Watching SVG graphics they look like pixel graphics is kind a confusing. IMHO -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
