https://bugzilla.redhat.com/show_bug.cgi?id=1509790

            Bug ID: 1509790
           Summary: fc-query is generating weird 'id 0' Provides on fonts
           Product: Fedora
           Version: 26
         Component: fontconfig
          Severity: high
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected],
                    [email protected],
                    [email protected],
                    [email protected],
                    [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected]



Description of problem:
When I use fc-query to query a font, I get a weird item "id 0" in the list of
things returned back from fc-query.

This is screwing up dependency generation for new font packages, which get an
annoyingly awful "Provides: 0" added to the package.

Version-Release number of selected component (if applicable):
2.12.6-3.fc26

How reproducible:
Always

Steps to Reproduce:
1. Install google-noto-sans-fonts (or any other TrueType/OpenType font package)
2. Run "fc-query --format '%{=pkgkit}'
/usr/share/fonts/google-noto/NotoSans-Regular.ttf" (or your preferred fonts)

Actual results:
[~]$ fc-query --format '%{=pkgkit}'
/usr/share/fonts/google-noto/NotoSans-Regular.ttf
id 0
font(notosans)
font(:lang=aa)
...

Expected results:
[~]$ fc-query --format '%{=pkgkit}'
/usr/share/fonts/google-noto/NotoSans-Regular.ttf
font(notosans)
font(:lang=aa)
...

Additional info:

This doesn't occur in RHEL 7 (fontconfig-2.10.95-11.el7) nor openSUSE Leap 42.2
(fontconfig-2.11.1-2.2) nor Fedora 25 (fontconfig-2.12.1-1.fc25), but occurs in
Fedora 26 and newer.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
fonts-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to