objects for target="pattern" is inherited to the result of FcMatchFont
Submitted by Akira TAGOH
Assigned to fon..@..op.org
The quote from the document:
use rgb sub-pixel ordering to improve glyph appearance on LCD screens. Changes affecting rendering, but not matching should always use target="font".
So the following rule should be affected to the result of FcPattern for FcMatchFont:
<edit name="rgba" mode="assign">
but it does: $ fc-match -v | grep rgba rgba: 1(i)(s)
This behavior messes up the rule of target="font".
Aside from that, right now fontconfig warns when editing the user-defined object on target="scan" though, we should do it for others if it's not desirable and for target="pattern" and target="font" too.