From: George W. <gw...@si...> - 2006-09-19 00:09:52
|
On Mon, 2006-09-18 at 12:43, Dov Grobgeld wrote: > Tripplets are also an absolute necessity for Hebrew. E.g. > > 1. U+05D1 (Hebrew Letter Bet) > 2. U+05BC (Hebrew Point Dagesh or Mapiq) > 3. U+05B8 (Hebrew Point Qamats) > > I would very much appreciate a few script line that shows how to do > the kerning and anchoring for offsetting the Mapiq and the Qamatz with > respect to the base character. But again, I should probably wait with > asking until I understand exactly what I am asking for. Ok, my guess is that you don't need to think of these as triplets exactly. (I'm going to use the word "mark" rather than "point", it is what opentype uses and is less ambiguous than point) You either have two anchors on the base glyph (one for each mark), or you position one mark with respect to the base and position the second mark with respect to the first. This means you can completely avoid a contextual lookup (which is a good thing to avoid). FontForge's scripting doesn't currently have a way of producing contextual lookups because they are so complex. They can be produced through the UI, or by hand editing the sfd file. But if all you want is Anchors... Look at: http://fontforge.sf.net/scripting-alpha.html#AddAnchorClass http://fontforge.sf.net/scripting-alpha.html#AddAnchorPoint |