filamentgroup/glyphhanger

--LATIN option

sonniesedge opened this issue · 2 comments

In the documentation, the following examples are given:

# shortcut to add in a whitelist of all of US-ASCII (with an optional whitelist)
> glyphhanger https://google.com --US_ASCII --whitelist=™

# shortcut to add in a whitelist of all Latin characters (with an optional whitelist)
> glyphhanger https://google.com --LATIN --whitelist=™

I don't always want to be running against a URL or whitelist - sometimes I just want to convert TTF -> WOFF/2.

Therefore I often run...
glyphhanger --subset=*.ttf --US_ASCII
...which is useful, and works as expected!

However, running...
glyphhanger --subset=*.ttf --LATIN
...returns glyphhanger error: requires at least one URL or whitelist.

Would it be possible to get the second option working? Being in an EU country those Latin characters are mighty useful!

For the record, this should work for straight conversion without changing the character set (confirmed in v3.0.3):
glyphhanger --subset=*.ttf

Hmm, after further testing this seems to work for me locally—is it still failing for you? (confirmed in v3.0.3)
image

This is an automated message to let you know that a helpful response was posted to your issue and for the health of the repository issue tracker the issue will be closed. This is to help alleviate issues hanging open waiting for a response from the original poster.

If the response works to solve your problem—great! But if you’re still having problems, do not let the issue’s closing deter you if you have additional questions! Post another comment and I will reopen the issue. Thanks!