{"action":"opened","issue":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/4997","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/4997/labels{/name}","comments_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/4997/comments","events_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/4997/events","html_url":"https://github.com/lionheart/openradar-mirror/issues/4997","id":100719740,"number":4997,"title":"13897810: UITextView ignores minimum/maximum line height in attributed string","user":{"login":"openradar-mirror","id":13605213,"avatar_url":"https://avatars.githubusercontent.com/u/13605213?v=3","gravatar_id":"","url":"https://api.github.com/users/openradar-mirror","html_url":"https://github.com/openradar-mirror","followers_url":"https://api.github.com/users/openradar-mirror/followers","following_url":"https://api.github.com/users/openradar-mirror/following{/other_user}","gists_url":"https://api.github.com/users/openradar-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/openradar-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openradar-mirror/subscriptions","organizations_url":"https://api.github.com/users/openradar-mirror/orgs","repos_url":"https://api.github.com/users/openradar-mirror/repos","events_url":"https://api.github.com/users/openradar-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/openradar-mirror/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lionheart/openradar-mirror/labels/classification:serious%20bug","name":"classification:serious bug","color":"e11d21"},{"url":"https://api.github.com/repos/lionheart/openradar-mirror/labels/reproducible:always","name":"reproducible:always","color":"5319e7"},{"url":"https://api.github.com/repos/lionheart/openradar-mirror/labels/status:open","name":"status:open","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/milestones/89","html_url":"https://github.com/lionheart/openradar-mirror/milestones/iPhone%20SDK","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/milestones/89/labels","id":1238708,"number":89,"title":"iPhone SDK","description":null,"creator":{"login":"openradar-mirror","id":13605213,"avatar_url":"https://avatars.githubusercontent.com/u/13605213?v=3","gravatar_id":"","url":"https://api.github.com/users/openradar-mirror","html_url":"https://github.com/openradar-mirror","followers_url":"https://api.github.com/users/openradar-mirror/followers","following_url":"https://api.github.com/users/openradar-mirror/following{/other_user}","gists_url":"https://api.github.com/users/openradar-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/openradar-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openradar-mirror/subscriptions","organizations_url":"https://api.github.com/users/openradar-mirror/orgs","repos_url":"https://api.github.com/users/openradar-mirror/repos","events_url":"https://api.github.com/users/openradar-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/openradar-mirror/received_events","type":"User","site_admin":false},"open_issues":50,"closed_issues":0,"state":"open","created_at":"2015-08-03T16:26:33Z","updated_at":"2015-08-13T09:02:09Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-08-13T09:02:09Z","updated_at":"2015-08-13T09:02:09Z","closed_at":null,"body":"#### Description\n\nThis is a duplicate of rdar://12863734\n\nSummary:\r\n\r\nIf an attributed string contains both a font attribute as well as a paragraph style attribute that sets minimum/maximum line height those line height constraints are ignored.\r\n\r\nSteps to Reproduce:\r\n\r\nCreate an attributed string that contains a font and paragraph style attribute. Make sure the paragraph style attribute sets a minimum and maximum line height that is less than the font line height.\r\nSet this attributed string on a UITextView's attributedString property.\r\n\r\nExpected Results:\r\n\r\nThe lines should be spaced by the amount of the specified minimum/maximum.\r\n\r\nActual Results:\r\n\r\nThe lines are spaced as they would be without the paragraph style settings.\r\n\r\nRegression:\r\n\r\nUITextView only supports attributed strings since iOS 6. Since then this is broken.\r\n\r\nNotes:\r\n\r\nThe problem seems to result if you have multiple different fonts, like when you have some bold or italic text in the string.\n\n-\nProduct Version: 6.0\nCreated: 2013-05-15T09:32:03.544435\nOriginated: 2013-05-15T11:31:00\nOpen Radar Link: http://www.openradar.me/13897810"}}