GNOME Bugzilla – Bug 69329
pango-ot, arabic-xft, markings shaping handling
Last modified: 2004-12-22 21:47:04 UTC
Before this patch gets totally lost... Original message said: I changed pango_ot_ruleset_shape to use the GPOS info if available, but there's none to use, and I don't know how to synthesize it (is there a way to stick that sort of stuff into the ruleset?) I've got a patch that basically has pango_ot_ruleset_shape doing basic shaping, and then arabic-xft fixing up the positioning on the non-spacing marks. The problem I've run into is that in order to figure out whether a fixup is needed on a particular glyph (via g_unichar_type()) one needs to do glyph <-> unichar mapping, which I don't know how to do 100% of the time, since I think there are cases where num_glyphs != num_chars. There is also the issue of whether handling these non-spacing marks could be done generically - I don't know enough about how most languages use these marks to say whether that is possible. Patch thus far attached, comments requested.
Created attachment 6466 [details] [review] The patch
Eric Mader is working on Indic OpenType shaper modules that use GPOS. I want to wait until we work on integrating that before dealing with this patch.
*** Bug 98875 has been marked as a duplicate of this bug. ***
The opentype/ part of this was applied some time ago with the indic code. The rest is subsumed by the patches in 117282. *** This bug has been marked as a duplicate of 117282 ***