You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by bu...@apache.org on 2009/09/30 01:11:22 UTC

DO NOT REPLY [Bug 47917] Text rendering broken in MacOS X 10.5

https://issues.apache.org/bugzilla/show_bug.cgi?id=47917

--- Comment #1 from Helder Magalhães <he...@gmail.com> 2009-09-29 16:11:21 PDT ---
According to the reports, a possible fix would be detecting [1] [2] the
specific platform and tweaking the settings in accordance. Something like:

if(System.getProperty("os.version").equals("10.5")){
  System.setProperty("apple.awt.graphics.UseQuartz", "false");
}

There is a couple of pending issues with the above code:
1. There isn't enough evidence that this is really MacOS X 10.5 specific, more
feedback is welcome (as stated in comment 0);
2. I don't much of an idea on where to place this sort of code. Placing
anywhere within the GVT text classes should help, but I invite anyone with
better Java skills to make a more specific proposal and/or submit a patch.

[1] http://developer.apple.com/mac/library/technotes/tn2002/tn2110.html#PARTONE
[2]
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/System.html#getProperties%28%29

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org