]> git.wh0rd.org Git - fontconfig.git/commitdiff
Support all five possibilities for sub-pixel
authorJames Cloos <cloos@lugabout.jhcloos.org>
Mon, 4 Sep 2006 05:28:07 +0000 (01:28 -0400)
committerJames Cloos <cloos@lugabout.jhcloos.org>
Mon, 4 Sep 2006 05:28:07 +0000 (01:28 -0400)
Make sub-pixel.conf be sub-pixel-rgb.conf and add the
three other possibilites: bgr, vrgb and vbgr.

conf.avail/sub-pixel-bgr.conf [new file with mode: 0644]
conf.avail/sub-pixel-rgb.conf [new file with mode: 0644]
conf.avail/sub-pixel-vbgr.conf [new file with mode: 0644]
conf.avail/sub-pixel-vrgb.conf [new file with mode: 0644]
conf.avail/sub-pixel.conf [deleted file]

diff --git a/conf.avail/sub-pixel-bgr.conf b/conf.avail/sub-pixel-bgr.conf
new file mode 100644 (file)
index 0000000..2aba95e
--- /dev/null
@@ -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>bgr</const></edit>
+  </match>
+</fontconfig>
diff --git a/conf.avail/sub-pixel-rgb.conf b/conf.avail/sub-pixel-rgb.conf
new file mode 100644 (file)
index 0000000..c4e8a42
--- /dev/null
@@ -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>
diff --git a/conf.avail/sub-pixel-vbgr.conf b/conf.avail/sub-pixel-vbgr.conf
new file mode 100644 (file)
index 0000000..0cdad2a
--- /dev/null
@@ -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>vbgr</const></edit>
+  </match>
+</fontconfig>
diff --git a/conf.avail/sub-pixel-vrgb.conf b/conf.avail/sub-pixel-vrgb.conf
new file mode 100644 (file)
index 0000000..60239e0
--- /dev/null
@@ -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>vrgb</const></edit>
+  </match>
+</fontconfig>
diff --git a/conf.avail/sub-pixel.conf b/conf.avail/sub-pixel.conf
deleted file mode 100644 (file)
index c4e8a42..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<?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>