pdnext icon indicating copy to clipboard operation
pdnext copied to clipboard

GUI doesn't have anti-aliasing on Linux

Open stberryhill opened this issue 3 years ago • 2 comments

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: image

MacOS: image

stberryhill avatar Oct 29 '21 19:10 stberryhill

@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.

sebshader avatar Nov 02 '21 23:11 sebshader

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.

danomatika avatar Nov 25 '21 00:11 danomatika