override fun equals()

in skiko/src/commonMain/kotlin/org/jetbrains/skia/shaper/ShapingOptions.kt [46:54]


    override fun equals(other: Any?): Boolean {
        if (other === this) return true
        if (other !is ShapingOptions) return false
        if (isLeftToRight != other.isLeftToRight) return false
        if (isApproximateSpaces != other.isApproximateSpaces) return false
        if (isApproximatePunctuation != other.isApproximatePunctuation) return false
        if (if (this.fontMgr == null) other.fontMgr != null else this.fontMgr != other.fontMgr) return false
        return features.contentDeepEquals(other.features)
    }