Hi guys !
Still working on my font.
I created instances with custom parameters, and I’m experiencing something I don’t figure out how to fix :
The path of one of my instances has to be shrinked. So I use this parameter : OffsetCurve; -25; -25; 0; 0.5
But this creates self intersecting paths… Is there a way to avoid that ?
My goal is to create a hatched style, but I don’t want the lines going through the whole letter surface, that’s why I need to shrink the paths before applying the “Hatch Outline” filter.
I tried to add “Remove Overlap” and “DeleteSmallPaths” filters as you can see in the capture below. These are the Custom Parameters for my “Hatch” instance.
The offset comes from the wrong calculation of the first baseline. Illustrator uses the top of the bounding box of the lowercase d. So you need to make sure that all d’s in all styles have the same top point.
Oh… OK ! I didn’t know about that “d” rule thanks @GeorgSeifert
But as my styles are automatically generated with Custom Parameters, how can I make sure that my d’s have the same top point ?
I tried to increase the number in the DeleteSmallPaths parameter, but it deletes some of the hatched lines… but not the unwanted ones
So I think I’ll have to edit the exported OTF characters one by one…
I did. But what is the unit for the DeleteSmallPath filter ?
Because I tried to increase it A LOT, and it seems that it works only until a certain value…
Take a look a this :
The DeleteSmallPath was mostly meant to remove the outside self intersections. You can use a second pass to remove very small hatched bits, but with a smaller value.
The order of the filters is important. So if the hatching comes after the DeleteSmallPath, its results will not be filtered.