             NSFontAttributeName: UIFont(name: fontName, size: fontSize)!,
             NSForegroundColorAttributeName: textColor,
             NSParagraphStyleAttributeName: style,
+            NSKernAttributeName: fontKern,
         ]
 
         return attributes

let creator2 = IconCreator()
IconCreator.loadFont("Pacifico.ttf")
creator2.fontName = "Pacifico"
creator2.fontScale = 0.6
creator2.preview()

let creator3 = IconCreator()

    }

    private func textAttributes(length: CGFloat) -> [String : AnyObject] {
        let fontSize = length * fontSizeScale
        let fontKern = length * fontKernScale

        let defaultStyle = NSParagraphStyle.defaultParagraphStyle()
        let style = defaultStyle.mutableCopy() as! NSMutableParagraphStyle
