Zoltán Majoros, freelancer iOS developer living in Bonn, Germany.

Contact: info@arcanelab.com

Posts Tagged: osx

Change OS X font smoothing in one application

With the method described on the linked page, you can arbitrarily set the level of (or turn off) font smoothing in Mac OS X for almost any given application. Valid values are: 0-3. For the correct “DNS” sequence take a look into ~/Library/Preferences/.

For example, let’s set the system-wide font smoothing value to 1 and turn off subpixel font smoothing for the Terminal app:

defaults -currentHost write -globalDomain AppleFontSmoothing -int 1
defaults com.apple.Terminal AppleFontSmoothing -int 0

To check the current value, replace write with read and leave off the value at the end, for example:

defaults -currentHost read -globalDomain AppleFontSmoothing

Happy hacking!

Text

Without much rambling, a solution for the problem presented in the title: http://code.google.com/p/qlcolorcode/

To change the color style (theme), use the following command:

defaults write org.n8gray.QLColorCode hlTheme [theme name]

Where [theme name] can be:

acid, bipolar, blacknblue, bright, contrast, darkblue, darkness, desert, easter, emacs, golden, greenlcd, ide-anjuta, ide-codewarrior, ide-devcpp, ide-eclipse, ide-kdev, ide-msvcpp, ide-xcode, kwrite, lucretia, matlab, moe, navy, nedit, neon, night, orion, pablo, peachpuff, print, rand01, seashell, slateGreen, the, typical, vampire, vim-dark, vim, whitengrey, zellner

More customization info here.

Have fun!