After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 676343 - Font display problem with specific arabic font
Font display problem with specific arabic font
Status: RESOLVED FIXED
Product: pango
Classification: Platform
Component: general
1.28.x
Other Linux
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2012-05-18 21:07 UTC by abu.cudi
Modified: 2012-09-21 23:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Contains Screenshot, Font, Sample Source Code (gtkmm) (348.38 KB, application/x-gzip)
2012-05-18 21:07 UTC, abu.cudi
Details

Description abu.cudi 2012-05-18 21:07:32 UTC
Created attachment 214400 [details]
Contains Screenshot, Font, Sample Source Code (gtkmm)

Hi gnome world,

there are some display problems in gnome applications with a special arabic font.
In LibreOffice there is no problem with the font, everything is right where it should be. Even on Windoze everything is fine. But not so in gedit or a sample app written in gtkmm. 


Requirements:

- add arabic keyboard layout in gnome-settings
- install freely available font "UthmanicHafs1 Ver09.otf"
  -> http://fonts.qurancomplex.gov.sa/download/UthmanicHafs1Ver09Font.zip

How to reproduce:
- select font "KFGQPC Uthmanic Script HAFS" in gedit
- change keyboard layout to arabic
- paste this arabic text in gedit: اللَّه
  -> bug: Text wrongly becomes this: اللهَّ (see screenshot in attachment)
or
- build and run sample app in attachment

How to verify/how it should look like:
- select font "KFGQPC Uthmanic Script HAFS" in LibreOffice
- change keyboard layout to arabic
- paste this arabic text in LibreOffice: اللَّه

I apologize for my bad english and if this bug should be posted else where.

thank you everybody so much.

abu.cudi
Comment 1 abu.cudi 2012-05-18 21:11:58 UTC
Almost forgot:
- Reproducible on Fedora 16 and ArchLinux
Comment 2 Behdad Esfahbod 2012-05-18 22:05:11 UTC
I can reproduce the problem.  Have to dig deep to see what's going wrong.  Will do next week.
Comment 3 Behdad Esfahbod 2012-07-30 01:43:04 UTC
Fixed in harfbuzz master, though there's more fixing that I'm doing.

Leaving open simply to close when Pango is fixed.
Comment 4 Behdad Esfahbod 2012-08-25 19:33:56 UTC
HarfBuzz is merged.
Comment 5 abu.cudi 2012-09-21 23:14:56 UTC
Thank you very much Behdad. I have tested your fix. Everthing works fine. barakAllah feek.