GNOME Bugzilla – Bug 317336
Arabic characters are not connected when use plain True Type fonts.
Last modified: 2012-08-18 17:50:44 UTC
When we use plain True Type fonts, Arabic characters are not connected. Open Type + pango works very fine but our default font is the plain True Type font. I'm attaching two snapshots. One is the original rendering and another is the new patch. I'm attaching the patch. Could you help the patch? Actually I ported the code of mozilla but when I tested the patch, I found pango specific crash issues. It means Mozilla fixes this problem. The patch converts U+06xx chars to U+FExx chars.
Created attachment 52720 [details] Snapshot for the original pango
Created attachment 52721 [details] Snapshot for the patched pango
Created attachment 52723 [details] [review] Patch for ArabicShaping Attached the patch.
Thanks Takao. I like to see Pango doing shaping to presentation forms again. On Fedora Core 4 default install it picks up bitmap fonts for Persian, and Pango doesn't shape. The patch doesn't look that good to me. It's duplicating the joining logic we already have in the Arabic module. I think I'll hack up a patch myself in time for the next major release, but feel free to ping or discuss furhter. I don't exactly remember, but I think we had code in Pango to do that previously. Will check that later. Random note of the day: Owen: What do you think about maintaining separate ChangeLog's for modules?
I dislike separate changelogs quite a bit. They are a huge pain when you have to make a change spanning several changelogs, and also make collecting information for updating NEWS files a lot harder. (In thae end we really need to figure out how to sort real Arabic fonts first for the Arabic script, probably using the recently used fontconfig support for :capability=otlayout:arab, though that's not terribly easy...)
Fixed in HarfBuzz, and we just merged the harfbuzz branch in.