I am using Atom with the syntax theme Chester Atom (sorry, I cannot link to the theme due to new user’s limitation) on OS X and attempted to use Source Code Pro and its italic family. Italic is used for syntax highlights which assign italic shape for some keywords in certain languages.
First, I tried the following in
~/.atom/config.cson but this setting failed as shown in the picture. Italic’s weight is rather thicker than that of Source Code Pro ExtraLight Italic.
"*": editor: fontFamily: "SourceCodePro-ExtraLight,SourceCodePro-ExtraLightIt"
On the other hand, I can assign SourceCodePro-ExtraLight to Latin characters and Source Han Sans ExtraLight to Japanese characters with this code:
"*": editor: fontFamily: "SourceCodePro-ExtraLight,SourceHanSans-ExtraLight"
What I want to do is use
- Source Code Pro ExtraLight for Latin characters rendered in roman shape,
- Source Code Pro ExtraLight Italic for Latin characters rendered in italic shape, and
- Source Han Sans ExtraLight for Japanese characters. (I suppose this will be easy once the former two designations can be done.)
Is this kind of font selection possible?