Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disturbed character images when rendering text in default font



On Aug 22, 2008, at 4:45 AM, Mikael Hakman wrote:

While rendering plain text using default font I noticed that the drawn character images appear to be disturbed. This is most noticeable when drawing white text on black background. For example, in image of equal sign (=) the upper bar appears as darker and taller than the lower bar. I can notice the same effect while writing this mail in Mail application, but here having black text on white background, the lower bar appears taller and lighter, consequently the effect is not as disturbing as with white text on black background. Needless to say, this effect is not observable when running the same Java application under other operating systems. What can be wrong?

It sounds like you are just seeing an artifact of text anti-aliasing.

Do you have a code example that demonstrates this problem? Are you using the default font? Is this on a standard Aqua Swing control or are you doing your own rendering with drawString()?

Cheers,
Mike Swingler
Java Runtime Engineer
Apple Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Disturbed character images when rendering text in default font (From: Mikael Hakman <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.