[Fontconfig-bugs] [Bug 72380] Never drop first font when trimming
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Dec 9 18:14:12 PST 2013
https://bugs.freedesktop.org/show_bug.cgi?id=72380
--- Comment #6 from Akira TAGOH <akira at tagoh.org> ---
(In reply to comment #5)
> 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"
Ah, got it. though fc-match --sort and/or --all doesn't use FcFontMatch() at
all. that's why, but anyway.
> 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.
agreed.
--
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/c86d6857/attachment.html>
More information about the Fontconfig-bugs
mailing list