[Fontconfig-bugs] [Bug 72380] Never drop first font when trimming

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 9 17:55:44 PST 2013


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

--- Comment #5 from Behdad Esfahbod <freedesktop at behdad.org> ---
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.

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


More information about the Fontconfig-bugs mailing list