I just gave the new version of the script a try, but all kerning is only LTR and the script does not change anything. No errors. Did I forget anything in the conversion process?
unfortunately, there is no result. Like before. I have downloaded twice and also got the raw script and tested it in the Macro window. My version is 3.0.5 (3109)
I have used the new font info dialog to add the “RTL” information to the RTL-glyhps and bidi to punctuation chatacters before the script conversion at it seems to work now.
But there is still a problem with glyphs with added suffix. These ones will not be converted
(using the nice name instead of unixxxx.001 makes no difference)
a G2 file that has Hebrew kerning (by @danielgrumer and Yanek Iontef).
converted with @Tosche’s Port Arabic & Hebrew kerning for G3 script. have the Kerning Values listet in the kerning table, but not working in the text preview in glyphs3 nore in the final OTF
This is peculiar. If I manually kern the same pair, I see it in the list as well as preview. There may be something wrong with the script but it’s hard to tell. What happens if you kern dalet and comma now?
when converting the old g2 data again (with the same code by you), now it works.
have no idea why it did not worked back then (but surprisingly had displayed values in the kern window but not applied them actually)
anyway, have send your a subsetted version of the files to your @mac adress — just if you are curious to look as the halfway converted LTR kerning.
as your code works work me right now, I’m happy already
Maybe the previous failure has to do with the last script failing? Scripts can behave on a clean slate if you reopen a file or restart the app, depending on the kind of failure.
Am getting closer to the problem:
It’s due to copy&pasted kerning, as I just copied it from the (working) file to another (with improvents on other scripts)
So when in G3 and in RTL mode I can copy kerning (convertde by Tosche’s script) and values will be transferred, but their functionality is broken.
but when kerning from scratch (no g2 converted RTL kerning) the copy&Paste values work…
… Rainer’s script (downloaded minutes ago) is not woking at all
Traceback (most recent call last):
File “Convert RTL Kerning from Glyphs 2 to 3.py”, line 156
glyph2scriptMapping = mapGlyphsToScripts(thisFont)
File “Convert RTL Kerning from Glyphs 2 to 3.py”, line 143, in mapGlyphsToScripts
exporter.makeKey2Scripts_splitGroups_GroupDict_error(glyph2script, None, {}, None)
AttributeError: ‘GSExportInstanceOperation’ object has no attribute ‘makeKey2Scripts_splitGroups_GroupDict_error’