Home Download Buy Blog Forum Support

Sublime 2 / Monaco font & Italic

Sublime 2 / Monaco font & Italic

Postby mediastuttgart on Sun Jan 29, 2012 10:18 am

Hi there,

just installed the latest sublime2 beta and spend some hours in customizing. I'm very excited about all the possibilities sublime offers. However there's one thing i can't get working. I'm using the Monaco font on OSX Lion 10.7.2 and i want some parts of the code to be italic (like comments, etc.). I've already tried to change the settings for the theme i use (sunburst), which is already set to italic for comments.

I'm aware of that the monaco font has no italic version of itself. But coming from Textmate, the font is displayed in italic and even in bold. Regarding to some google results, there are two different options on how to render a font under osx. Unfortunately, i'm not sure if it depends on the font rendering thing and which option sublime2 uses.

It would be great if someone could help me out getting the font to work in italic or to clear things up.

kind regards
michael
Image
mediastuttgart
 
Posts: 4
Joined: Sun Jan 29, 2012 9:45 am

Re: Sublime 2 / Monaco font & Italic

Postby aziz on Sun Jan 29, 2012 5:23 pm

I have the same problem and it forced me to move away from Monaco, my favorite font, to consolas.
really love to find a solution for this.
PlainTasks: my opinionated todo plugin
tmThemeEditor color-scheme editor for SumblimeText and Textmate (code on github)
aziz
 
Posts: 40
Joined: Thu Jan 12, 2012 6:29 pm

Re: Sublime 2 / Monaco font & Italic

Postby jps on Sun Jan 29, 2012 10:22 pm

As you mention, Monaco doesn't have inbuilt italic or bold versions. Sublime Text uses Core Text on OS X, which as far as I know doesn't synthesize bold / italic variants, unlike the older ATSUI API.
jps
Site Admin
 
Posts: 3071
Joined: Wed Mar 19, 2008 12:33 pm

Re: Sublime 2 / Monaco font & Italic

Postby mediastuttgart on Mon Jan 30, 2012 5:24 am

i've read that it's possible to synthesize an italic font with core text by slanting the regular font (and also bold) - this works but looks a little bit ropey. nevertheless, it depends on if you would accept a feature request for this :) maybe as an option and disabled by default, so me and all the other monaco nerds could enable italic to bring down passions :P

alternatively i've found a commercial font similar to monaco.

http://new.myfonts.com/fonts/ef/lucida-mono/

regards
michael
mediastuttgart
 
Posts: 4
Joined: Sun Jan 29, 2012 9:45 am

Re: Sublime 2 / Monaco font & Italic

Postby vjpr on Sat Jun 08, 2013 7:20 am

I have created two Monaco fonts with different bold variants.

https://github.com/vjpr/monaco-bold

Enjoy!
vjpr
 
Posts: 1
Joined: Sat Jun 08, 2013 7:18 am


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot], qgates, subhaze, TurnitinBot [Bot], Yahoo [Bot] and 20 guests