     }
 
     required public init?(coder aDecoder: NSCoder) {
-
-        defaultFont = UIFont.systemFont(ofSize: 14)
+        let font = UIFont.systemFont(ofSize: 14)
+        if #available(iOS 11.0, *) {
+            self.defaultFont = UIFontMetrics.default.scaledFont(for: font)
+        } else {
+            self.defaultFont = font
+        }
+
         defaultParagraphStyle = ParagraphStyle.default
         defaultMissingImage = Assets.imageIcon
         

        defaultFont: UIFont,
        defaultParagraphStyle: ParagraphStyle = ParagraphStyle.default,
        defaultMissingImage: UIImage) {
        
        self.defaultFont = defaultFont
        self.defaultParagraphStyle = defaultParagraphStyle
        self.defaultMissingImage = defaultMissingImage


    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
    }
