[Fontconfig-bugs] [Bug 105102] Merge some optimisation works by Michal Srb?

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Feb 16 23:36:54 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=105102

--- Comment #13 from Mingye Wang (Arthur2e5) <arthur200126 at gmail.com> ---
We are looking at a problem introduced by srb's patches on 2.12.6 and 2.12.93
that causes synaptic's UI font to be serif only under sudo on our distro. It
appears that the "Match Pattern" has a way longer family list when calling
through sudo. We bisected the change to the FcFontSetMatchInternal optimization
commit.

I am asking Bai to get the match pattern for an unpatched version so we can
find out whether it's caused by something like a change in tie-breaking
behavior (weird) or by something outside of FcFontSetMatchInternal that changes
the match pattern (wild). 

* * *

I put back some FC_DEBUG functionalities for FcFontSetMatchInternal so that
MATCH (1) works roughly as the same as before without the best score, and
MATCHV (2) shows font indexes (like before, but without set barriers) and each
priority rounds and the process of bitset ellimination after each round. It can
get a bit too verbose when mixed with the individual subscores and their
operands...

MATCH2 (4096) is still missing. Looks like I can just paste it back.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20180216/4e70500f/attachment.html>


More information about the Fontconfig-bugs mailing list