United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6697721 OpenJDK: rotated text baseline different between TextLayout and drawString
JDK-6697721 : OpenJDK: rotated text baseline different between TextLayout and drawString

Details
Type:
Bug
Submit Date:
2008-05-05
Status:
Closed
Updated Date:
2011-03-08
Project Name:
JDK
Resolved Date:
2011-03-08
Component:
client-libs
OS:
generic
Sub-Component:
2d
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Backport:

Sub Tasks

Description
When the font transform has a rotation and offset, Openjdk 7 doesn't
position text the same in drawString and TextLayout.
In addition this is different behaviour than the commercial JDK.

                                    

Comments
EVALUATION

For fractional metrics, need to use the linearly scaled horizontal metrics.
For the integer metrics case, we should not round the rotated cases.
                                     
2008-05-05



Hardware and Software, Engineered to Work Together