Support all five possibilities for sub-pixel
Make sub-pixel.conf be sub-pixel-rgb.conf and add the three other possibilites: bgr, vrgb and vbgr.
This commit is contained in:
parent
085d12cd4b
commit
04ceb322c8
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
Loading…
Reference in New Issue