From: Dov G. <dov...@gm...> - 2006-09-21 21:18:26
|
In my continued efforts to get Hebrew mark positioning to work for the Culmus fonts I have hit the following problem. I'm trying to combine the three glyphs: Yud (U+05D9) <- The base character Mapiq (U+05BC) <- Middle point Qamats (U+05B8) <- Vowel point below base character. The font defines a ligature of Yud and Mapiq that resides at U+FB39. And a ligature pair is defined for the Yud+Mapiq that refers to the ligature. Now my problem is that when I try to render this triplet in pango the Yud/Mapiq ligature is not applied if the buffer stream is Yud, Qamatz, and Mapiq, but it is applied if the order is Yud, Mapiq, Qamatz. I tried to compare my definititions for Yud and the Yud/Mapiq ligature with corresponding definitions in the font SBL Hebrew, which defines the same ligature, but there the ligature gets applied no matter if the order is Yud, Qamatz, Mapiq or Yud, Mapiq, Qamatz. The only difference that I noticed between my font and the SBL Hebrew font is that the latter defines lots of Font Info/Contextual Chain/Subs. Is that necessary for solving this problem? George, was it these definitions that you refered to when you said that there are no scripting access to them? (I have now switched over to a perl script that generates fontforge scripts and then runs fontforge twice. Once to extract font information, and once to modify the font. It works well as invoking fontforge is basically instantaneous.) Regards, Dov |