[Fontconfig-bugs] [Bug 81186] New: In FcConfigSubstitute, don't add languages that already exist in FC_LANG

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jul 10 10:47:49 PDT 2014


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

          Priority: medium
            Bug ID: 81186
          Assignee: fontconfig-bugs at lists.freedesktop.org
           Summary: In FcConfigSubstitute, don't add languages that
                    already exist in FC_LANG
        QA Contact: freedesktop at behdad.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: freedesktop at behdad.org
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: library
           Product: fontconfig

Either that, or at the end of FcFontSort(), when we are picking patterns that
satisfy FC_LANG languages, do NOT break out when we find a language that is
being satisfied...

Right now, if one searches for FC_LANG=en, we end up adding another en at the
end, so FC_LANG becomes en,en, which behaves differently from FC_LANG=en
because it will move two English fonts to the front instead of one.

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


More information about the Fontconfig-bugs mailing list