{"action":"created","issue":{"url":"https://api.github.com/repos/contao/contao/issues/98","repository_url":"https://api.github.com/repos/contao/contao","labels_url":"https://api.github.com/repos/contao/contao/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/contao/contao/issues/98/comments","events_url":"https://api.github.com/repos/contao/contao/issues/98/events","html_url":"https://github.com/contao/contao/issues/98","id":364060566,"node_id":"MDU6SXNzdWUzNjQwNjA1NjY=","number":98,"title":"Drop Lato in favor of a native font stack","user":{"login":"leofeyer","id":1192057,"node_id":"MDQ6VXNlcjExOTIwNTc=","avatar_url":"https://avatars0.githubusercontent.com/u/1192057?v=4","gravatar_id":"","url":"https://api.github.com/users/leofeyer","html_url":"https://github.com/leofeyer","followers_url":"https://api.github.com/users/leofeyer/followers","following_url":"https://api.github.com/users/leofeyer/following{/other_user}","gists_url":"https://api.github.com/users/leofeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/leofeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leofeyer/subscriptions","organizations_url":"https://api.github.com/users/leofeyer/orgs","repos_url":"https://api.github.com/users/leofeyer/repos","events_url":"https://api.github.com/users/leofeyer/events{/privacy}","received_events_url":"https://api.github.com/users/leofeyer/received_events","type":"User","site_admin":false},"labels":[{"id":1028270366,"node_id":"MDU6TGFiZWwxMDI4MjcwMzY2","url":"https://api.github.com/repos/contao/contao/labels/feature","name":"feature","color":"3364b7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/contao/contao/milestones/2","html_url":"https://github.com/contao/contao/milestone/2","labels_url":"https://api.github.com/repos/contao/contao/milestones/2/labels","id":3583777,"node_id":"MDk6TWlsZXN0b25lMzU4Mzc3Nw==","number":2,"title":"4.7.0","description":"","creator":{"login":"leofeyer","id":1192057,"node_id":"MDQ6VXNlcjExOTIwNTc=","avatar_url":"https://avatars0.githubusercontent.com/u/1192057?v=4","gravatar_id":"","url":"https://api.github.com/users/leofeyer","html_url":"https://github.com/leofeyer","followers_url":"https://api.github.com/users/leofeyer/followers","following_url":"https://api.github.com/users/leofeyer/following{/other_user}","gists_url":"https://api.github.com/users/leofeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/leofeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leofeyer/subscriptions","organizations_url":"https://api.github.com/users/leofeyer/orgs","repos_url":"https://api.github.com/users/leofeyer/repos","events_url":"https://api.github.com/users/leofeyer/events{/privacy}","received_events_url":"https://api.github.com/users/leofeyer/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":1,"state":"open","created_at":"2018-08-20T14:28:40Z","updated_at":"2018-09-28T16:23:31Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2018-09-26T14:31:49Z","updated_at":"2018-10-04T09:15:32Z","closed_at":null,"author_association":"MEMBER","body":"You might be aware that [Apple has disabled Subpixel antialiasing for text in macOS Mojave](https://ahmadawais.com/fix-macos-mojave-font-rendering-issue/), so this is how the Contao back end looks in Chrome and Firefox now:\r\n\r\n<img width=\"832\" alt=\"\" src=\"https://user-images.githubusercontent.com/1192057/46086678-e6769e00-c1a8-11e8-998f-a202dff0f1e5.png\">\r\n\r\nThe problem only occurs on Retina displays, where we use extra thin fonts. A short-term fix is to simply drop those thin fonts:\r\n\r\n<img width=\"837\" alt=\"so bad\" src=\"https://user-images.githubusercontent.com/1192057/46086760-1de54a80-c1a9-11e8-936a-9539c7e13930.png\">\r\n\r\nHowever, in the long run (Contao 4.7), I would prefer to drop Lato in favor of a native font stack as used by [Bootstrap](https://getbootstrap.com/docs/4.1/content/reboot/#native-font-stack), GitHub, Gitlab, Medium and many more.\r\n\r\n```css\r\n/* Text */\r\nfont-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\r\n\r\n/* Code */\r\nfont-family: SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\r\n```\r\n\r\nHere is how it would look like:\r\n\r\n<img width=\"837\" alt=\"\" src=\"https://user-images.githubusercontent.com/1192057/46086950-8e8c6700-c1a9-11e8-8b73-3b722d6d8cb0.png\">\r\n\r\n<img width=\"781\" alt=\"\" src=\"https://user-images.githubusercontent.com/1192057/46086957-92b88480-c1a9-11e8-97d6-6410a8ca7adf.png\">\r\n\r\n@contao/developers @fritzmg @frontendschlampe What do you think?\r\n"},"comment":{"url":"https://api.github.com/repos/contao/contao/issues/comments/426945257","html_url":"https://github.com/contao/contao/issues/98#issuecomment-426945257","issue_url":"https://api.github.com/repos/contao/contao/issues/98","id":426945257,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjk0NTI1Nw==","user":{"login":"leofeyer","id":1192057,"node_id":"MDQ6VXNlcjExOTIwNTc=","avatar_url":"https://avatars0.githubusercontent.com/u/1192057?v=4","gravatar_id":"","url":"https://api.github.com/users/leofeyer","html_url":"https://github.com/leofeyer","followers_url":"https://api.github.com/users/leofeyer/followers","following_url":"https://api.github.com/users/leofeyer/following{/other_user}","gists_url":"https://api.github.com/users/leofeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/leofeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leofeyer/subscriptions","organizations_url":"https://api.github.com/users/leofeyer/orgs","repos_url":"https://api.github.com/users/leofeyer/repos","events_url":"https://api.github.com/users/leofeyer/events{/privacy}","received_events_url":"https://api.github.com/users/leofeyer/received_events","type":"User","site_admin":false},"created_at":"2018-10-04T09:15:32Z","updated_at":"2018-10-04T09:15:32Z","author_association":"MEMBER","body":"> some texts and labels which currently have a font-weight of 700 could be reduced to 600\r\n\r\nI think so, too. Same here on Mac"}}
{"actor":{"display_login":"leofeyer"}}