turning on anti-alias

Csaba's Avatar


21 Sep, 2018 09:08 PM

Hi, I think it is pretty easy to enable anti-alias, so the fonts in the app would look much nicer.

  1. Support Staff 1 Posted by Maarten Billemo... on 21 Sep, 2018 09:13 PM

    Maarten Billemont's Avatar

    These settings should already be enabled by default. If you believe they are not, try running the application using java -jar masterpassword-gui.jar -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true to see if this makes any difference.

    In my tests, fonts look decent. Can you attach screenshots of your issues / share your platform details?

  2. 2 Posted by Csaba on 21 Sep, 2018 09:55 PM

    Csaba's Avatar

    Running it with the given parameters is not making a difference. Maybe it is already activated, but the fonts are pixelated.
    Maybe it is font-dependent, some look better than others.
    You can see the letters y or w for example, the home folder and the link in the bottom.

    I'm using Arch linux, KDE desktop.

  3. 3 Posted by Csaba on 21 Sep, 2018 09:58 PM

    Csaba's Avatar

    openjdk version "10.0.2" 2018-07-17
    OpenJDK Runtime Environment (build 10.0.2+13)
    OpenJDK 64-Bit Server VM (build 10.0.2+13, mixed mode)

  4. Support Staff 4 Posted by Maarten Billemo... on 21 Sep, 2018 10:03 PM

    Maarten Billemont's Avatar
  5. 5 Posted by Csaba on 21 Sep, 2018 10:11 PM

    Csaba's Avatar

    Hi. Yes it helps :)
    If I add that option the app looks great.

    So I checked why the command given by you didn't work.
    Looks like the order matters, this fixes the issue as well:

    java -Dawt.useSystemAAFontSettings=on -jar masterpassword-gui.jar

    (possibly java programs can also set this themselves, so the users don't have to. Not sure if it breaks something on another platform)

  6. Support Staff 6 Posted by Maarten Billemo... on 21 Sep, 2018 10:46 PM

    Maarten Billemont's Avatar

    I'm not comfortable overriding system defaults. There may be a very good reason why AA is not enabled by default on Linux. And even if there isn't, that isn't necessarily true for all other platforms ever.

    — Maarten Billemont (lhunath) —
    https://www.lhunath.com <https://www.lhunath.com/> – https://masterpassword.app <https://masterpassword.app/>

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

22 Jun, 2022 11:22 AM
02 Feb, 2022 02:22 PM
25 Jan, 2022 11:25 PM
31 Dec, 2021 11:42 AM
22 Dec, 2021 06:41 PM


04 Nov, 2021 01:24 AM
30 Oct, 2021 08:29 PM
21 Oct, 2021 08:44 AM
14 Sep, 2021 08:02 AM
12 Sep, 2021 01:01 PM
29 Jul, 2021 08:19 PM