turning on anti-alias
Hi, I think it is pretty easy to enable anti-alias, so the fonts in the app would look much nicer.
https://stackoverflow.com/questions/179955/how-do-you-enable-anti-aliasing-in-arbitrary-java-apps
Keyboard shortcuts
Generic
? | 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
Support Staff 1 Posted by Maarten Billemo... on 21 Sep, 2018 09:13 PM
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 Posted by Csaba on 21 Sep, 2018 09:55 PM
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 Posted by Csaba on 21 Sep, 2018 09:58 PM
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)
Support Staff 4 Posted by Maarten Billemo... on 21 Sep, 2018 10:03 PM
Don't know if the following is useful at all to you:
https://hedayatvk.wordpress.com/2010/02/26/antialiasing-and-java/
— Maarten Billemont (lhunath) —
https://www.lhunath.com <https://www.lhunath.com/> – https://masterpassword.app <https://masterpassword.app/>
5 Posted by Csaba on 21 Sep, 2018 10:11 PM
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)
Support Staff 6 Posted by Maarten Billemo... on 21 Sep, 2018 10:46 PM
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/>