hi everyone,
i'm working on latin/arabic fonts and since half a year i'm running into a kerning problem when using normal GPOS/kern-feature kerning in InDesign ME CS3 5.0.4.
(a solution could be to use a flat kern-table, but i run into other problems with feature syntax and FL, so i want to use FDK, read more in the
http://forum.fontlab.com/adobe-fdk-for-opentype-afdko/add-kern-table-to-ot-font-via-sfntedit-t348.0.html on the other list.)

first line shows the word without kerning (manually set to 0).
second line shows the word with the applied kerning from the kern-feature. the base glyph of the kerning pair (rah) is shifted to the right, along with its following glyphs. but the rah should stay, and only the following should move (which they did). note: the overall word's bounding box is correct. the kerning value in the text toolbox between the rah and the kaf shows the correct (-124), indicating metric's kerning.
third line: if i manually change the kerning value from (-124) to -124, it suddenly renders correctly. note: the values are exactly the same. one with brackets, one without.
i don't think that it's a bug in indesign, it's already the fourth update (5.0.4). and: flat kern-table kerning works.
i already tried to split the kern feature up into separate lookups for latin and arabic, applying things like script tags and RightToLeft and stuff to it, to no avail. RightToLeft doesn't make sense anyway, because the direction of the kerning is correct. if i manually set the kerning value to +124, the gap increases twofold as it should. also: all settings in indesign like language and writing direction are set correctly.
any ideas?
it seems to work in CS4 (which i can't confirm because i don't have access to it), but since that doesn't run on powerPC macs anymore and my recipients all have CS3, it needs to run there.
many thanks for a hint,
yanone