Skip to content

Commit

Permalink
updated Test StyleKit for #1
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed Jun 2, 2016
1 parent c52110e commit ada254c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github "PureSwift/Cairo" "aada9126e1e2f1ef1f6dd05dd6448c5ffc1c330b"
github "PureSwift/Silica" "c4ffaf278b38e0dabc39b8f861d34d43ef4cd14d"
github "PureSwift/Silica" "f344df4ffe07fe550f6561388b6995c8815bc0e7"
2 changes: 1 addition & 1 deletion Sources/CacaoTests/TestStyleKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ public class TestStyleKit : NSObject {
let text4Style = NSMutableParagraphStyle()
text4Style.alignment = .Right

let text4FontAttributes: [String: Any] = [NSFontAttributeName: UIFont(name: "ComicSansMS", size: 17)!, NSForegroundColorAttributeName: UIColor.whiteColor(), NSParagraphStyleAttributeName: text4Style]
let text4FontAttributes: [String: Any] = [NSFontAttributeName: UIFont(name: "ComicSansMS-Bold", size: 17)!, NSForegroundColorAttributeName: UIColor.whiteColor(), NSParagraphStyleAttributeName: text4Style]

let text4TextHeight: CGFloat = text4TextContent.boundingRectWithSize(CGSize(width: text4Rect.width, height: CGFloat.infinity), options: NSStringDrawingOptions.UsesLineFragmentOrigin, attributes: text4FontAttributes, context: nil).size.height
CGContextSaveGState(context)
Expand Down

0 comments on commit ada254c

Please sign in to comment.