{"action":"created","issue":{"url":"https://api.github.com/repos/Antondomashnev/ADTickerLabel/issues/10","labels_url":"https://api.github.com/repos/Antondomashnev/ADTickerLabel/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/Antondomashnev/ADTickerLabel/issues/10/comments","events_url":"https://api.github.com/repos/Antondomashnev/ADTickerLabel/issues/10/events","html_url":"https://github.com/Antondomashnev/ADTickerLabel/issues/10","id":69284661,"number":10,"title":"Incorrect line height calculation, and other issues","user":{"login":"Igor-Palaguta","id":800044,"avatar_url":"https://avatars.githubusercontent.com/u/800044?v=3","gravatar_id":"","url":"https://api.github.com/users/Igor-Palaguta","html_url":"https://github.com/Igor-Palaguta","followers_url":"https://api.github.com/users/Igor-Palaguta/followers","following_url":"https://api.github.com/users/Igor-Palaguta/following{/other_user}","gists_url":"https://api.github.com/users/Igor-Palaguta/gists{/gist_id}","starred_url":"https://api.github.com/users/Igor-Palaguta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Igor-Palaguta/subscriptions","organizations_url":"https://api.github.com/users/Igor-Palaguta/orgs","repos_url":"https://api.github.com/users/Igor-Palaguta/repos","events_url":"https://api.github.com/users/Igor-Palaguta/events{/privacy}","received_events_url":"https://api.github.com/users/Igor-Palaguta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-04-18T08:14:36Z","updated_at":"2015-04-21T09:38:35Z","closed_at":null,"body":"Hello,\r\n\r\nFirst of all thank you for library. It looks very pretty!\r\n\r\n1) try your library with [UIFont fontWithName: @\"HelveticaNeue-Light\" size: 20];\r\nPosition of characters is broken. Instead of lineHeight use:\r\n```\r\n[text boundingRectWithSize:CGSizeMake(self.characterWidth, MAXFLOAT)\r\n                                                  options:NSStringDrawingUsesLineFragmentOrigin\r\n                                               attributes:@{NSFontAttributeName: self.font}\r\n                                                  context:0]\r\n```\r\n**NSStringDrawingUsesLineFragmentOrigin** is required!\r\n\r\n2) Instead of changing frame of label, better create subview and change subview frame and add all characters there.\r\n\r\n3) It does not work with autolayout\r\n\r\n4) It can not be used inside xib\r\n\r\nI created fork with these changes, you can check it there: https://github.com/Igor-Palaguta/ADTickerLabel"},"comment":{"url":"https://api.github.com/repos/Antondomashnev/ADTickerLabel/issues/comments/94721862","html_url":"https://github.com/Antondomashnev/ADTickerLabel/issues/10#issuecomment-94721862","issue_url":"https://api.github.com/repos/Antondomashnev/ADTickerLabel/issues/10","id":94721862,"user":{"login":"Igor-Palaguta","id":800044,"avatar_url":"https://avatars.githubusercontent.com/u/800044?v=3","gravatar_id":"","url":"https://api.github.com/users/Igor-Palaguta","html_url":"https://github.com/Igor-Palaguta","followers_url":"https://api.github.com/users/Igor-Palaguta/followers","following_url":"https://api.github.com/users/Igor-Palaguta/following{/other_user}","gists_url":"https://api.github.com/users/Igor-Palaguta/gists{/gist_id}","starred_url":"https://api.github.com/users/Igor-Palaguta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Igor-Palaguta/subscriptions","organizations_url":"https://api.github.com/users/Igor-Palaguta/orgs","repos_url":"https://api.github.com/users/Igor-Palaguta/repos","events_url":"https://api.github.com/users/Igor-Palaguta/events{/privacy}","received_events_url":"https://api.github.com/users/Igor-Palaguta/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T09:38:35Z","updated_at":"2015-04-21T09:38:35Z","body":"Hello @Antondomashnev \r\n\r\nPlease check https://github.com/Antondomashnev/ADTickerLabel/pull/12"}}