Home Download Buy Blog Forum Support

Dev build 2075

Dev build 2075

Postby mok on Sat Jul 02, 2011 6:53 pm

There was no official thread for this latest build, so...

This is the first time I have installed Sublime Text on Linux (via webupd8 PPA). How do I fix the antialiasing? In the following two screenshots, I prefer the former (gedit):
http://imm.io/73ML
http://imm.io/73MR

The font is configured to be Droid Sans Mono size 8 in both cases. Thank you.

EDIT: When I change my 'Base File.sublime-settings' file to show the following:
Code: Select all
{
   "color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
   "font_face": "Droid Sans Mono",
   "font_size": 8,
   "font_options":"subpixel_antialias"
}


The result is somewhat better, but not exactly like it appears in gedit.
mok
 
Posts: 6
Joined: Sat Jul 02, 2011 6:45 pm

Re: Dev build 2075

Postby jps on Sun Jul 03, 2011 12:14 am

In your screenshot of Sublime Text 2, it's not using Droid Sans Mono - it's the fallback variable width font.

Have you restarted Sublime Text 2 after installing the font?
jps
Site Admin
 
Posts: 3062
Joined: Wed Mar 19, 2008 12:33 pm

Re: Dev build 2075

Postby mok on Sun Jul 03, 2011 12:46 am

Thank you for your reply! I have the the Droid fonts installed along with the OS (10.04, right when it was released). And yes, I have restarted ST2 many times since then. You are right about the font being NOT Droid Sans Mono. This is the latest screenshot; the antialiasing is still not 'perfect' like the gedit screenshot.

http://imm.io/74wd
mok
 
Posts: 6
Joined: Sat Jul 02, 2011 6:45 pm

Re: Dev build 2075

Postby jps on Sun Jul 03, 2011 9:43 am

Subpixel antialiasing isn't enabled in your latest screenshot - you can verify this by zooming in and looking for the telltale colored pixels.

Add this line to your settings:

Code: Select all
"font_options": ["subpixel_antialias"]


Note the square brackets - they're required for the setting to be picked up.

It's an oversight on my part that subpixel antialiasing isn't enabled by default on Linux - this will be changing in future builds.
jps
Site Admin
 
Posts: 3062
Joined: Wed Mar 19, 2008 12:33 pm

Re: Dev build 2075

Postby mok on Sun Jul 03, 2011 1:32 pm

Thanks, it looks much better now; although it is still a bit 'different'.

http://imm.io/75yE

Maybe it is because of the different backgrounds. Either way, I'm satisfied.
mok
 
Posts: 6
Joined: Sat Jul 02, 2011 6:45 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 26 guests