Open MichaelChirico opened 4 years ago
I can confirm this on OSX. Looks like a top-right/bottom-left confusion with rotated character glyphs.
Happens in X11(type="Xlib") but not in X11(type="cairo")
This was a missing set of parentheses in XRotPaintAlignedString() in src/modules/X11/rotated.c
Just running some checks before committing the fix.
In base graphics plot.default(), title() with the default X11() driver, if the y-axis label 'ylab' is a mathematical expression, the components of the expression are misaligned (incorrect x coordinates). Examples plot(1:2, xlab=expression(f(x)), ylab=expression(g(x)))
Does not occur in pdf() or postscript(), only in X11()
METADATA