-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text is overlapping/improperly cropped #1532
Comments
Chrome renders the text correctly, so this looks like a FF issue e.g. google "firefox svg text too big". You can test what FF is doing by creating a simple plot: p = plot(x=1:5, y=rand(5), Geom.point)
draw(SVG("test1.svg"), p) Open "test1.svg" in a text editor, and add e.g. |
It was the minimum font size setting. It seems that firefox defaulted to having it be 12pt font (at least for me, since I'm pretty sure I hadn't touched the advanced font settings), which was messing up the rendering. I've disabled that setting and now it seems to work normally. |
Add note explaining that a minimum font size in your browser can cause improper text rendering (as happened to me in issue GiovineItalia#1532 the other day). Hopefully this will help others avoid this pain point that I hit.
When I try to make any plots in a jupyter notebook using Gadfly, or when I look at the documentation, the text on the plots is messed up. Text overlaps other text, and some text gets cropped out of the plot when it shouldn't be.
For example, here is what I see when I go to http://gadflyjl.org/stable/man/compositing/#Facets:
I'd guess that the x-axis label is supposed to be "SepalLength by Species", but the end is cropped out of the image, and the beginning overlaps with the y-axis label. Other text in the plot is similarly messed up.
If this is relevant, I'm using Firefox 87.0 on Ubuntu 20.04.
The text was updated successfully, but these errors were encountered: