R
Roedy Green
Hendrik Maryns sent me a screen shot of one of my Applets running on
his machine. It looks godawful.
I write some JLabel text with Font( "Dialog", Font.BOLD, 16 );
It looks beautiful on my Vista machine, but on his, it looks terrible.
The Font renders 12% bigger so there is not enough room in the various
boxes.
Further, it looks moth-eaten, even more than I might expect from
anti-alias turned off.
I don't yet know what platform/Browser/Java version he is using. Any
thoughts on what could be happening?
<rant>
If you look at http://mindprod.com/applet/fontshowerawt.html you can
view all the fonts available to Java on your machine. Set it to say
15 points. Then look at the various fonts. They won't be ANYWHERE
NEAR the same size! ARGGH!! Spit, splutter. Surely Java should
auto-compensate so that that font families are interchangeable.
</rant>
However, in this case I am using Dialog, a logical font 100% under
Sun's control. Sun have no excuse for it rendering so differently on
different platforms!
Is there some sort of font magnification feature of some platforms
that could be fouling things up?
Any tips for me and the peanut gallery on how to write WORA font code
when you only have one machine?
his machine. It looks godawful.
I write some JLabel text with Font( "Dialog", Font.BOLD, 16 );
It looks beautiful on my Vista machine, but on his, it looks terrible.
The Font renders 12% bigger so there is not enough room in the various
boxes.
Further, it looks moth-eaten, even more than I might expect from
anti-alias turned off.
I don't yet know what platform/Browser/Java version he is using. Any
thoughts on what could be happening?
<rant>
If you look at http://mindprod.com/applet/fontshowerawt.html you can
view all the fonts available to Java on your machine. Set it to say
15 points. Then look at the various fonts. They won't be ANYWHERE
NEAR the same size! ARGGH!! Spit, splutter. Surely Java should
auto-compensate so that that font families are interchangeable.
</rant>
However, in this case I am using Dialog, a logical font 100% under
Sun's control. Sun have no excuse for it rendering so differently on
different platforms!
Is there some sort of font magnification feature of some platforms
that could be fouling things up?
Any tips for me and the peanut gallery on how to write WORA font code
when you only have one machine?