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: Leopard Java3D Swing font rendering





On Oct 29, 2007, at 4:12 PM, Greg Guerin wrote:

Peter Powers wrote:

With the release of Leopard, I am noticing some font antialiasing bugs that
arise when a heavyweight Canvas3D is used in a window with Swing components.

Could it possibly be related to the Java2D rendering pipeline? See this thread segment: <http://lists.apple.com/archives/java-dev/2007/Oct/msg00463.html>

-- GG


Yes, that works, sort of...  the fonts are too now too large...

http://earth.usc.edu/pmpowers/eqis2.jpg

Whereas in Tiger, with Quartz automatically enabled,

TextLayout tl = new TextLayout(
	"Some Text",
	UIManager.getFont("Label.font"),
	g2.getFontRenderContext());
tl.draw(g2, x, y);

produced results identical to Apple's LabelUI implementation. With Leopard, it appears the font size, bold setting, and kerning, are all ignored, or are at least implemented differently. Any thoughts on a workaround or something I'm missing?

-Peter
_______________________________________________
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: 
 >Leopard Java3D Swing font rendering (From: Greg Guerin <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.