MFEK / stroke

A utility for stroking paths in font glyphs (UFO .glif) written in Rust.
Apache License 2.0
22 stars 0 forks source link

Sharp curves seem to flip the input path #4

Closed ctrlcctrlv closed 3 years ago

ctrlcctrlv commented 3 years ago

I assumed that I just didn't have enough points on the input path, but adding more points to 22.glif doesn't substantially improve the output.

Qstroke --out Untitled2.ufo/glyphs/22.glif --path Untitled1.ufo/glyphs/22.glif --pattern arrow.ufo/glyphs/arrow.glif -m repeated --sx 0.1 --sy 0.1 -s 2

4.zip image

MatthewBlanchard commented 3 years ago

fixed_curvature

Issue fixed in coming commit.

ctrlcctrlv commented 3 years ago

Confirmed solved by 1518cfa3479dbbbe39fc5c340d027a9c2a9f0837 , 5dfac7fc2e5e920d51b021790fc898c455cb4a0d

image