java-dev

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: Yet another bug in Java for Mac OS X 10.5 Update 4 ? Jim Douglas Wed Jun 24 16:00:42 2009

From the developer preview relnotes (should be ok to post this extract since the product is now released):
Java SE 5.0 graphics renderer defaults to Quartz

Due to a number of unaddressable performance and fidelity issues with the Sun2D renderer in Java SE 5.0, the default graphics renderer has been switched back to Quartz. In Java SE 6, the quality and the performance of the Sun2D renderer is significantly better, so the default renderer for Java SE 6 will remain Sun2D.

To choose between the Quartz and Sun-based renderers, use the boolean System Property apple.awt.graphics.UseQuartz. This property is set appropriately based on the renderer that is in use. Setting the property after the instantiation of the AWT has no effect on which renderer is used.

On Jun 24, 2009, at 2:56 PM, Russ Calvert wrote:

Is there a good reason for the switch back the Quartz renderer?

Russ Calvert
AstroGrav Astronomy Software

On 24 Jun 2009, at 20:05, [EMAIL PROTECTED] wrote:

Message: 2
Date: Tue, 23 Jun 2009 12:10:46 -0700
From: Mike Swingler <[EMAIL PROTECTED]>
Subject: Re: Yet another bug in Java for Mac OS X 10.5 Update 4 ?
To: Nick Howes <[EMAIL PROTECTED]>
Cc: Java List Apple <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

On Jun 23, 2009, at 11:50 AM, Nick Howes wrote:

One of my users (who applied Java for Mac OS X 10.5 Update 4) is
reporting:

 java[235] <Error>: GCGetGlyphDeviceMetrics failed: error 1

after which all the text turned to wacky glyphs : mostly boxes and a
few random symbols.

He quit and relaunched and it started working again.

Any ideas?  I don't have enough info to file a bug report.

A potentially relevant change was that we flipped the default graphics
pipeline in J2SE 5.0 back to the Quartz renderer. You might try
explicitly setting the Sun 2D renderer using -
Dapple.awt.graphics.UseQuartz=false if you can reproduce the issue.

Best of luck,
Mike Swingler
Java Runtime Engineer
Apple Inc.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      ([EMAIL PROTECTED])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/jimdouglas%40mac.com

This email sent to [EMAIL PROTECTED]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      ([EMAIL PROTECTED])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/alexiscircle%40gmail.com

This email sent to [EMAIL PROTECTED]