         defaultFont: UIFont,
         defaultParagraphStyle: ParagraphStyle = ParagraphStyle.default,
         defaultMissingImage: UIImage) {
-        
-        self.defaultFont = defaultFont
+
+        if #available(iOS 11.0, *) {
+            self.defaultFont = UIFontMetrics.default.scaledFont(for: defaultFont)
+        } else {
+            self.defaultFont = defaultFont
+        }
         self.defaultParagraphStyle = defaultParagraphStyle
         self.defaultMissingImage = defaultMissingImage
 

    }

    required public init?(coder aDecoder: NSCoder) {

        defaultFont = UIFont.systemFont(ofSize: 14)
        defaultParagraphStyle = ParagraphStyle.default
        defaultMissingImage = Assets.imageIcon
        

    var defaultMissingImage: UIImage
    
    fileprivate var defaultAttributes: [AttributedStringKey: Any] {
        var attributes: [AttributedStringKey: Any] = [
            .font: defaultFont,
            .paragraphStyle: defaultParagraphStyle
        ]

        if let textColor = textColor {
            attributes[.foregroundColor] = textColor
        }

        return attributes
    }
