You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm, so on GL these get converted to signed distance fields if I recall correctly, in Cairo they are just text. We probably need to interrogate the glyph bounding box and rescale the glyph to fit the markersize in Cairo....
I think the issue here is with how GLMakie scales character markers. If you compare with text CairoMakie matches up nicely, GLMakie does not.
f,a,p =scatter((0,1), marker=Rect, markersize=45, color =:black, strokecolor =:red, strokewidth =1)
scatter!((0,1), marker='◇', markersize=45, color =:white)
scatter!((1, 1), marker=Rect, markersize=45, color =:green, strokecolor =:red, strokewidth =1)
text!((1, 1), text ="◇", fontsize =45, align = (:center, :center), color =:white)
xlims!(a, -1, 2)
f
CairoMakie
GLMakie
ffreyer
added
GLMakie
This relates to GLMakie.jl, the OpenGL backend for Makie.
WGLMakie
This relates to WGLMakie.jl, the Web-based WebGL backend for Makie.
and removed
CairoMakie
This relates to CairoMakie, the vector backend for Makie based on Cairo.
labels
Feb 27, 2025
The same code results in very different marker sizes with Cairo and with GL:
Cairo:


GL:
]st -m Makie
) v0.22]activate --temp; add Makie
)The text was updated successfully, but these errors were encountered: