Enable RGB stripes layout for sub-pixel rendering on KDE only.
Resolves: rhbz#2137825
This commit is contained in:
parent
1b2e3f5380
commit
25e368d9d2
18
10-sub-pixel-rgb-for-kde.conf
Normal file
18
10-sub-pixel-rgb-for-kde.conf
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<description>Enable sub-pixel rendering with the RGB stripes layout for KDE only</description>
|
||||||
|
<!-- Enable sub-pixel rendering -->
|
||||||
|
<match target="font">
|
||||||
|
<!--
|
||||||
|
This sort of configuration is available on the major desktop environments
|
||||||
|
and we don't have to break it with "assign" unconditionally. however, we
|
||||||
|
want to set something for others. So we use "append" here to get this working
|
||||||
|
in both cases so that most clients would takes a look at the first place only.
|
||||||
|
-->
|
||||||
|
<test name="desktop" compare="contains">
|
||||||
|
<string>KDE</string>
|
||||||
|
</test>
|
||||||
|
<edit name="rgba" mode="append"><const>rgb</const></edit>
|
||||||
|
</match>
|
||||||
|
</fontconfig>
|
Loading…
Reference in New Issue
Block a user