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
Broken fonts and markers when using GLMakie with a custom system image #2480
Comments
Yeah I noticed this too! First thought, it was maybe linux on wsl2 (since I'm never using that, but used it for once to build JuliaLang/julia#47184 (review))... |
Fwiw, I saw this on Ubuntu 20.04 and on Arch Linux |
I also saw this with sysimage with Makie without GLMakie on Manjaro Linux. |
I was able to solve this by redefining the following function in my startup.jl
|
As of Julia 1.8.4, this problem also appears in GLMakie 0.6.x. So just pinning to 0.7.2 (which is what I did before) no longer circumvents this issue. |
This should be fixed on master by #2498 |
To reduce load time, I have GLMakie baked into my custom dev system image. I generate this image from the following precompile work load:
This has worked great for a long time but recently this causes issues with fonts and markers. For example, a simple scatter plot now looks like this
Note that the marker is a square instead of a circle and there are various artifacts in the tick labels as well.
This seems to be tied to the system image generation process. Since JuliaLang/julia#47184 (review) introduces package images, this will probably show up even in a non-custom environment soon. In fact, if I simply run the above workload with julia compiled from that branch, I observe the exact same issue (without a custom system image, just the package image).
The text was updated successfully, but these errors were encountered: