forked from Lend27/linuxstuff
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdebfontsmoothing
39 lines (34 loc) · 884 Bytes
/
debfontsmoothing
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Create a file called .fonts.conf in your home directory, and put the following contents in it:
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="font">
<edit mode="assign" name="rgba">
<const>rgb</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hintstyle">
<const>hintslight</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="antialias">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
</fontconfig>
This will enable subpixel-hinting and font-smoothing.
Now just restart X.org (log out, then back in again).
Read more here:
https://wiki.debian.org/Fonts