On 2012-11-22 19:47 (GMT+0100) Mariusz Fik composed:
Felix Miata composed:
Anyone know if Java apps can be made to run using a DPI other than 72, such as whatever the rest of the desktop is using, to make the app elements big enough to see and use? Here's a look at my problem: http://fm.no-ip.com/SS/javafonts01.png
I've never needed a Java app before now.
Googling seems to be a waste of time. I find things like: http://www.java.net/node/670177 forum question with 0 responses http://www.oracle.com/technetwork/java/faqs-137274.html#Font_and_Text_questi ons no mention in FAQ of what to do about size difference https://wiki.archlinux.org/index.php/Java_Runtime_Environment_Fonts no sizing mention http://stackoverflow.com/questions/4707756/how-to-correctly-detect-dpi-of-di splay-with-java for java programmers http://lists.debian.org/debian-user/2010/08/msg00398.html broken thread http://docs.oracle.com/javase/7/docs/technotes/guides/intl/fontconfig.html no DPI mention http://project-x.sourceforge.net/ claims German and English support, but English is nowhere to be found
Help!?!
If You use plaf metal theme,
How does anyone do such a thing? In Windows Control Panel there is a Java settings object. In Linux I can find no corresponding way to control the theme or anything else about Java. It's like Java docs are all for Java programmers, and there is no documentation for users of Java apps.
You can run app with: java -Dswing.aatext=true -Dswing.plaf.metal.controlFont='Droid Sans' MainClassName
The Java application I need is started from the menu starter with /usr/bin/projectx.sh. If I enter java -Dswing.aatext=true -Dswing.plaf.metal.controlFont='Droid Sans' projectx on cmdline in Konsole, nothing at all happens. I have installed the following *java* packages: java-1_6_0-openjdk-1.6.0.0_b24.1.11.5-21.1.i586 java-ca-certificates-1-9.1.noarch timezone-java-2012h-10.1.noarch Am I missing something?
Works fine: http://img267.imageshack.us/img267/2002/swingfonts.png
That image looks like ProjectX looks here: everything is too tiny to be of any use. Googling I found that's because Java assumes 72DPI instead of the DPI X and other apps use, which is the reason for the problem of tiny text on high DPI displays, but nowhere could I find how to change that, no solution. :-( -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org