Closed asinghvi17 closed 2 years ago
cc @kimauth since you reported this - I suspect that the reason that MakieTeX text looks so bad in GLMakie is because it doesn't use the same text rendering methods as GLMakie does. Specifically, MakieTeX just plots an image, while GLMakie renders text by using signed distance fields, which are essentially boolean matrices. The backend interpolates within the array, allowing for pretty high-resolution text compared to the naive image method of MakieTeX.
However, it is not easy to access this backend feature in Makie, and I'm not convinced that it's worth it. Also - for whatever it's worth, I do want to work on a way to get GLMakie scenes "seamlessly" included in CairoMakie, so it should gain all of the capabilities of the GL-backend.
All in all, I don't think this is something I can fix at present. The rasterization setting which exists now is past diminishing returns - you can see that the MakieTeX text is pixelating according to screen pixels, at which point there's not really much we can do with the current approach from what I understand.
Cairo GL
Would be good to see if this can be ameliorated somehow.