eprovst / wrap

A Fountain export tool with some extras...
GNU General Public License v3.0
62 stars 8 forks source link

Add different variants of Courier Prime filenames #47

Closed austinbutler closed 3 years ago

austinbutler commented 3 years ago

Description of the change

Add more variants to Courier Prime. The official sources are named like CourierPrime-Regular.ttf, same for when you get it from Google Fonts. Also added another variant I saw in the wild. As an alternative you could do more text processing, removing spaces and adding hyphens, but I figure this is simple and works well enough.

This may be less necessary if the upstream font finder package you use switches to fc-match. For example:

❯ fc-match "Courier Prime"
CourierPrime-Regular.ttf: "Courier Prime" "Regular"

Benefits

Most optimal font is more likely to be found.

Possible drawbacks

None?

Applicable issues

None.

eprovst commented 3 years ago

Great, thanks!