<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Never drop first font when trimming"
href="https://bugs.freedesktop.org/show_bug.cgi?id=72380#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Never drop first font when trimming"
href="https://bugs.freedesktop.org/show_bug.cgi?id=72380">bug 72380</a>
from <span class="vcard"><a class="email" href="mailto:freedesktop@behdad.org" title="Behdad Esfahbod <freedesktop@behdad.org>"> <span class="fn">Behdad Esfahbod</span></a>
</span></b>
<pre>Let me show it with an example.
Currently:
$ fc-match symbol
symbol.ttf: "Symbol" "Regular"
$ fc-match symbol --sort | head -n 1
Symbol.pfb: "Symbol" "Regular"
$ fc-match symbol --sort --all | head -n 1
symbol.ttf: "Symbol" "Regular"
I want to make sure the above three commands all return the same font. Ie. I
want to make sure FcFontMatch() always returns the first font from
FcFontSort(). You can say FcFontMatch() is buggy, or you can say FcFontSort()
is buggy. Doesn't matter. We want the above to return the same font, and the
easiest way to fix it is the patch I attached.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>