https://bugzilla.redhat.com/show_bug.cgi?id=1174935
Bug ID: 1174935 Summary: "Roboto" matches "Roboto Black" Product: Fedora Version: 21 Component: fontconfig Assignee: tagoh@redhat.com Reporter: nmiell@gmail.com QA Contact: extras-qa@fedoraproject.org CC: fonts-bugs@lists.fedoraproject.org, i18n-bugs@lists.fedoraproject.org, pnemade@redhat.com, tagoh@redhat.com
Web sites that previously rendered correctly (becuase the server was serving up a WOFF file for "Roboto" containing "Roboto") render incorrectly if you have the Roboto fonts installed because for some reason fontconfig matches "Roboto" to "Roboto Black"
https://bugzilla.redhat.com/show_bug.cgi?id=1174935
Akira TAGOH tagoh@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nmiell@gmail.com Flags| |needinfo?(nmiell@gmail.com)
--- Comment #1 from Akira TAGOH tagoh@redhat.com --- what does fc-match Roboto say? and can you attach the log for that with FC_DEBUG=3?
https://bugzilla.redhat.com/show_bug.cgi?id=1174935
Nicholas Miell nmiell@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(nmiell@gmail.com) |
--- Comment #2 from Nicholas Miell nmiell@gmail.com --- Created attachment 969863 --> https://bugzilla.redhat.com/attachment.cgi?id=969863&action=edit Output of FC_DEBUG=3 fc-match Roboto
$ fc-match Roboto Roboto-Black.ttf: "Roboto" "Black"
https://bugzilla.redhat.com/show_bug.cgi?id=1174935
--- Comment #3 from Akira TAGOH tagoh@redhat.com --- what a font do you expect to be matched?
https://bugzilla.redhat.com/show_bug.cgi?id=1174935
--- Comment #4 from Nicholas Miell nmiell@gmail.com --- I would expect Roboto to match Roboto Regular, but it looks like Roboto Black has a weight of 80 instead of 210, so I guess this is a problem with the font files themselves.
https://bugzilla.redhat.com/show_bug.cgi?id=1174935
Akira TAGOH tagoh@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dtardon@redhat.com Component|fontconfig |google-roboto-fonts Assignee|tagoh@redhat.com |dtardon@redhat.com
--- Comment #5 from Akira TAGOH tagoh@redhat.com --- That's true. if the score is the same, first one is preferred. so it needs to be fixed in a font right.
https://bugzilla.redhat.com/show_bug.cgi?id=1174935
Nicholas Miell nmiell@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|"Roboto" matches "Roboto |Roboto Black and Roboto |Black" |Condensed have bad metadata | |which results in | |misrendered web pages | |(among other things)
--- Comment #6 from Nicholas Miell nmiell@gmail.com --- The various Roboto Black fonts have (in fontconfig terms) a weight of 80 when they should have a weight of 210.
Similarly, the various Roboto Condensed fonts have a width (again in fontconfig terms) of 100 when they should have a width of 75.
https://bugzilla.redhat.com/show_bug.cgi?id=1174935
--- Comment #7 from Nicholas Miell nmiell@gmail.com --- This problem appears to have already been fixed in the upstream font files.
https://bugzilla.redhat.com/show_bug.cgi?id=1174935
David Tardon dtardon@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |MODIFIED
--- Comment #8 from David Tardon dtardon@redhat.com --- I updated the package to use the zip file referenced in http://www.google.com/design/spec/style/typography.html# . I hope that is the latest version.
https://bugzilla.redhat.com/show_bug.cgi?id=1174935
--- Comment #9 from Nicholas Miell nmiell@gmail.com --- Doesn't look like it, the Black fonts still have the wrong weights and the Condensed the wrong widths.
The corrected version I saw came from http://www.google.com/fonts#UsePlace:use/Collection:Roboto and from the hg repositoriy, but it looks like Google Fonts dynamically generates font subsets and the hg has font files split into multiple languages, so I'm not sure how useful they are.
https://bugzilla.redhat.com/show_bug.cgi?id=1174935
--- Comment #10 from Fedora Update System updates@fedoraproject.org --- google-roboto-fonts-1.2-6.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/google-roboto-fonts-1.2-6.fc21
https://bugzilla.redhat.com/show_bug.cgi?id=1174935
--- Comment #11 from Fedora Update System updates@fedoraproject.org --- google-roboto-fonts-1.2-6.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/google-roboto-fonts-1.2-6.fc20
https://bugzilla.redhat.com/show_bug.cgi?id=1174935
--- Comment #12 from Paul Flo Williams paul@frixxon.co.uk --- Created attachment 970762 --> https://bugzilla.redhat.com/attachment.cgi?id=970762&action=edit Fontconfig rules to fix metadata
How about fixing the metadata in the Fontconfig rules? My Fontconfig-fu is weak, but I've attached a suggested patch that appears to do the right thing. (It also fixes the Thin weights to distinguish them from Light.)
By the way, I think the Fontconfig rules are currently swapped in the installed packages, so that the condensed fontconfig goes with "normal" package and vice versa.
https://bugzilla.redhat.com/show_bug.cgi?id=1174935
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #13 from Fedora Update System updates@fedoraproject.org --- Package google-roboto-fonts-1.2-6.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing google-roboto-fonts-1.2-6.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-17236/google-roboto-font... then log in and leave karma (feedback).
https://bugzilla.redhat.com/show_bug.cgi?id=1174935
David Tardon dtardon@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |ASSIGNED
https://bugzilla.redhat.com/show_bug.cgi?id=1174935
David Tardon dtardon@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED
--- Comment #14 from David Tardon dtardon@redhat.com --- All right, lets give it another try... I cannot verify that the patch works, as I am getting
$ fc-match Roboto Roboto-Medium.ttf: "Roboto" "Medium"
whether it is applied or not. But at least the .conf files are in the right subpackages now.
https://bugzilla.redhat.com/show_bug.cgi?id=1174935
--- Comment #15 from Fedora Update System updates@fedoraproject.org --- google-roboto-fonts-1.2-8.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/google-roboto-fonts-1.2-8.fc21
https://bugzilla.redhat.com/show_bug.cgi?id=1174935
--- Comment #16 from Fedora Update System updates@fedoraproject.org --- google-roboto-fonts-1.2-8.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/google-roboto-fonts-1.2-8.fc20
https://bugzilla.redhat.com/show_bug.cgi?id=1174935
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #17 from Fedora Update System updates@fedoraproject.org --- Package google-roboto-fonts-1.2-8.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing google-roboto-fonts-1.2-8.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-17572/google-roboto-font... then log in and leave karma (feedback).
https://bugzilla.redhat.com/show_bug.cgi?id=1174935
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Fixed In Version| |google-roboto-fonts-1.2-8.f | |c21 Resolution|--- |ERRATA Last Closed| |2015-01-03 13:58:27
--- Comment #18 from Fedora Update System updates@fedoraproject.org --- google-roboto-fonts-1.2-8.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=1174935
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|google-roboto-fonts-1.2-8.f |google-roboto-fonts-1.2-8.f |c21 |c20
--- Comment #19 from Fedora Update System updates@fedoraproject.org --- google-roboto-fonts-1.2-8.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
i18n-bugs@lists.fedoraproject.org