Community
Participate
Working Groups
Build Identifier: 20100917-0705 The ScaledGraphics class does not scale line widths, leading to bizarre output when the figure is rendered as high-resolution bitmaps (hint, the lines disappear from the printed page!) The method currently reads: float zoomLineWidth(float w) { return w; } It should read: float zoomLineWidth(float w) { return (float) zoom * w; } Reproducible: Always
Created attachment 181060 [details] Problem showing at 300dpi - lines are too faint
Created attachment 181061 [details] At 600 dpi, lines are almost invisible
Created attachment 181062 [details] Correct appearance at 300dpi after code change
Created attachment 181063 [details] Correct appearance at 600dpi after code change - note that the width of the lines now scales with the resolution of the image
Created attachment 181112 [details] patch The patch for zoomLineWidth(float) method
Delivered the fix in R3_6_maintenance and HEAD. Trivial fix - suggested and tested by Simon.