<div dir="ltr"><div><span style="font-family:courier new,monospace">I'm trying to understand the difference between <match target="pattern"> and <match target="font">:<br>== If 'target' is set to "font" instead of the default "pattern", then this element applies to the font name resulting from a match rather than a font pattern to be matched. ==<br>
It should be a clear statement but probably my english (or better my head) is not good enough to understand. Some examples could help me.<br><br>Reading further in the fontconfig official documentation I found this in an example user-configuration file:<br>
<br><!--       use rgb sub-pixel ordering to improve glyph appearance<br>on      LCD screens.  Changes affecting rendering, but not<br>matching   should always use target="font". --><br><match target="font"><br>
        <edit name="rgba" mode="assign"><const>rgb</const></edit><br></match><span class="sew9j7pfcswh1wa"></span><span class="sew9j7pfcswh1wa"></span><br><br>Is that statement valid only for normal users configurations? Because the system-wide configuration for the same setting (you can found it in conf.avail/) uses target="pattern".<br>
When one should use "pattern" and when "font"?<br></span></div><span style="font-family:courier new,monospace"><br>Thanks to whom that will try to explain me. :)<br></span></div>