{"action":"created","issue":{"url":"https://api.github.com/repos/Jiang-Fallen/JFDrawTextRefresh/issues/1","repository_url":"https://api.github.com/repos/Jiang-Fallen/JFDrawTextRefresh","labels_url":"https://api.github.com/repos/Jiang-Fallen/JFDrawTextRefresh/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Jiang-Fallen/JFDrawTextRefresh/issues/1/comments","events_url":"https://api.github.com/repos/Jiang-Fallen/JFDrawTextRefresh/issues/1/events","html_url":"https://github.com/Jiang-Fallen/JFDrawTextRefresh/issues/1","id":169093975,"number":1,"title":"文字绘制问题","user":{"login":"Qiuny","id":6902600,"avatar_url":"https://avatars.githubusercontent.com/u/6902600?v=3","gravatar_id":"","url":"https://api.github.com/users/Qiuny","html_url":"https://github.com/Qiuny","followers_url":"https://api.github.com/users/Qiuny/followers","following_url":"https://api.github.com/users/Qiuny/following{/other_user}","gists_url":"https://api.github.com/users/Qiuny/gists{/gist_id}","starred_url":"https://api.github.com/users/Qiuny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Qiuny/subscriptions","organizations_url":"https://api.github.com/users/Qiuny/orgs","repos_url":"https://api.github.com/users/Qiuny/repos","events_url":"https://api.github.com/users/Qiuny/events{/privacy}","received_events_url":"https://api.github.com/users/Qiuny/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-03T10:02:17Z","updated_at":"2016-11-07T06:40:24Z","closed_at":null,"body":"您好，\n        有幸学习了您的代码，无论是代码风格还是逻辑组织结构都是我获益良多，也是因为看了您做出的炫酷的下拉效果，我对CoreText产生了极大的兴趣，顺便补充了一下之前忽略的CALayer的知识，但是对于您获取文字path的代码- (void)settingLayerForText:(NSString *)text，我很难理解，又找不到比较详细的这方面的文章，所以能不能请您讲解一下或者推荐一些资料来学习呢？无论如何都非常感谢能学习到您的代码！\n"},"comment":{"url":"https://api.github.com/repos/Jiang-Fallen/JFDrawTextRefresh/issues/comments/258758304","html_url":"https://github.com/Jiang-Fallen/JFDrawTextRefresh/issues/1#issuecomment-258758304","issue_url":"https://api.github.com/repos/Jiang-Fallen/JFDrawTextRefresh/issues/1","id":258758304,"user":{"login":"Jiang-Fallen","id":17540605,"avatar_url":"https://avatars.githubusercontent.com/u/17540605?v=3","gravatar_id":"","url":"https://api.github.com/users/Jiang-Fallen","html_url":"https://github.com/Jiang-Fallen","followers_url":"https://api.github.com/users/Jiang-Fallen/followers","following_url":"https://api.github.com/users/Jiang-Fallen/following{/other_user}","gists_url":"https://api.github.com/users/Jiang-Fallen/gists{/gist_id}","starred_url":"https://api.github.com/users/Jiang-Fallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jiang-Fallen/subscriptions","organizations_url":"https://api.github.com/users/Jiang-Fallen/orgs","repos_url":"https://api.github.com/users/Jiang-Fallen/repos","events_url":"https://api.github.com/users/Jiang-Fallen/events{/privacy}","received_events_url":"https://api.github.com/users/Jiang-Fallen/received_events","type":"User","site_admin":false},"created_at":"2016-11-07T06:40:24Z","updated_at":"2016-11-07T06:40:24Z","body":"不好意思，对自己git维护比较少，所以没有及时看到你的问题。\r\n关于字形的获取，是网上找了现成的方法实现，如果你对它的原理感兴趣，可以阅读apple的官方文档，如下：\r\nhttps://developer.apple.com/reference/coretext/1665243-ctfont\r\n这里是类似来源码的网站：\r\nhttp://www.codexiu.cn/ios/blog/21812/\r\n以及相关知识的拓展：\r\nhttp://www.jianshu.com/p/35a28e4dfd27\r\n文章中未提及的部分：\r\n因为字体线条是有宽度的，所以直接获取到的会是空心字体，而字体\"HelveticaNeue-UltraLight\"的线条宽度值极小，所以哪怕在绘制path的宽度为1像素时，都能成功填满字体空隙"}}
{"actor":{"display_login":"Jiang-Fallen"}}