-
Notifications
You must be signed in to change notification settings - Fork 250
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
using Fontconfig shrinks plot window relative to axes #1572
Comments
by "this does not" work, are you referring to the rotated x-axis labels? if so, try adding if you're referring to the size of the plot changing, as in the discourse thread, then i'm not sure that's a Gadfly problem per se as if i save the plot to a file and then it looks fine. so pluto / vscode is probably wrapping the HTML in a weird way. see #1561 |
i still can't reproduce. me being on Gadfly master and julia 1.7.1 are the only differences. i'm on mac osx. |
To reiterate, the problem only appears immediately after adding the Fontconfig package.
I imagine I should raise an issue with Fontconfig.jl, but I don't know what to say is wrong or how it interfaces with Gadfly. |
what OS are you using? |
Windows 11 |
The same problem here! |
Root cause was found in duplicate issue #1587, so I am closing this one. Temporary workaround is to pin a dependency of Cairo.jl to an older version. ]add Pango_jll
]pin Pango_jll@1.42.4 |
I confirm with additional testing that
|
I do not think this issue has been resolved. |
@nathanrboyer have you found a solution to this problem? Other than using on old version of Pango_jll? |
No, I stopped using Gadfly because of it. I only closed this issue because yours (#1587) is a duplicate, and there should not be two separate issues tracking the same problem. I haven't seen any indication that anyone has worked on this problem; presumably none of the current maintainers use Windows. |
This works fine.
This does not.
The problem becomes worse for more complex examples. The plot in this discourse thread becomes unreadable, and using
draw(PNG("Test.png", 6inch, 4inch), p)
just further shrinks the plot.I get the same output behavior running in Pluto, WSL terminal, and VSCode on Windows 11 using the newest version of all packages:
The text was updated successfully, but these errors were encountered: