             }
             textLabel.backgroundColor = UIColor.clear
             textLabel.textColor = item.textColor
-            textLabel.font = item.textFont
+            textLabel.font =  UIFont.systemFont(ofSize: item.textFontSize)
             textLabel.textAlignment = NSTextAlignment.center
             textLabel.translatesAutoresizingMaskIntoConstraints = false
 

    @IBOutlet open var animation: RAMItemAnimation!

    /// The font used to render the UITabBarItem text.
    open var textFont: UIFont = UIFont.systemFont(ofSize: 10)

    /// The color of the UITabBarItem text.
    @IBInspectable open var textColor: UIColor = UIColor.black


            container.addSubview(textLabel)
            let textLabelWidth = tabBar.frame.size.width / CGFloat(items.count) - 5.0
            createConstraints(textLabel, container: container, width: textLabelWidth, yOffset: 16 - item.yOffSet, heightRelation: .greaterThanOrEqual)

            if item.isEnabled == false {
                icon.alpha = 0.5
