                 }
             }
             textLayer.wrapped = true
-            textLayer.fontSize = {
+            let fontSize:CGFloat = {
                 var ret = 20.0 / 320.0 * screenDimention.width // default
                 if let fontSize = self.info["fontSize"] as? CGFloat {
                     ret = fontSize
                 } else if let fontSize = self.info["fontSize"] as? String {
                     ret = SwipeParser.parsePercent(fontSize, full: dimension.height, defaultValue: ret)
                 }
-                return ret * self.scale.height
+                return round(ret * self.scale.height)
             }()
-            textLayer.foregroundColor = SwipeParser.parseColor(self.info["textColor"], defaultColor: blackColor)
+            attr[NSFontAttributeName] = UIFont(name: "Helvetica", size: fontSize)
+            //textLayer.foregroundColor = SwipeParser.parseColor(self.info["textColor"], defaultColor: blackColor)
+            attr[NSForegroundColorAttributeName] = SwipeParser.parseColor(self.info["textColor"], defaultColor: blackColor)
             processShadow(info, layer: textLayer)
+            textLayer.string = NSAttributedString(string: text, attributes: attr)
             self.textLayer = textLayer
         }
         

        var fTextTop = false
        if let text = parseText(info, key:"text") {
            let textLayer = CATextLayer()
            textLayer.string = text
            textLayer.alignmentMode = kCAAlignmentCenter
            func processAlignment(alignment:String) {
                switch(alignment) {

                return (rcText.size.height - rc.size.height) / 2
            }()
            textLayer.frame = rcText
textLayer.backgroundColor = UIColor.yellowColor().CGColor
            layer.addSublayer(textLayer)
view.addSubview(label)
#endif
        }
        
