Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
synthview opened this issue Nov 12, 2016 · 4 comments
Open

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

synthview opened this issue Nov 12, 2016 · 4 comments

Comments

@synthview
Copy link

synthview commented Nov 12, 2016

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
Copy link
Collaborator

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

@synthview
Copy link
Author

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
Copy link
Collaborator

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants