Community
Participate
Working Groups
If diagrams are exported to PNG or JPEG, AWT Graphics 2D is used for image generation. Font support is different for AWT and SWT graphics. If SWT string width is more than 2 pixels different from AWT string, we'd just paint the SWT string on an image and paint that image Graphics 2D to match the string on the screen. There is a typo in that place checkState() statement is missing that sets the clipping and other parameters for the graphics object. Hence, strings aren't painted sometimes.
Created attachment 219835 [details] patch
Committed to Juno SR1 1.6.1 and Kepler 1.7.0. Also checked the change into the R1_4_maintenance branch.
This actually missed Juno SR1 so will be in SR2.