Bug 1648612

Summary: bad hinting instructions from bug in ttfautohint
Product: [Fedora] Fedora Reporter: Hin-Tak Leung <htl10>
Component: lohit-telugu-fontsAssignee: vishal vijayraghavan <vvijayra>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: extras-qa, fonts-bugs, i18n-bugs, i, petersen, psatpute, yselkowi
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: lohit-telugu-fonts-2.5.5-6.fc30 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1646687 Environment:
Last Closed: 2019-08-26 00:51:50 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:

Description Hin-Tak Leung 2018-11-11 00:34:20 UTC
Font Validator identifies this to be another font affected by the ttfautohint bug. The affected glyph ID is 796.

Yes it is quite sh*t - "ftview 200  /usr/share/fonts/lohit-telugu/Lohit-Telugu.ttf"
, go to glyph id 796, and zoom in and out between 201 ppem and 200 ppem

Version affected:
lohit-telugu-fonts-2.5.5-4.fc29.noarch

+++ This bug was initially created as a clone of Bug #1646687 +++

Description of problem:

This was discussed in freetype-devel for much of early October under the thread "rendering issues with xpdf (and other viewers)".

upstream patch (this was applied after 1.8.2) - you will need to push this to all the fonts affected - in particular, lohit-devanagari-fonts-2.95.4-5.fc29.noarch

commit f18b7c859c92111446ca991743dd709e347d0301 (HEAD -> master, origin/master, origin/HEAD)
Author: Werner Lemberg <wl>
Date:   Sat Oct 6 09:04:35 2018 +0200

    tafpgm.c: Fix stem width offset handling in storage area.
    
    Problem reported by Hin-Tak Leung <htl10.net>.


Version-Release number of selected component (if applicable):
ttfautohint-1.8.1-4.fc29.x86_64

How reproducible:
Always

Steps to Reproduce:
1. "ftview 53 /usr/share/fonts/lohit-devanagari/Lohit-Devanagari.ttf"
2. navigate to glyph idx 472 with F9/F10/F11/F12
3. use up/down arrow key to see that the circular ring of 12 dots disappears and becomes 3 dots, etc. 

Actual results:
3 dots and fewer than 12 dots for many sizes below about 60.


Expected results:
12 dots for idx 472 at all sizes.

Additional info:
This was discussed on freetype-devel for much of early October under 'rendering issues with xpdf (and other viewers)'

--- Additional comment from Fedora Update System on 2018-11-07 01:19:20 EST ---

ttfautohint-1.8.2-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-96f75e9054

--- Additional comment from Fedora Update System on 2018-11-08 00:20:07 EST ---

ttfautohint-1.8.2-1.fc29 has been pushed to the Fedora 29 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-2018-96f75e9054

Comment 1 Hin-Tak Leung 2018-11-11 00:43:38 UTC
In case anybody is insterested, the actual Font Validator reports are up at:
https://github.com/HinTak/FontVal-Tests-at-10pt

and it is E6047 , Storage index out of range .

Comment 2 Fedora Update System 2019-07-08 10:31:59 UTC
FEDORA-2019-4c0eb5af05 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-4c0eb5af05

Comment 3 Fedora Update System 2019-07-08 10:31:59 UTC
FEDORA-2019-64369f648e has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-64369f648e

Comment 4 Fedora Update System 2019-07-09 01:22:01 UTC
lohit-telugu-fonts-2.5.5-6.fc30 has been pushed to the Fedora 30 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-2019-64369f648e

Comment 5 Fedora Update System 2019-07-09 03:19:45 UTC
lohit-telugu-fonts-2.5.5-6.fc29 has been pushed to the Fedora 29 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-2019-4c0eb5af05

Comment 6 Fedora Update System 2019-08-26 00:51:50 UTC
lohit-telugu-fonts-2.5.5-6.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.