-
Bug
-
Resolution: Fixed
-
P5
-
6
-
None
-
mustang
-
generic
-
generic
Font.deriveFont creates a new Font with an instantiated Hashtable
of attributes in cases where it doesn't need to.
Specifically where the original font has no hashtable of attributes
the deriveFont methods create one and construct the new font with a
constructor which accepts this as a parameter.
It would be better to detect that there is no attribute map and
call a different constructor to derive the font.
of attributes in cases where it doesn't need to.
Specifically where the original font has no hashtable of attributes
the deriveFont methods create one and construct the new font with a
constructor which accepts this as a parameter.
It would be better to detect that there is no attribute map and
call a different constructor to derive the font.