aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/extras/fontconfig/conf.d/sub-pixel.conf
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/extras/fontconfig/conf.d/sub-pixel.conf')
-rw-r--r--nx-X11/extras/fontconfig/conf.d/sub-pixel.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/nx-X11/extras/fontconfig/conf.d/sub-pixel.conf b/nx-X11/extras/fontconfig/conf.d/sub-pixel.conf
new file mode 100644
index 000000000..c4e8a42e1
--- /dev/null
+++ b/nx-X11/extras/fontconfig/conf.d/sub-pixel.conf
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<!-- conf.d/sub-pixel.conf -->
+<fontconfig>
+<!-- Enable sub-pixel rendering -->
+ <match target="font">
+ <edit name="rgba" mode="assign"><const>rgb</const></edit>
+ </match>
+</fontconfig>