Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I determine the current font family being used by Sublime Text 2? [closed]

I am using the obsidian colour theme for Notepad++ and Sublime Text 2, but the font is not the same in each.

I prefer the font used by Sublime Text 2 seen in the screenshot below. How can I determine what that font family is so that I can set it in Notepad++?

Comparison of font family in each editor

like image 525
linjuming Avatar asked Jan 05 '13 05:01

linjuming


People also ask

What font family does sublime use?

Monokai is the default font on Sublime Text and was everywhere back in 2011, when it seemed like the whole world moved to Sublime.

How do I change the font family in Sublime Text?

Mac OS X: Sublime Text 3 > Preferences > Settings - User. Windows: Preferences > Settings - User. Linux: Preferences > Settings - User.

What is the default font size for Sublime Text?

For example, the default editor font size is 10pt. If you want 14pt text, copy the font-size attribute into the user prefernces file and change 10 to 14 . The changes are visible when you save the user preferences file.

What font is Monokai?

Getting Started Simply install the plugin and confirm that the theme and color scheme is set to Monokai Pro F. The recommended font is Fira Code Retina (https://github.com/tonsky/FiraCode) with font ligatures enabled.


1 Answers

it's Consolas , you can view the current font by typing:

view.settings().get('font_face')

nb: The shortcut for the console is

ctrl + `
like image 145
Amine Hajyoussef Avatar answered Oct 12 '22 12:10

Amine Hajyoussef