0

enter image description here

How can I choose a non anti-aliasing font in Brackets (left) like Textmate 2 (right) on Mac?

ohho
  • 50,879
  • 75
  • 256
  • 383
  • Not sure about your question; but the type on the left is actually the anti-aliased text, and the TextMate text is aliased. – Scott Thiessen Sep 10 '14 at 04:27

2 Answers2

0

There is no 'flick of the switch'-option available I'm afraid. But there might be a solution;

Another thing you can try, as @larz alluded to, is changing the antialiasing setting>

  1. Inside the Brackets install folder, open www/styles/brackets.less (replace "www" with "src" if you're cloning from Git rather than installing the distro).
  2. Comment out the line that says -webkit-font-smoothing: antialiased;
  3. Save, and restart Brackets

U must admit I have not tested this, but it makes sense.

Source: GitHub: adobe/brackets/Code Editor font not clear on Linux #6094

Ronaldt
  • 440
  • 4
  • 13
0

You can use an aliased font by turning off -webkit-font-smoothing in your theme of choice.

  1. Goto Help > Show Extensions Folder
  2. Open the User folder
  3. Open the directory of the theme you want to update
  4. Open the css or less file (usually main.less)

Then add the following code to the end of the script:

*{-webkit-font-smoothing: none!important;}

Save the file and you should see the font switch immediately.

How you aliased font is rendered may also depend in some part on your OSX defaults.

You can try experimenting with the following settings get results you are happy with:

"Apple Global Domain" =     {
    AppleAntiAliasingThreshold = 100;
    AppleFontSmoothing = 0;
    AppleSmoothFixedFontsSizeThreshold = 100;
}

If setting these properties globally does change things, you can try setting them specifically for the brackets app.

f1lt3r
  • 2,176
  • 22
  • 26