{"action":"created","issue":{"url":"https://api.github.com/repos/ibireme/YYText/issues/334","repository_url":"https://api.github.com/repos/ibireme/YYText","labels_url":"https://api.github.com/repos/ibireme/YYText/issues/334/labels{/name}","comments_url":"https://api.github.com/repos/ibireme/YYText/issues/334/comments","events_url":"https://api.github.com/repos/ibireme/YYText/issues/334/events","html_url":"https://github.com/ibireme/YYText/issues/334","id":156485535,"number":334,"title":"设置YYTextBorder 时 纯数字或字母 和汉字的高度 不一致","user":{"login":"billxie1988","id":8359662,"avatar_url":"https://avatars.githubusercontent.com/u/8359662?v=3","gravatar_id":"","url":"https://api.github.com/users/billxie1988","html_url":"https://github.com/billxie1988","followers_url":"https://api.github.com/users/billxie1988/followers","following_url":"https://api.github.com/users/billxie1988/following{/other_user}","gists_url":"https://api.github.com/users/billxie1988/gists{/gist_id}","starred_url":"https://api.github.com/users/billxie1988/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/billxie1988/subscriptions","organizations_url":"https://api.github.com/users/billxie1988/orgs","repos_url":"https://api.github.com/users/billxie1988/repos","events_url":"https://api.github.com/users/billxie1988/events{/privacy}","received_events_url":"https://api.github.com/users/billxie1988/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-05-24T11:38:36Z","updated_at":"2016-09-27T07:02:49Z","closed_at":"2016-05-25T15:20:22Z","body":"```\r\n    NSMutableAttributedString *text = [NSMutableAttributedString new];\r\n    UIFont *font = [UIFont systemFontOfSize:11];\r\n    for (int i = 0; i < houseTags.count; i++) {\r\n        UIColor *tagStrokeColor = tagStrokeColors[i];        //UIColor *tagFillColor = tagFillColors[i];\r\n        NSString *tag = tagArray[i];\r\n        NSMutableAttributedString *tagText = [[NSMutableAttributedString alloc] initWithString:tag];\r\n        [tagText yy_insertString:@\" \" atIndex:0];\r\n        [tagText yy_appendString:@\"  \"];\r\n        tagText.yy_font = font;\r\n        tagText.yy_color = tagStrokeColor;\r\n        [tagText yy_setTextBinding:[YYTextBinding bindingWithDeleteConfirm:NO] range:tagText.yy_rangeOfAll];\r\n        YYTextBorder *border = [YYTextBorder new];\r\n        border.strokeWidth = 1;\r\n        border.strokeColor = tagStrokeColor;\r\n        border.cornerRadius = 1; \r\n        border.lineJoin = kCGLineJoinBevel;\r\n        border.insets = UIEdgeInsetsMake(-2, -2, -2, -2);\r\n        [tagText yy_setTextBackgroundBorder:border range:[tagText.string rangeOfString:tag]];\r\n        [text appendAttributedString:tagText];\r\n    }\r\n    self.tagLabel.textContainerInset = UIEdgeInsetsMake(3, 0, 0, 0);\r\n    self.tagLabel.attributedText = text;\r\n\r\n```\r\n![image](https://cloud.githubusercontent.com/assets/8359662/15502532/15b7c9d2-21e7-11e6-9775-e5687a0924b1.png)\r\n"},"comment":{"url":"https://api.github.com/repos/ibireme/YYText/issues/comments/249782914","html_url":"https://github.com/ibireme/YYText/issues/334#issuecomment-249782914","issue_url":"https://api.github.com/repos/ibireme/YYText/issues/334","id":249782914,"user":{"login":"xuanyi0627","id":7744313,"avatar_url":"https://avatars.githubusercontent.com/u/7744313?v=3","gravatar_id":"","url":"https://api.github.com/users/xuanyi0627","html_url":"https://github.com/xuanyi0627","followers_url":"https://api.github.com/users/xuanyi0627/followers","following_url":"https://api.github.com/users/xuanyi0627/following{/other_user}","gists_url":"https://api.github.com/users/xuanyi0627/gists{/gist_id}","starred_url":"https://api.github.com/users/xuanyi0627/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuanyi0627/subscriptions","organizations_url":"https://api.github.com/users/xuanyi0627/orgs","repos_url":"https://api.github.com/users/xuanyi0627/repos","events_url":"https://api.github.com/users/xuanyi0627/events{/privacy}","received_events_url":"https://api.github.com/users/xuanyi0627/received_events","type":"User","site_admin":false},"created_at":"2016-09-27T07:02:49Z","updated_at":"2016-09-27T07:02:49Z","body":"@ibireme @billxie1988 请问在button上为什么设置圆角失败呢"}}
{"actor":{"display_login":"xuanyi0627"}}