Bug 86461

Summary: PDF output broken with Noto Nastaliq Urdu font
Product: cairo Reporter: Adrian Johnson <ajohnson>
Component: pdf backendAssignee: Adrian Johnson <ajohnson>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: medium CC: freedesktop
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Adrian Johnson 2014-11-19 11:32:04 UTC
https://code.google.com/p/noto/issues/detail?id=207

Using HarfBuzz or Pango create a PDF of text rendered in Noto Nastaliq Urdu [0], observe that it's broken and doesn't match the PNG output from the same tool.  Eg:

$ hb-view NotoNastaliqUrduDraft.ttf --font-size 24 --text-file sample --output-file sample.pdf

Where sample includes following text:

تمام انسان آزاد اور حقوق و عزت کے اعتبار سے برابر پیدا ہوۓ ہیں۔
انہیں ضمیر اور عقل ودیعت ہوئی ہے۔ اسلیۓ انہیں ایک دوسرے کے 
 ساتھ بھائی چارے کا سلوک کرنا چاہیۓ۔                                                                            


[0] https://noto.googlecode.com/git/fonts/alpha/NotoNastaliqUrduDraft.ttf
Comment 2 Behdad Esfahbod 2014-11-19 23:54:57 UTC
Thanks Adrian!
Comment 3 Behdad Esfahbod 2014-11-20 00:05:29 UTC
Confirmed fixed.

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.