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.

Reply via email to