why Glyphs 2 script does not work on glyphs 3?
I have glyphs 2 script that convert very old wrong-mapped arabic fonts to unicode mapping.
I transfered the scripts to the glyphs 3 script folder and applied the script on a font >> no effect
i suspected the problem could be due to glyphs 3 dropped arabic presentation form unicode assignments which is used in script ID conversion.
so I opened the old font then added the parameter " Use Arabic Presentation Form Unicodes Use legacy Presentation Form Unicode values for Arabic glyphs"
then tried to run the script but no effect for the script. (not working)
Iâam not familiar with coding, so I donât know if the script itself should be first edited/corrected to work with glyphs 3.
Along with the introduction of Glyphs 3 there also happened the transition from Python 2 to 3. The programming language got some drastic changes, which where necessary to keep it a modern language. At the same time, Glyphs also needed to improve to newer font technologies and hence some of its APIs changed a bit.
Those 2 things together could be a bit daunting for someone checking in just now and not smoothly transitioned along the way. But itâs all fixable with some adjustments usually to the python code. First it needs to be changed so that it runs on Python 3, and then the Glyphs APIs need to be adjusted to the ones from Glyphs 3, if there are any which changed.
It is hard to tell without knowing the Python script, but here is even a tutorial: âScripting: upgrading to Python 3â (@mekkablue: I think that could get a little update as no one should need to install Python via homebrew anymore just for Glyphs, or?)
Yes, I tried the code and get this error of syntax
File âConverter MyCorrectionEdit.pyâ, line 321
print âATTENTION: %s already exists, trying to bump the extension âŚâ % ( glyphName )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to âprintâ. Did you mean print(âŚ)?