aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Christian Pohle2020-07-08 18:05:02 +0200
committerMax Christian Pohle2020-07-08 18:05:02 +0200
commit6927d1d7241642d36e42a9421c81374b9b31ca80 (patch)
tree188c0bb5cc3ef34d332f3aba5c8be8d8af5d6d26
parentac11adf0b76ac3a07b5c2891aad9f4da040423ad (diff)
downloadvim-6927d1d7241642d36e42a9421c81374b9b31ca80.tar.bz2
vim-6927d1d7241642d36e42a9421c81374b9b31ca80.zip
Improved fontconfig with ligatures
-rw-r--r--utils/default-font.conf23
1 files changed, 18 insertions, 5 deletions
diff --git a/utils/default-font.conf b/utils/default-font.conf
index d7b43e2..b77c0f1 100644
--- a/utils/default-font.conf
+++ b/utils/default-font.conf
@@ -5,16 +5,29 @@
5 <match target="pattern"> 5 <match target="pattern">
6 <test name="family"><string>monospace</string></test> 6 <test name="family"><string>monospace</string></test>
7 <edit name="family" mode="prepend"> 7 <edit name="family" mode="prepend">
8 <string>Hack Nerd Font Mono</string> 8 <!--<string>Iosevka Term SS04</string>-->
9 <string>Hack</string>
10 <string>emoji</string>
11 <string>emojione</string>
12 <string>FuraCode Nerd Font Mono Medium</string> 9 <string>FuraCode Nerd Font Mono Medium</string>
13 <string>FiraCode Retina Retina</string> 10 <string>FiraCode Nerd Font</string>
11 <string>FuraCode Nerd Font</string>
12 <string>Noto Color Emoji</string>
13 </edit>
14 <edit name="fontfeatures" mode="append">
15 <string>liga on</string>
16 <string>dlig on</string>
14 </edit> 17 </edit>
15 <test name="slant" compare="not_eq"><const>italic</const></test> 18 <test name="slant" compare="not_eq"><const>italic</const></test>
16 <edit mode="assign" name="style"><string>bold</string></edit> 19 <edit mode="assign" name="style"><string>bold</string></edit>
17 </match> 20 </match>
21 <!-- Block Symbola from the list of fallback fonts. -->
22 <selectfont>
23 <rejectfont>
24 <pattern>
25 <patelt name="family">
26 <string>Symbola</string>
27 </patelt>
28 </pattern>
29 </rejectfont>
30 </selectfont>
18 <match target="pattern"> 31 <match target="pattern">
19 <test name="family"><string>serif</string></test> 32 <test name="family"><string>serif</string></test>
20 <edit name="family" mode="prepend"> 33 <edit name="family" mode="prepend">
..