public override bool Equals(System.Object o) { CachedFont f = (CachedFont)o; return(font.Equals(f.font) && transform.Equals(f.transform)); }