huertatipografica / HTLetterspacer

HT Letterspacer is a tool for spacing fonts
https://huertatipografica.github.io/HTLetterspacer/
GNU General Public License v3.0
73 stars 16 forks source link

config value to be applied to a specific master only #30

Open synthview opened 7 years ago

synthview commented 7 years ago

Hello, I have a multimaster font an I’d need to apply *,Number,*,0.9,*,zero.numr to a master and *,Number,*,0.8,*,zero.numr to another. Is it possible to achieve? Thanks in advance

impallari commented 7 years ago

Currently config values are for all master, but you can: space first master, edit values and space the 2nd one

synthview commented 7 years ago

yes but this way I’ll forget what I have done 1 week before :p Couldn’t be possible to add a feature of having a “custom parameter” at master level assigning the file_name.py to use for the config? (= to have a config for each master, if no value, the default applies).

andrestelex commented 7 years ago

That's a good idea and I thought something similar. I will take a look at it soon. In the meanwhile, my solution is to backup the config file, and everytime I need to space a specific master, I just rename the file to use it.

chrismsimpson commented 5 years ago

Perhaps the file itself could contain the master name then? For example {glyphsFileName}_{masterName}_autospace.py. If said file doesn't exist, it then look in {glyphsFileName}_autospace.py.

Just a thought, I would love the ability to specify different configs per weight.