|
|
|
|
| Component/s: |
PS,
SVG,
PDF,
EMF
|
| Affects Version/s: |
2.0
|
| Fix Version/s: |
2.1
|
|
|
The method Font.getAttributes() doesn't put all TextAttributes in the method result, Not clear why, but it seems to be an Sun JDK 1.6.0-b105 bug. I've inserted a method "getAttributes(font)" for the GenericTagHandler and FontUtilities classes. The redundancy is needed to avoid circular package dependency. This methods implement the old JDK 1.6 behaviour.
We should test all new Sun releases if we can remove the hack and use Font.getAttributes() instead.
Regards
Steffen
|
|
Description
|
The method Font.getAttributes() doesn't put all TextAttributes in the method result, Not clear why, but it seems to be an Sun JDK 1.6.0-b105 bug. I've inserted a method "getAttributes(font)" for the GenericTagHandler and FontUtilities classes. The redundancy is needed to avoid circular package dependency. This methods implement the old JDK 1.6 behaviour.
We should test all new Sun releases if we can remove the hack and use Font.getAttributes() instead.
Regards
Steffen |
Show » |
|
Changed FontUtilities to be in graphics2d, so there are no deps fom 2d to io.
Removed getAttributes from GenericTagHandler.