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

Wayland font antialiasing in Swing/AWT programs #439

Open
chelobaka opened this issue Aug 16, 2024 · 2 comments
Open

Wayland font antialiasing in Swing/AWT programs #439

chelobaka opened this issue Aug 16, 2024 · 2 comments

Comments

@chelobaka
Copy link

Running Java demo Font2DTest on JBR 21.0.3b509.11 with -Dawt.toolkit.name=WLToolkit option makes program window respect desktop scaling setting but all text is heavily aliased. Good old AA options -Dawt.useSystemAAFontSettings=lcd and -Dswing.aatext=true don't make any difference. Is there a way to turn antialiasing on for arbitrary Swing/AWT programs?

@ninja-
Copy link

ninja- commented Sep 21, 2024

Did you try the freetype variant of JBR perhaps?

@huyz-git
Copy link

huyz-git commented Sep 22, 2024

This font aliased issue seems to be related to the specific application, as shown in the figure:
Screenshot_20240922_230316

This three window is:

  • Geogebra 5.2.857 with freetype variant of JBR
  • Geogebra 5.2.857 with standard variant of JBR
  • JOSM 19207 with standard variant of JBR

Both standard and freetype variant of JBR have aliased fonts in Geogebra, but standard variant of JBR does not have obviously visible aliased fonts in JOSM.

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

No branches or pull requests

3 participants