canonical / Ubuntu-Sans-fonts

Other
54 stars 4 forks source link

Use "Beta" as family name during development #21

Closed guidoferreyra closed 2 years ago

guidoferreyra commented 2 years ago

For some reason the fonts does not take the name from the build config file. I reported this here https://github.com/googlefonts/gftools/issues/585

If we don’t get a solution soon, we can look for a workaround.

djrrb commented 2 years ago

Here’s my workaround: https://github.com/djrrb/Ubuntu-fonts/blob/main/scripts/addVersionToNames.py

guidoferreyra commented 2 years ago

If you like I can push a commit with this script added to the "make dev" command.

dev: venv .init.stamp sources/config-dev.yaml $(SOURCES)
    . venv/bin/activate; rm -rf fonts/; gftools builder sources/config-dev.yaml;
    python scripts/addVersionToNames.py $(shell find fonts/variable -type f)
djrrb commented 2 years ago

Yeah that seems like a good idea!

guidoferreyra commented 2 years ago

Added in 52902f57007ced3282b5412a3b9f4ec0ee387225

djrrb commented 2 years ago

awesome! thanks so much