Bug 55827

Summary: harfbuzz misplaces and add erroneous duplicate glyphs when rendering Khmer scripts using Kh-Battambang.ttf
Product: HarfBuzz Reporter: nirvn.asia
Component: srcAssignee: Behdad Esfahbod <freedesktop>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: freedesktop
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: harfbuzz-ng (wrong; left) and old pango (proper; right)

Description nirvn.asia 2012-10-10 08:51:15 UTC
Created attachment 68390 [details]
harfbuzz-ng (wrong; left) and old pango (proper; right)

Hmm, just spotted a pretty bad rendering bug while testing out firefox linux's use of harfbuzz-ng as a replacement of pango (in change committed Oct 9).

Harfbuzz-ng misplaces and add unwanted duplicate glyphs when rendering Khmer script using Kh-Battambang.ttf, while pango renders the same Khmer script correctly.

I've created a test case here: file:///home/webmaster/Desktop/testcase-refine.html -- you can download the font on the page, as well as retrieve Khmer script linked to this issue (and a <img> of proper rendering).

This bug also contains a screenshot which I believe will be easier to understand than my description ;)
Comment 1 nirvn.asia 2012-10-10 08:57:13 UTC
Err, proper test case URL: http://licadho-cambodia.org/mapnik/testcase-refine.html
Comment 2 Behdad Esfahbod 2012-12-06 00:38:47 UTC
This is all fixed now.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.