[OpenJDK 2D-Dev] RFR: 8139176: [macosx] java.awt.TextLayout does not handle correctly the bolded logical fonts
Philip Race
philip.race at oracle.com
Wed Aug 10 21:15:55 UTC 2016
bug: https://bugs.openjdk.java.net/browse/JDK-8139176
webrev: http://cr.openjdk.java.net/~prr/8139176/
Equals was returning true because the full name is the same for
all members of the family. That in itself seems wrong .. no two
fonts should have the same name, but that will be addressed in
a follow-on fix.
Here I am just making CFont check the style as well.
Note that the super.equals() checks the class so I do not need
to do so here.
-phil.
More information about the 2d-dev
mailing list