United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6885963 : Graph 2D object is fuzzy when displayed on Windows Itanium 2003/2008

Details
Type:
Bug
Submit Date:
2009-09-25
Status:
Resolved
Updated Date:
2010-10-18
Project Name:
JDK
Resolved Date:
2009-10-28
Component:
client-libs
OS:
windows_2003
Sub-Component:
2d
CPU:
itanium
Priority:
P2
Resolution:
Fixed
Affected Versions:
6u12
Fixed Versions:
6u17 (b04)

Related Reports

Sub Tasks

Description
The attached graph screenshots and code example demonstrate some differences or "fuzzy" effect when certain graph objects are displayed on Windows Itanium 2003 and 2008.  This is seen on JDK 6u12 and later.

Th attached test case shows the issue on Windows 2003 Itanium and Windows 2008 Itanium.  Both runs were with JDK 1.6.0_12 and they both show a "fuzzy" indicator.  The test case doesn't display a graph, only the indicator. If you run the testcase on JDK 6 Solairs or x86 windows you will see a well defined indicator.

                                    

Comments
EVALUATION

Please provide the output of any Swing application launched from command line with the following env. variable set:
 set J2D_TRACE_LEVEL=4

It is not clear what could cause this rendering issue since the usual suspect, the Direct3D pipeline, is supposed to be disabled on any server Windows flavor (which includes 2003 and 2008).

Also, see if providing the following property helps: -Dsun.java2d.d3d=false .
                                     
2009-09-28
WORK AROUND

Do not use bicubic interpolation, use other interpolation instead.
                                     
2009-09-28
EVALUATION

The bug is reproducible only when bicubic interpolation is used in application code:
  hints.put(RenderingHints.KEY_INTERPOLATION, RenderingHints.VALUE_INTERPOLATION_BICUBIC)
 
It is not reproducible if other interpolations are used instead:
  hints.put(RenderingHints.KEY_INTERPOLATION, RenderingHints.VALUE_INTERPOLATION_BILINEAR)
or
  hints.put(RenderingHints.KEY_INTERPOLATION, RenderingHints.VALUE_INTERPOLATION_NEAREST_NEIGHBOR)
                                     
2009-09-28



Hardware and Software, Engineered to Work Together