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

Scope #14

Open ctrlcctrlv opened 3 years ago

ctrlcctrlv commented 3 years ago

@MatthewBlanchard and I had a good discussion about the scope of MFEKstroke.

Before layers were added to MFEKglif (layers dev branch), this project was used by MFEKglif to "flatten" the VWS out of a .glif file.

That's why VWS is weird here. It's the only one with no CLI API, and this strange description:

(Note: In VWS mode, it is expected that you are using MFEKglif to generate the input files. Therefore, not many helpful command line options are provided. If you wish to use VWS programatically, play with MFEKglif's VWS tool, get some output, and study it; then generate conformant XML.)

That's a clue that VWS is out of scope. It's too complicated to define a CLI API for, and MFEKstroke shouldn't be the one flattening it.

MFEKglif --export should be.

Therefore, I propose:

That keeps the scope of MFEKstroke laser-focused: a CLI API for MFEKmath / path stroking in .glif files.