 // KeyboardTextKey
-// version 1.0
-
+// version 1.1
 // This keyboard key has two text string locations for vertical Mongolian script, one centered and one in the bottom right.
-
 import UIKit
 
 @IBDesignable

}

// MARK: - Key Text Layer Class

class KeyboardKeyTextLayer: CATextLayer {
    
    // set this to false if not using a mirrored font

        let myAttributes = [
            NSFontAttributeName: UIFont(name: mongolFontName, size: fontSizeToUse )! ,
            NSForegroundColorAttributeName: primaryStringFontColor
            ] as [String : Any]
        let attrString = NSMutableAttributedString(string: primaryLayer.displayString, attributes: myAttributes )
        let size = dimensionsForAttributedString(attrString)
        
