close
The Wayback Machine - https://web.archive.org/web/20211010231059/https://github.com/processing/processing4/pull/286
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

Enable JVM Font Antialiasing for Linux #286

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

@pavlus
Copy link

@pavlus pavlus commented Oct 5, 2021

Should add smoothness for fonts in the Processing GUI most of the time.
With change:
image
Without change:
image

(GitHub compressed images, but the difference is still visible)

Should add smoothness for fonts in the Processing GUI most of the time.
@benfry
Copy link
Member

@benfry benfry commented Oct 10, 2021

This shouldn't be necessary, anti-aliasing should be turned on by default in the Java VM. Is your desktop manager turning it off? What sort of display are you using?

The option that you're using here (lcd) specifically overrides anti-aliasing so that it works for LCD screens that use RGB bars in a horizontal orientation, which is (very?) common, but not universal. If I set this as the default, it will break smoothing on other devices, or give it strange halos because the pixels are in a different order or vertical instead of horizontal.

Docs for the flag here and the lcd option maps to this setting.

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

Successfully merging this pull request may close these issues.

None yet

2 participants