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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 9 18:22:59 PST 2013


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

Behdad Esfahbod <freedesktop at behdad.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Behdad Esfahbod <freedesktop at behdad.org> ---
commit fee834a9c9e1089a9ae29b1d8e8b6a4cc710204b
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Mon Dec 9 21:21:57 2013 -0500

    Bug 72380 - Never drop first font when trimming

    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().  As such, never trim first font.

-- 
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/c143a96a/attachment.html>


More information about the Fontconfig-bugs mailing list