{"id":14892,"date":"2016-06-20T11:16:45","date_gmt":"2016-06-20T15:16:45","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=14892"},"modified":"2016-06-20T11:18:11","modified_gmt":"2016-06-20T15:18:11","slug":"disabling-xcode-8-font-smoothing","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2016\/06\/20\/disabling-xcode-8-font-smoothing\/","title":{"rendered":"Disabling Xcode 8 Font Smoothing"},"content":{"rendered":"<p>Since Mac OS X <a href=\"http:\/\/mjtsai.com\/blog\/2013\/10\/29\/mavericks-font-smoothing\/\">10.9<\/a>, Xcode hasn&rsquo;t followed the normal system preferences for controlling font smoothing. Lately, I&rsquo;ve been using a <a href=\"http:\/\/mjtsai.com\/blog\/2015\/08\/14\/an-xcode-plug-in-for-unsmoothed-text\/\">plug-in<\/a> to work around this. Xcode 8 has a new editor extensions feature but won&rsquo;t load old-style plug-ins. Fortunately, Xcode 8 has changed so that it now respects the standard screen fonts preference, without having to use a plug-in:<\/p>\n<pre>defaults write com.apple.dt.Xcode NSFontDefaultScreenFontSubstitutionEnabled -bool YES<\/pre>\n<p>Note that whereas <a href=\"http:\/\/stackoverflow.com\/q\/19035411\/6311\">before<\/a>, the preferences window would obey the setting but the text editor wouldn&rsquo;t, now it&rsquo;s the reverse. You can&rsquo;t see the actual fonts as you&rsquo;re choosing them, but they do work when you&rsquo;re editing code. Unlike in other apps, the font smoothing in the editor seems to be either completely off or completely on. It does not respect the <code>AppleSmoothFixedFontsSizeThreshold<\/code> setting to only disable smoothing for smaller sizes.<\/p>","protected":false},"excerpt":{"rendered":"<p>Since Mac OS X 10.9, Xcode hasn&rsquo;t followed the normal system preferences for controlling font smoothing. Lately, I&rsquo;ve been using a plug-in to work around this. Xcode 8 has a new editor extensions feature but won&rsquo;t load old-style plug-ins. Fortunately, Xcode 8 has changed so that it now respects the standard screen fonts preference, without [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[649,104,30,1381,71,226],"class_list":["post-14892","post","type-post","status-publish","format-standard","hentry","category-technology","tag-esoteric-preferences","tag-fontsmoothing","tag-mac","tag-macos-10-12","tag-programming","tag-xcode"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/14892","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=14892"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/14892\/revisions"}],"predecessor-version":[{"id":14893,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/14892\/revisions\/14893"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=14892"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=14892"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=14892"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}