ftCLI / FoundryTools-CLI

A collection of command line tools to inspect, manipulate and convert font files
https://ftcli.github.io/FoundryTools-CLI/
MIT License
82 stars 4 forks source link

Setting hhea linegap with value 0 not valid #179

Closed ddaanniiieeelll closed 1 month ago

ddaanniiieeelll commented 2 months ago

Using ftcli hhea --linegap 0 <input-path>

results in:

[ ERROR    ] Please, pass at least a valid parameter.
[ INFO     ] Elapsed time: 0.0001 seconds

Seems like it’s not possible to set hhea linegap to 0, but what to do if the linegap needs to be 0?

v: 1.1.14

ftCLI commented 2 months ago

Thanks indeed, I wasn't checking if the values were None.

Would you check v1.1.16? I fixed the errors in this release

ddaanniiieeelll commented 1 month ago

Setting hhea lineGap to 0 works great with v1.1.16!

Thanks for the quick fix!!