Hello
I'm not sure if I'm correct here to report a bug for jCommon.
In org.jfree.text.TextUtilites I found in the method "public static void drawRotatedString(String text, Graphics2d g2, float textX, float textY, double angle, float rotateX, float rotateY)" a bug:
in the code fragment
if (angle == 0.0) {
drawAlignedString(text, g2, textY, textY, TextAnchor.BASELINE_LEFT);
return;
}
Should the method not called like this (textX was not used):
drawAlignedString(text, g2, textX, textY, TextAnchor.BASELINE_LEFT);
Thank you for your work and regards
Daniel
Thanks for the report. This one got resolved here:
https://github.com/jfree/jcommon/issues/3
...based on your feedback.
Best regards,
David