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 150785 - Support for OpenType tables in Hebrew language module
Support for OpenType tables in Hebrew language module
Status: RESOLVED FIXED
Product: pango
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2004-08-22 16:54 UTC by Dov Grobgeld
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
First version of patch that adds OT support to Hebrew module. (6.32 KB, patch)
2004-08-22 16:55 UTC, Dov Grobgeld
none Details | Review
Second version of Hebrew OpenType patch. (6.18 KB, patch)
2004-08-25 19:47 UTC, Dov Grobgeld
none Details | Review

Description Dov Grobgeld 2004-08-22 16:54:42 UTC
The Hebrew language module does not support the OpenType GPOS and GSUB tables.
The following patch adds this support.
Comment 1 Dov Grobgeld 2004-08-22 16:55:58 UTC
Created attachment 30834 [details] [review]
First version of patch that adds OT support to Hebrew module.
Comment 2 Owen Taylor 2004-08-23 20:34:19 UTC
Mostly looks good to me.... what do you think needs improvement in:

+  /* Trigger use of heuristics if there is no GPOS table in font!
+   * Is there a better way to do this?
+   */
+  if (!pango_ot_info_find_script (info, PANGO_OT_TABLE_GPOS,
+				  hebr_tag, &script_index))
+    return NULL;

Is the concern that we are going to hit this every time for a font
without a GPOS table for hebr?
Comment 3 Matt Reimer 2004-08-23 23:44:01 UTC
He probably means that if there are no GPOS tables in the font to use for vowel
positioning, then to fall back to the old heuristic that guesses at vowel
positioning.
Comment 4 Dov Grobgeld 2004-08-24 05:33:27 UTC
Hi Owen,

I was not sure if ruleset==NULL is an appropriate way of signalling that there
is no GPOS table in the font. Perhaps it would be better to query the ruleset.
In any case, if its fine with you, it's fine with me.

If you have some idea for avoiding querying the info about a GPOS table every
time, then please describe it to me or just modify the patch before applying.

Btw, I have got several very emails from people in the biblical research
community, that are very excited about this patch. 8-)
Comment 5 Dov Grobgeld 2004-08-25 19:47:56 UTC
Created attachment 30943 [details] [review]
Second version of Hebrew OpenType patch.