[Fontconfig-bugs] [Bug 64906] New: FcNameParse() should ignore leading whitespace in parameters

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 23 03:33:30 PDT 2013


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

          Priority: medium
            Bug ID: 64906
          Assignee: fontconfig-bugs at lists.freedesktop.org
           Summary: FcNameParse() should ignore leading whitespace in
                    parameters
        QA Contact: freedesktop at behdad.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: akira at tagoh.org
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: library
           Product: fontconfig

The following example gives unexpected behavior and fails to match the pattern
in some case.

$ fc-match ":family=Cantarell, sans-serif"
...
FcConfigSubstitute Pattern has 3 elts (size 16)
        family: "cantarell"(s) " sans-serif"(s)
        lang: "ja"(w)
        prgname: "lt-fc-match"(s)

Most built-in rules are fortunately not failed because "ignore-blanks" option
works around as a side-effect.

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


More information about the Fontconfig-bugs mailing list