Alex Yim

« Back to blog

Fixing Textmate's font appearance on an external monitor

A problem that had been plaguing me for a while was my main programming text editor's font appearance was dimmed whenever I launch it up on my Dell 3008WFP. To make things tricky, the problem only showed up intermittently. Sometimes it would look perfectly fine. See the pictures below for a comparison.

 

(download)

It took me a while to figure out what caused it. It happens when I launch Textmate with my monitor connected. If I launch it on my laptop first, then connect it to the main monitor, then everything is fine. I had wrongly suspected that I had a monitor problem (sorry Dell).

A quick search on DuckDuckGo http://duckduckgo.com/?q=textmate+font+external+monitor+problem shows that OS X doesn't seem to detect the correct font smoothing style for flat panels. 

Choosing "Medium" fixed it.

 

Picture_5

 

I just had to share..

Sep 29, 2010
Alex Yim said...
I noticed the same problem when I upgraded to Snow Leopard:

Entering this in Terminal fixed it:
defaults -currentHost write -globalDomain AppleFontSmoothing -int 2

Dec 25, 2010
ebukva said...
Thanks for the FontSmoothing defaults command tip for fixing a font issues in TMate. Saved me a bunch of time & frustration...