- Default font: Roboto Mono , 14pt, Light
- Italic font: Victor Mono , 14pt, Semilight
- Bold font: Roboto Mono , 14pt, Regular
- Unicode font: Inconsolata , 16pt, Light
- Icon font: Roboto Mono Nerd , 12pt, Light
Text excerpt using a gorgeous and true italic font (Victor Mono), chosen to really stand out from the default font (Roboto Mono). ┌───────────────────────────────────────────────┐ │ The quick brown fox jumps over the lazy dog │ │ The quick brown fox jumps over the lazy dog ┼─ Victor Mono Italic │ The quick brown fox jumps over the lazy dog ├─ Inconsolata └─┼───────────────────────────┼─────────────────┘ Roboto Mono Nerd Roboto Mono
To use this font stack, you first has to install font on your system and then you can configure it with:
(set-face-attribute 'default nil
:family "Roboto Mono" :weight 'light :height 140)
(set-face-attribute 'bold nil
:family "Roboto Mono" :weight 'regular)
(set-face-attribute 'italic nil
:family "Victor Mono" :weight 'semilight :slant 'italic)
(set-fontset-font t 'unicode
(font-spec :name "Inconsolata Light" :size 16) nil)
(set-fontset-font t '(#xe000 . #xffdd)
(font-spec :name "RobotoMono Nerd Font" :size 12) nil)
Note that the Victor Mono needs to be hacked such as to have the same line height as Roboto Mono. To do that, you can use the font-line utility (github.com/source-foundry/font-line): copy all the italic faces from the Victor Mono ttf file into a directoy and type: font-line percent 10 *.ttf
. This will create a new set of files that you can use to replace the Victor Mono italic faces on your system.