AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

small fonts with the Sun Java VM

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help
View previous topic :: View next topic  
Author Message
Albert Oppenheimer
Guest





PostPosted: Sat Nov 26, 2005 5:11 pm    Post subject: small fonts with the Sun Java VM Reply with quote



Sun's Java VM doesn't do as well with fonts as the Microsoft VM. I just
tried out the JDK 1.5 VM hoping they had improved since 1.4.1, but no luck.

In Yahoo game rooms, there are some small fonts, describing table settings
like the time limit and whether the game is rated, that look fine with the
Microsoft VM, but are almost illegible with the Sun VM.

Is there any way to get the Sun VM to handle fonts better?

Thanks,
Allie


Back to top
Roedy Green
Guest





PostPosted: Sat Nov 26, 2005 5:40 pm    Post subject: Re: small fonts with the Sun Java VM Reply with quote



On Sat, 26 Nov 2005 11:11:05 -0600, "Albert Oppenheimer"
<spam (AT) spam (DOT) com> wrote, quoted or indirectly quoted someone who said :

Quote:
Is there any way to get the Sun VM to handle fonts better?

see http://mindprod.com/jgloss/antialiasing.html
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

Back to top
Albert Oppenheimer
Guest





PostPosted: Sat Nov 26, 2005 7:03 pm    Post subject: Re: small fonts with the Sun Java VM Reply with quote



The relevant sentence in this article is: "Sun, even when anti-aliasing,
pays no attention to the font rendering hints. This why small font sizes are
so grungy looking."

So, the answer to my question is no: this is a defect of Sun's VM, there's
no way to tune it. Yahoo game rooms are going to look grungy.

As for the discussion of anti-aliasing cluges for large fonts in code you
write yourself, two solid gray areas appeared in the article, apparently
where example code should have been displayed. The first gray area
immediately follows sentence, "To anti-alias fonts, you have to go through a
gambit like this in your Canvas paint method:"

Since this page is at your website, it may display correctly for you, but I
thought you might want to know, it doesn't necessarily display correctly
elsewhere.

"Roedy Green" <my_email_is_posted_on_my_website (AT) munged (DOT) invalid> wrote in
message news:cc7ho1515ook73qu1ii86la4avmlufb79h (AT) 4ax (DOT) com...
Quote:
On Sat, 26 Nov 2005 11:11:05 -0600, "Albert Oppenheimer"
[email]spam (AT) spam (DOT) com[/email]> wrote, quoted or indirectly quoted someone who said :

Is there any way to get the Sun VM to handle fonts better?

see http://mindprod.com/jgloss/antialiasing.html
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.



Back to top
Roedy Green
Guest





PostPosted: Sat Nov 26, 2005 7:41 pm    Post subject: Re: small fonts with the Sun Java VM Reply with quote

On Sat, 26 Nov 2005 13:03:03 -0600, "Albert Oppenheimer"
<spam (AT) spam (DOT) com> wrote, quoted or indirectly quoted someone who said :

Quote:
Since this page is at your website, it may display correctly for you, but I
thought you might want to know, it doesn't necessarily display correctly
elsewhere.

What does your console say?
What Browser/JVM are you using?
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

Back to top
Roedy Green
Guest





PostPosted: Sat Nov 26, 2005 7:55 pm    Post subject: Re: small fonts with the Sun Java VM Reply with quote

On Sat, 26 Nov 2005 13:03:03 -0600, "Albert Oppenheimer"
<spam (AT) spam (DOT) com> wrote, quoted or indirectly quoted someone who said :

Quote:
As for the discussion of anti-aliasing cluges for large fonts in code you
write yourself, two solid gray areas appeared in the article, apparently
where example code should have been displayed. The first gray area
immediately follows sentence, "To anti-alias fonts, you have to go through a
gambit like this in your Canvas paint method:"

Since this page is at your website, it may display correctly for you, but I
thought you might want to know, it doesn't necessarily display correctly
elsewhere.

I have checked this with the latest browsers: IE, Netscape, Mozilla,
Firefox and Opera. All worked fine.

Do all my applets fail or just JDisplay ( the code displayer)?

See http://mindprod.com/applets/amanuenses.html

If it is just JDisplay, the problem is likely your firewall. It is not
letting you read the serialised objects that represent the colourised
code.

They have the extension .ser and mime type
application/x-java-serialized-object

e.g.
http://mindprod.com/jgloss/snippets/antialiasing.jdk12.javafrag.ser
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.