Browse Source

fix up fonts

Cullum Smith 2 years ago
parent
commit
6a08b9f73e
4 changed files with 54 additions and 6 deletions
  1. 48
    0
      fontconfig/.config/fontconfig/fonts.conf
  2. 2
    2
      gtk/.config/gtk-3.0/settings.ini
  3. 2
    2
      gtk/.gtkrc-2.0
  4. 2
    2
      x11/.Xresources

+ 48
- 0
fontconfig/.config/fontconfig/fonts.conf View File

@@ -0,0 +1,48 @@
1
+<?xml version='1.0'?>
2
+<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
3
+<fontconfig>
4
+  <!-- hinting/antialiasing settings -->
5
+  <match target="font">
6
+    <edit mode="assign" name="antialias">
7
+      <bool>true</bool>
8
+    </edit>
9
+    <edit mode="assign" name="hinting">
10
+      <bool>true</bool>
11
+    </edit>
12
+    <edit mode="assign" name="hintstyle">
13
+      <const>hintslight</const>
14
+    </edit>
15
+    <edit mode="assign" name="lcdfilter">
16
+      <const>lcddefault</const>
17
+    </edit>
18
+    <edit mode="assign" name="rgba">
19
+      <const>rgb</const>
20
+    </edit>
21
+  </match>
22
+
23
+  <!-- preferred fonts (first match will be used) -->
24
+  <alias>
25
+    <family>sans-serif</family>
26
+    <prefer>
27
+      <family>Arimo</family>
28
+      <family>Liberation Sans</family>
29
+      <family>DejaVu Sans</family>
30
+    </prefer>
31
+  </alias>
32
+  <alias>
33
+    <family>serif</family>
34
+    <prefer>
35
+      <family>Tinos</family>
36
+      <family>Liberation Serif</family>
37
+      <family>DejaVu Serif</family>
38
+    </prefer>
39
+  </alias>
40
+  <alias>
41
+    <family>monospace</family>
42
+    <prefer>
43
+      <family>Cousine</family>
44
+      <family>Liberation Mono</family>
45
+      <family>DejaVu Sans Mono</family>
46
+    </prefer>
47
+  </alias>
48
+</fontconfig>

+ 2
- 2
gtk/.config/gtk-3.0/settings.ini View File

@@ -1,7 +1,7 @@
1 1
 [Settings]
2 2
 gtk-xft-antialias = 1
3
-gtk-xft-hinting = 0
4
-gtk-xft-hintstyle = hintnone
3
+gtk-xft-hinting = 1
4
+gtk-xft-hintstyle = hintslight
5 5
 gtk-xft-rgba = rgb
6 6
 gtk-font-name = Sans 9
7 7
 gtk-cursor-theme-name = Default

+ 2
- 2
gtk/.gtkrc-2.0 View File

@@ -1,6 +1,6 @@
1 1
 gtk-xft-antialias=1
2
-gtk-xft-hinting=0
3
-gtk-xft-hintstyle="hintnone"
2
+gtk-xft-hinting=1
3
+gtk-xft-hintstyle="hintslight"
4 4
 gtk-xft-rgba="rgb"
5 5
 gtk-font-name="Sans 9"
6 6
 gtk-cursor-theme-name=Default

+ 2
- 2
x11/.Xresources View File

@@ -1,7 +1,7 @@
1 1
 Xft.autohint  : 0
2 2
 Xft.lcdfilter : lcddefault
3
-Xft.hintstyle : hintnone
4
-Xft.hinting   : 0
3
+Xft.hintstyle : hintslight
4
+Xft.hinting   : 1
5 5
 Xft.antialias : 1
6 6
 Xft.rgba      : rgb
7 7
 *font         : -misc-fixed-medium-r-semicondensed-*-13-*-*-*-*-*-iso10646-1

Loading…
Cancel
Save