10-sub-pixel-vbgr.conf revision a32e9e42
12c393a42Smrg<?xml version="1.0"?> 22c393a42Smrg<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> 32c393a42Smrg<fontconfig> 4a32e9e42Smrg <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0"> 5a32e9e42Smrg <its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/> 6a32e9e42Smrg </its:rules> 7a32e9e42Smrg 8a32e9e42Smrg <description>Enable sub-pixel rendering with the vertical BGR stripes layout</description> 92c393a42Smrg<!-- Enable sub-pixel rendering --> 10c9710b42Smrg <match target="pattern"> 11ca08ab68Smrg <!-- 12ca08ab68Smrg This configuration is available on the major desktop environments. 13ca08ab68Smrg We shouldn't overwrite it with "assign" unconditionally. 14ca08ab68Smrg Most clients may picks up the first value only. so using "append" 15ca08ab68Smrg may simply works to avoid it. 16ca08ab68Smrg --> 17ca08ab68Smrg <edit name="rgba" mode="append"><const>vbgr</const></edit> 182c393a42Smrg </match> 192c393a42Smrg</fontconfig> 20