GNOME Bugzilla – Bug 153927
Make Thai module prefer OpenType if exists
Last modified: 2004-12-22 21:47:04 UTC
I have prepared a patch to make Thai module prefer OpenType shaping to the old glyph substitution method if the corresponding GPOS/GSUB tables are available.
Created attachment 32006 [details] [review] Proposed patch to make Thai module prefer OT shaping
With the proposed patch, some GSUB rules seem to be missed. They are sequences of rules that require either moving backward or multi-pass substitution.
Created attachment 32106 [details] [review] Revised patch using preprocessing in shaper As Owen remarked in http://mail.gnome.org/archives/gtk-i18n-list/2004-September/msg00017.html I have tweaked the patch a little to take advantage of glyph decomposition & reordering in the clusterization process, rather than relying on the GSUB rules. So, just use TIS fontset instead of ISO10646. In fact, the ISO10646 fontset is now somewhat useless. I think it should be removed from the code soon.
Patch committed to CVS HEAD.