simoncozens / ufostroker

Add path effects to open glyphs in a UFO file
Apache License 2.0
5 stars 1 forks source link

decompose transformed components filter should apply before outlining #2

Open RosaWagner opened 2 years ago

RosaWagner commented 2 years ago

I thought I opened an issue here before but I must have forgotten.

project: https://github.com/isdat-type/relief

Exporting with fontmake -f --filter 'ufostroker::StrokeFilter(Segmentwise=True,Width=40,pre=True)' -g Relief.glyphs --filter DecomposeTransformedComponentsFilter --overlaps-backend pathops -o ttf --output-dir ../fonts/ttf

Capture d’écran 2022-04-14 à 09 40 48
simoncozens commented 2 years ago

That's not something I can fix with the filter code - you need to change the order of the filters when you add them. Can you try

fontmake -f --filter DecomposeTransformedComponentsFilter --filter 'ufostroker::StrokeFilter(Segmentwise=True,Width=40,pre=True)' -g Relief.glyphs --overlaps-backend pathops -o ttf --output-dir ../fonts/ttf

instead?