Skip to content
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

GUI doesn't have anti-aliasing on Linux #6

Open
stberryhill opened this issue Oct 29, 2021 · 2 comments
Open

GUI doesn't have anti-aliasing on Linux #6

stberryhill opened this issue Oct 29, 2021 · 2 comments

Comments

@stberryhill
Copy link

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

@sebshader
Copy link
Owner

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

@danomatika
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants