         
         if let font = data["font"] as? [String:Any] {
             if let name = font["name"] as? String {
-                self.fontName = name
+                self._fontName = name
             }
             if let sizeAny = font["size"] {
                 if let size = sizeAny as? CGFloat {
-                    self.fontSize = size
+                    self._fontSize = size
                 } else {
                     print("WARNING: Style definition for '\(self.name)' has a font size of type String, change to a Number in the styles.plist")
                 }

    
    private let _parent:TextStyle?
    
    private (set) var fontName:String?
    private (set) var fontSize:CGFloat?
    private var _fullUppercaseText:Bool?
    
    

    
    // -----------------------------------------------------------------------------------------------------------------------
    //
    // MARK: - Computed properties
    //
    // -----------------------------------------------------------------------------------------------------------------------
    
    var fontName:String? {
        get {
            return self._fontName ?? self._parent?.fontName
        }
    }
    
    var fontSize:CGFloat? {
        get {
            return self._fontSize ?? self._parent?.fontSize
        }
    }
    
    
    // -----------------------------------------------------------------------------------------------------------------------
    //
    // MARK: - Internal methods
    //
    // -----------------------------------------------------------------------------------------------------------------------
