[Fontconfig-bugs] [Bug 53323] New: objects for target="pattern" is inherited to the result of FcMatchFont
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Aug 10 00:43:46 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=53323
Bug #: 53323
Summary: objects for target="pattern" is inherited to the
result of FcMatchFont
Classification: Unclassified
Product: fontconfig
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: library
AssignedTo: fontconfig-bugs at lists.freedesktop.org
ReportedBy: akira at tagoh.org
QAContact: freedesktop at behdad.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:
<match target="pattern">
<edit name="rgba" mode="assign">
<const>rgb</const>
</edit>
</match>
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.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Fontconfig-bugs
mailing list