Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6694480
Votes 0
Synopsis Two small inefficiencies in getting font strikes for transformed fonts.
Category java:classes_2d
Reported Against
Release Fixed 7(b28)
State 10-Fix Delivered, bug
Priority: 4-Low
Related Bugs
Submit Date 25-APR-2008
Description
Whilst tracking down an un-related bug, two possible
improvements in strike creation were noticed.

(1) Font.getItalicAngle() internally passed its
font transform to the code that looks up the strike,
but this was interpreted by the called code as the
device transform - which the font does not have
access to.

So the strike creation code used the font transform
as both the font transform and the device transform,
and so when a font transform is present it would
likely lead to an additional strike being created.

This doesn't cause an API-observable problem, because
the code that returns the italic angle uses user
space values, with the device transform removed.

(2) The second inefficiency is that translation components,
which do not affect the actual glyphs or their metrics,
are being used in the case where there is a font transform.
To increase the likelihood of matches, we should remove
the translation from the strike look up.
Posted Date : 2008-04-25 23:59:01.0
Work Around
N/A
Evaluation
For (1) use identity
For (2) remove the translation from the strike.
Posted Date : 2008-04-25 23:59:01.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang