Dear VisAD LIsters,
I received this email from an Apple engineer and I am following up with them
on the apparent OS X 10.1 problem.
Truly yours,
John Anderson
ps. GO APPLE!
hi John,
To answer your original question, you control the antialias by
using com.apple.macosx.AntialiasedTextOn and
com.apple.macosx.AntialiasedGraphicsOn flags. Here is an example
of how you use them:
java -Dcom.apple.macosx.AntialiasedTextOn=true
-Dcom.apple.macosx.AntialiasedGraphicsOn=true -jar JavaApp.jar
Remember that the developer is able to change these setting
programmatically within their code. In such case there is
nothing you can do. From your description, it looks to me like
the antialiasing is actually off. In such cases the Quartz
engine produces really ugly output, ie. boxes instead of single
points, rectangles instead of lines. The CoreGraphics team is
aware of the problem and are working on this.
I downloaded VisAD to see the problem you describe, but all the
examples I tried require Java3D, which is not supported by MacOS
X yet. Please tell me what examples do you run to see the
problems.
cheers
Von: John Philip Anderson <jpanderson_215@xxxxxxxxxxx>
Datum: Mo, 01. Okt. 2001 15:36:06 US/Pacific
An: java-dev@xxxxxxxxxxxxxxx
Betreff: 10.1 Graphics Problems / How do I turn off "anti-aliasing"?
Dear Apple-Java Developers,
I use the "VisAD" (Visualization for Algorithm Development)
numerical graphics package.
http://www.ssec.wisc.edu/~billh/visad.html
It worked great, until I upgraded to OS X 10.1. Now, the
Java2D graphics appear distorted. Curves are now lines,
points are now boxes and etc.
I suspect that the Quartz "anti-aliasing" functions are the
problem. Although, OS X 10.1 Java Release Notes discuss this
issue, I do not know how to turn "anti-aliasing" off.
Specifically, I would like to know what Object is supposed to
call "setRenderingHint()" to turn "anti-aliasing" off within
the code.
Likewise, my system cannot find
"com.apple.macosx.AntiAliasedTextOn" from the "java" command
line nor within code.
And of course, I can not run MRJAppBuilder nor Project Builder
because I do not have the new Developer Tools yet.
Can anyone help me?
Truly yours,
John Philip Anderson
<br><br><br>
John Philip Anderson
215 West Newman Road
Okemos, Michigan 48864-1332
Email: jpanderson_215@xxxxxxxxxxx
Telepone: (517)349-6131
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp