Home Download Buy Blog Forum Support

User font-face setting ignored

User font-face setting ignored

Postby dirtyrobot on Wed Feb 27, 2013 10:08 pm

Hello,

I've come across a strange problem that I can't resolve (I have Googled). First, some details:

Sublime Text 2 Build 2220
Mac OS X 10.8.2

Today I decided to try a new font and made the necessary edit to User>Preferences.sublime-settings:
Code: Select all
{
   "color_scheme": "Packages/Ciapre Color Scheme/CiapreBlack.tmTheme",
   "font-face": "Inconsolata",
   "font_size": 12,
   "theme": "Soda Dark.sublime-theme"
}


Upon save or restart there are no changes. I did manage to change it once while editing Default>Preferences (OSX).sublime-settings but since then no luck (I have since switched Default>Preferences (OSX).sublime-settings back to its original state). I am aware that the only file I need to edit is the User>Preferences one but I was desperate. One thing to note is that changing the font size works upon save.

Any ideas?
dirtyrobot
 
Posts: 4
Joined: Wed Feb 27, 2013 9:40 pm

Re: User font-face setting ignored

Postby dirtyrobot on Wed Feb 27, 2013 10:32 pm

Oops, spoke too soon, that didn't work.

Well I solved that easily enough. Copied the contents of the Pref file, shut down Sublime Text, deleted the pref file, restarted and re-added pref file contents.
dirtyrobot
 
Posts: 4
Joined: Wed Feb 27, 2013 9:40 pm

Re: User font-face setting ignored

Postby jps on Wed Feb 27, 2013 10:59 pm

It's font_face, rather than font-face
jps
Site Admin
 
Posts: 3071
Joined: Wed Mar 19, 2008 12:33 pm

Re: User font-face setting ignored

Postby dirtyrobot on Wed Feb 27, 2013 11:52 pm

jps wrote:It's font_face, rather than font-face


*face-palm* :oops: Thanks jps
dirtyrobot
 
Posts: 4
Joined: Wed Feb 27, 2013 9:40 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 15 guests