             attributes[NSForegroundColorAttributeName] = unselectedColor
         }
         
-        if let highlightFont = UIFont(name: highlightfontName, size: highlightfontSize) where useDifferentHighlightFont == true {
+        if let highlightFont = UIFont(name: highlightfontName, size: highlightfontSize) {
             attributes[NSFontAttributeName] = highlightFont
         }
 

            case .Custom: attributes[NSForegroundColorAttributeName] = customColor[type] ?? defaultCustomColor
            }
            
            if let highlightFont = UIFont(name: highlightfontName, size: highlightfontSize) where useDifferentHighlightFont == true {
                attributes[NSFontAttributeName] = highlightFont
            }


        didSet { updateTextStorage(parseText: false) }
    }
    @IBInspectable public var highlightfontSize: CGFloat = 12 {
        didSet { updateTextStorage(parseText: false) }
    }

