pdnext
pdnext copied to clipboard
GUI doesn't have anti-aliasing on Linux
Would it be possible add anti-aliasing in the GUI on Linux? Currently only MacOS gets it.
See an interesting discussion here on the issue and possible solutions: https://forum.pdpatchrepo.info/topic/13016/why-does-pd-look-so-much-worse-on-linux-windows-than-in-macos
Windows/Linux:
MacOS:
@stberryhill this issue isn't really specific to pd-next, it's a pd and tk/tcl-tk issue. That being said, I have thought about adding tkpath to pd-next (not just for general anti-aliasing but also for nicer-looking bezier curves), but haven't had much luck in the past. I think it's most likely a bigger job than I can handle to port/add tkpath support for all of the modern platforms pd supports.
That being said, I might take a shot at adding tkpath at some point in the future, but no guarantees. it would be a large project. I think that tkpath relies on some outdated system APIs that I would have to figure out modern versions of.
The antialiasing on macOS is provided by the system within the TK canvas, so it's not directly done by TK only utilized on the specific platform. Also, a lot depends on the window manager, compositor, etc.
As for tkpath, last I looked, it was long dead and is not a reliable, cross platform solution, ex. it uses long outdated Carbon APIs on macOS.