Misplaced Bengali letters since HarfBuzz update
Categories
(Core :: Graphics: Text, defect)
Tracking
()
People
(Reporter: yoasif, Assigned: RyanVM)
References
(Regression)
Details
(Keywords: regression)
Attachments
(3 files)
34.31 KB,
image/png
|
Details | |
25.83 KB,
text/html
|
Details | |
48 bytes,
text/x-phabricator-request
|
diannaS
:
approval-mozilla-beta+
dmeehan
:
approval-mozilla-release+
|
Details | Review |
From https://www.reddit.com/r/firefox/comments/txgzgp/bengali_font_mismatch_or_broken_after_firefox_99/
After installing firefox 99 Bengali word is misplaced its letter which was fine in previous 98 version.
I reduced a testcase from https://www.facebook.com/ntvdigital/posts/3470076836600704 which I have reproduced here.
Also attaching some screenshots of good and bad versions which ought to help show the issue.
12:29.93 INFO: Narrowed inbound regression window from [51ec329f, abb3901b] (3 builds) to [51ec329f, 2b5c6923] (2 builds) (~1 steps left)
12:29.93 INFO: No more inbound revisions, bisection finished.
12:29.93 INFO: Last good revision: 51ec329ff10ca01808cb455845a85d91bb194dc7
12:29.93 INFO: First bad revision: 2b5c6923eb59b7b3ea36ecceb915b2f5d6ba1494
12:29.93 INFO: Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=51ec329ff10ca01808cb455845a85d91bb194dc7&tochange=2b5c6923eb59b7b3ea36ecceb915b2f5d6ba1494
Note: I was unable to reproduce this in Linux, I had to use macOS (like the user).
Reporter | ||
Comment 1•3 years ago
|
||
Reporter | ||
Updated•3 years ago
|
Comment 3•3 years ago
|
||
Set release status flags based on info from the regressing bug 1754028
Comment 4•3 years ago
|
||
:RyanVM, since you are the author of the regressor, bug 1754028, could you take a look?
For more information, please visit auto_nag documentation.
Comment 6•3 years ago
|
||
This must be a harfbuzz regression affecting the AAT Bengali fonts (Bangla MN, Bangla Sangam MN). The same broken rendering reproduces in Chrome if these fonts are used. I'll file an issue upstream.
Assignee | ||
Updated•3 years ago
|
Comment 7•3 years ago
|
||
Upstream issue: https://github.com/harfbuzz/harfbuzz/issues/3528.
Updated•3 years ago
|
Comment 8•3 years ago
|
||
I'm bumping this to S2 as it's a regression that has a pretty serious impact on the affected content; it's not just visually degraded, like poor hinting or spacing, but actually scrambled. The one mitigating factor is that only certain specific Indic fonts on macOS are affected, but for those affected (which include some default system fonts), it's a severe readability problem. Bascially, ti mxies up certani letter paris or combniatoins, maknig thngis trckiy to read wthi any confdience, and sometmies qutie msileadngi.
Assignee | ||
Comment 9•3 years ago
|
||
After discussion with Jonathan, we're going to go ahead and proceed with a patch that reverts the regressing upstream change. The bug it was fixing didn't affect Firefox in the first place, so we should be good to go with that approach while upstream investigation continues.
Assignee | ||
Comment 10•3 years ago
|
||
Assignee | ||
Comment 11•3 years ago
|
||
This reverts the fix for upstream issue
https://github.com/harfbuzz/harfbuzz/issues/3314
Firefox was unaffected by that bug, so this should be safe to take
while the investigation continues upstream:
https://github.com/harfbuzz/harfbuzz/issues/3528
Updated•3 years ago
|
Comment 12•3 years ago
|
||
Assignee | ||
Comment 13•3 years ago
|
||
Comment on attachment 9271304 [details]
Bug 1763368 - Revert upstream commit to fix Bengali text rendering regression. r=jfkthame
Beta/Release Uplift Approval Request
- User impact if declined: macOS users have misrendered Bengali fonts
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Just reverts the regressing upstream change, which was a fix for a bug Firefox didn't have in the first place. Reftests are green on Try.
- String changes made/needed:
Assignee | ||
Comment 14•3 years ago
|
||
Asif, can you please have the reporter of this bug confirm that tomorrow's Nightly build renders correctly for them? I expect this to merge in time for that and the sooner we verify the fix the better if we want to get this into a 99.0.1 release.
Comment 15•3 years ago
|
||
bugherder |
Reporter | ||
Comment 16•3 years ago
|
||
From the original reporter:
I have checked this nightly version and its perfectly fine. Every bengali text viewed correctly there. thanks a lot.
I hope stable version will get this fixed soon. please make it soon with the tiny update if possible. Thanks a lot to firefox's quick response in this issue.
I was able to also confirm that my testcase worked fine as well.
Comment 17•3 years ago
|
||
Comment on attachment 9271304 [details]
Bug 1763368 - Revert upstream commit to fix Bengali text rendering regression. r=jfkthame
Approved for 100.0b4
Comment 18•3 years ago
|
||
bugherder uplift |
Comment 20•3 years ago
|
||
Comment on attachment 9271304 [details]
Bug 1763368 - Revert upstream commit to fix Bengali text rendering regression. r=jfkthame
Approved for 99.0.1.
Comment 21•3 years ago
|
||
bugherder uplift |
Description
•