I am developing fonts by using multiple components designed by stroke.
I currently right-click to run ‘Expand Outline’ for each glyph or component.
However, it is very inconvenient because it does not have the ability to extend strokes in multiple components (or glyphs) simultaneously.
I tried to develop scripts through ChatGPT, but developing scripts for stroke extension is very difficult for me.
Can’t you add a function to expand outline simultaneously for the selected glyph?
I asked the question last year, but there was no answer I wanted, so I will ask again.
I really need it.
Sounds like a good opportunity to learn Python properly if you are in such need of automation.
That said, stroke expansion in Python is not made super easy to write for a beginner at the moment, so here it is.
Expand Strokes in Selected Glyphs.py.zip (713 Bytes)
Oh, my God. It works just as well as I wanted.
How should I repay this gratitude.
Thank you very much.
As you said, I have a strong desire to study Python harder. I want to be a person who helps others like you. Thank you again.
But there is one problem.
For closed figures like squares and circles, it turns into faces. What should I do?
As shown in the screenshot, the left is what it looks like before running the script, and the right is what it looks like after running the script.
Sorry about the bug. I was assuming you would get only one stroke out of expansion, and didn’t think about getting two or more. Here’s the fixed version
Expand Strokes in Selected Glyphs.py.zip (701 Bytes)
It works perfectly.
I want to be a great designer and developer like you.
I will make a wonderful East Asian font work based on the code you created.
Why do you expand the strokes?
I create a whole design framework through stroke.
Then, expand the stroke to express a variety of thicknesses.
Strokes can’t express various aspects of thickness, so the process of expanding them is necessary for me.
Can you post some examples of what the strokes produce and what you have at the end?
I can’t send it to you right away due to personal reasons. I’ll answer you again when I have time. Thank you.
Maybe this plugin can make your process easier: INK Glyphs App
Holy smokes … that’s a cool plugin