 
 private extension NSAttributedString {
     
-    var bounds: NSRect {
+    var pathBounds: NSRect {
         
         let line = CTLineCreateWithAttributedString(self as CFAttributedString)
         

    /// required size
    override var intrinsicContentSize: NSSize {
        
        return self.attributedStringValue.bounds.integral.size
    }
    
    

        guard let context = NSGraphicsContext.current?.cgContext else { return assertionFailure() }
        
        let line = CTLineCreateWithAttributedString(self.attributedStringValue as CFAttributedString)
        let bounds = self.attributedStringValue.pathBounds.integral
        
        context.saveGState()
        
