You can automate the (re-) opening of paths in Ai. Ai path items have a closed property. You could control that with a little JavaScript.
Does it have to be Ai/InD? There used to be a special engraving software that would take OTFs without subroutines and with a different suffix, and it would leave out the closepath statement when interpreting the paths. Should be mentioned somewhere in the depths of the forum archives.
Edit: Here is AppleScript code that opens every selected path in Adobe Illustrator. Feel free to adapt it to your needs. I guess that something similar is possible in InDesign:
tell application "Adobe Illustrator"
tell document 1 -- frontmost document
set numberOfPaths to count path items
repeat with i from 1 to numberOfPaths
set thisPathItem to path item i
if selected of thisPathItem then
set closed of thisPathItem to false
end if
end repeat
end tell
end tell
No, it doesnāt have to be Ai. They will use Id to compile/arrange the text, then send it as vector PDF to InkScape, which then will be drawed with AxiDraw (as I understood).
I found this page with some good info. By ātemporary closing pathsā they mean closing on export as with your Python script? Then using other script to reopen? But how will that last script know which nodes to cut?
It does not need to; it just removes the closepath instruction at the end. Please read this post from further above to understand what closepath means:
Hello, Iām new to Glyphs and am trying to do a similar thing with single strokes but primarily for aesthetic purposes (wanting a very thin, hairline font). Is there an easy way to make this change universally (making a new node 100 units above all else and then closing paths) for all characters in a font? I have figured out how to do it for individual paths but it is very tedious.
ThanksāI will try the script above, but I want to be able to use this font as a standard OTF in Word and other applications as well as Illustrator. The glyphs I have drawn are very intricate with many intersecting paths, and when I tried closing the paths previously (and exporting without removing overlap), it resulted in incorrect closures, sort of like the example above:
So I want to be sure that when I close the paths, it is just making a very thin shadow/double of the glyph and closing the nodes that way rather than closing paths the default way, and I do not want to have to do an extra step of re-opening paths in the application where I am typing. Thus I thought the solution of moving all nodes up slightly and then closing would be the best solution. I appreciate your help.
Nevermind, I think Iāve figured it outāI outlined strokes in Illustrator, set the stroke to zero pt, and then copied the paths into Glyphs, and now upon export (after fixing compatibility and unchecking āRemove Overlapā) it is looking fine. Thank you!
I should export using .OTF format, is that correct?
Are both scripts up to date? Iām using the latest versions of Glyphs 2, and Illustrator 2021, running on macOS 10.15.7 Catalina. If not, would you be so kind to update them, please?
Sadly itās not possible for us to avoid AI in our workflow due to the software compatibility requirements of the laser machine we work with.
The font has 868 glyphs so far. Itās really frustrating not been able use it for its main purpose.
That is funny. I though I had written this but couldnāt find it when I was looking for this a few days ago. Thanks for reminding me. Iāll have a look and fix it.