-
Notifications
You must be signed in to change notification settings - Fork 2
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
How to change font size? #3
Comments
I think this is a Java dependet thing and afair Java does by now not support arbitrary scaling based on dpi. Java9 should (?) improve this, though. There is probably another way to specify a different font size. On BSD Iguess Java uses Gtk2 (by now, will switch to Gtk3 soon), and you could adjust the default font there? |
Thank you, I will look at Java documentation. |
I think it could be useful to have a greater font size by default |
I'll look into configuration of the font size |
On hiDPI-displays (such as my MacbookPro Retina 13 inch with Fedora Linux) the program is quasi not usable. Window size and font size are only half as they should be, a pain for the eyes ... This is daily reality in the Java programs I am using but ... the other ones have remedies. So you can help yourself invoking the programs with special options (which here do not work!), for instance |
@ekuester which version of Java are you using? All the signs indicate that recent versions of java8 as well as java9 do support hidpi out of the box. The other options you are mentioning are for Swing applications AFAIR, which doesn't help for ScalaFX/JavaFX. |
@norbusan nope, I tested it both with the latest Java jdk1.8.0_161 and jdk-9.0.4 and got the reported results. Ok, I do know little about ScalaFX/JavaFX. Maybe the Mac Retina display is a special candidate, I had issues with it using tvbrowser (TV program guide written in Java). But there I can choose in preferences theme GTK+ and tango icons and all went fine ... |
It works just fine for me on 15" retina/10.13/JDK 10. |
Thanks @mojca for checking. As this is nothing I can influence easily (would need a rewrite in Swing which I don't like) I can only hope that this will be fixed at some point by newer JavaFX/ScalaFX libraries. |
Yes, I installed it from Oracle. Running |
@mojca I assume you are under macOS, because there I have no problems even with Java jdk1.8 ... Just to test it I installed jdk10 download from Oracle but under Linux ( Fedora 27 ). There is the same behavior as with the older versions :-(( so no success at all. |
Yes, macOS. I only wrote "10.13" as a reference to retina display mentioned in a previous post. |
@ekuester Ahh, you are running Retina display with Linux. I read that the HiDPi support for Retina displays on Mac and Windows is working, but on Linux it is WIP, so I am not surprised that it doesn't work on Linux. |
@norbusan Yes, that is the point ... due to some disappointments with Apple I decided to use mostly Linux, which is actually so much better than one should believe ... On my triple-boot-system (macOS/Fedora/Windows10) I could use macOS, but I dont want, not to speak of Windows. |
@ekuester whom do you tell ;-) When I was still working at university I had a macpro with retina where I also mostly used Linux instead of MacOS, there I could test all this, but since then I was moved on now I have no chance. |
To my disappointment under Linux/Fedora 30 with openjdk version "11.0.4" 2019-07-16 the behaviour on hiDPI displays has not changed (just tested with Dell XPS 13 9380 UHD). |
Hi @ekuester Thanks |
Addon, it seems to be fixed in OpenJDK9: https://bugs.openjdk.java.net/browse/JDK-8137050 so I am surprised. |
Hi @norbusan, |
Great, thanks for the feedback. I have added a paragraph to the readme to clarify HiDPI usage. I guess newer versions will get better support over time. Closing this bug for now. Thanks |
I just found out about
tlcockpit
, it is a wonderful tool, thank you!I am using it on FreeBSD (RELEASE-11.1), on a large screen with 110 dpi, and font is quite tiny.
Is there a way to change font size?
Thanks again.
The text was updated successfully, but these errors were encountered: