{"action":"opened","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/20642","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/20642/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/20642/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/20642/events","html_url":"https://github.com/facebook/react-native/issues/20642","id":349840268,"node_id":"MDU6SXNzdWUzNDk4NDAyNjg=","number":20642,"title":"Custom Font Extra Padding Issue","user":{"login":"ayehia","id":12626365,"node_id":"MDQ6VXNlcjEyNjI2MzY1","avatar_url":"https://avatars0.githubusercontent.com/u/12626365?v=4","gravatar_id":"","url":"https://api.github.com/users/ayehia","html_url":"https://github.com/ayehia","followers_url":"https://api.github.com/users/ayehia/followers","following_url":"https://api.github.com/users/ayehia/following{/other_user}","gists_url":"https://api.github.com/users/ayehia/gists{/gist_id}","starred_url":"https://api.github.com/users/ayehia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ayehia/subscriptions","organizations_url":"https://api.github.com/users/ayehia/orgs","repos_url":"https://api.github.com/users/ayehia/repos","events_url":"https://api.github.com/users/ayehia/events{/privacy}","received_events_url":"https://api.github.com/users/ayehia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-12T20:11:09Z","updated_at":"2018-08-12T20:11:09Z","closed_at":null,"author_association":"NONE","body":"I am using a custom font (Cairo) for both Android & IOS, the font rendered with an extra padding for both platforms like the following\r\n\r\n![image](https://user-images.githubusercontent.com/12626365/44005967-5bfba814-9e7c-11e8-8a60-93bc1e85308e.png)\r\n\r\nWhen I tried to set lineHeight=[fontSize] I got the following\r\n\r\n![image](https://user-images.githubusercontent.com/12626365/44005974-747cd53e-9e7c-11e8-9490-1acee643330f.png)\r\n\r\nI tried to set lineGap=0 following this article: [Consistent font line height rendering](https://medium.com/@martin_adamko/consistent-font-line-height-rendering-42068cc2957d) but I find that it's already ZERO\r\n\r\nAlso tried the paddingTop solution but it's not working at all just shift the text down with the bottom space like the above images\r\n\r\nHope anyone can help :)"}}
{"actor":{"display_login":"ayehia"}}