Bug 1526510
| Summary: | USE_TYPO_METRICS set in Fedora 2X but not set in RHEL7 or in ttf binary release | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Caolan McNamara <caolanm> | ||||||
| Component: | liberation-fonts | Assignee: | Parag Nemade <pnemade> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 27 | CC: | alexl, caillon+fedoraproject, caolanm, fonts-bugs, gnome-sig, i18n-bugs, john.j5live, mclasen, petersen, psatpute, rhughes, rstrode, sandmann | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | liberation-fonts-1.07.4-10.fc27 | Doc Type: | If docs needed, set a value | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2017-12-28 02:52:19 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Caolan McNamara
2017-12-15 16:49:28 UTC
Created attachment 1368568 [details]
same font, built on RHEL-7 without the bit set
We are planning to rename liberation-fonts-1.07.4-9.fc27 as liberation-classic-fonts. So i think this patch should go in https://pagure.io/liberation-classic-fonts. May be need to check for liberation-fonts-2.00.1 as well for this. Copy the RHEL-7 LiberationSerif-Regular.ttf to a fedora >= F25 box and open it with fontforge on that platform and the flag will be shown as unset. Using the same Fedora fontforge on the Fedora LiberationSerif-Regular.ttf will show that the flag is set in the Fedora version. Yes, the RHEL-7 fontforge appears to claims that the bit is set, but with a hexeditor/hexdump it can be verified that the bit is not set in the RHEL LiberationSerif-Regular.ttf and is set in the Fedora LiberationSerif-Regular.ttf i.e. the RHEL fontforge is telling fibs and the Fedora one is telling the truth. I assume its probably a bug in RHEL-7 fontforge that OS2_UseTypoMetrics doesn't seem to set the right bit in the .ttf when the sfd is converted to ttf, and probably the same bug that the ui claims that the .ttf does have the bit set. So I guess OS2_UseTypoMetrics handling got fixed at some point, so the bit started getting set correctly in Fedora with more recent fontforge, and I think that the (accidental) lack of the bit in RHEL (and the binary .ttf releases) matches by chance the desired state the fonts should be in maybe something like https://github.com/fontforge/fontforge/commit/e870019c2602d50eb00793e979f3e11bcc71d6cf Thank you Caolan for your brief reply. I have now generated scratch build https://koji.fedoraproject.org/koji/taskinfo?taskID=23779983 for Fedora. If anyone want to test it please test them, I will push the fix into the f27+ releases in next 2 days. liberation-fonts-1.07.4-10.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-551b13319e liberation-fonts-1.07.4-10.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-551b13319e liberation-fonts-1.07.4-10.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report. |