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

calculation of axes #279

Open
schriftgestalt opened this issue Nov 8, 2017 · 7 comments
Open

calculation of axes #279

schriftgestalt opened this issue Nov 8, 2017 · 7 comments

Comments

@schriftgestalt
Copy link
Collaborator

I just tried to export some of my fonts as variable fonts using fontmake.

At least partially, it tries to determine the axes by looking at the instances. It prints this: INFO:fontTools.varLib:Axes: ... that contains numbers from the instances. And if those are not siting at the master location, it gives an error later on:
assert base_idx is not None, "Base master not found; no master at default location?"

So the axes should always be computed from the masters (and Virtual Masters).

@anthrotype
Copy link
Member

duplicate of #280

@schriftgestalt
Copy link
Collaborator Author

It is not a duplicate. This issue is about the calculation of the axis ranges. The #280 is about what axes you need and their names.

@anthrotype
Copy link
Member

well, I thought they are connected

@schriftgestalt
Copy link
Collaborator Author

Virtuel masters are there to open the axis range if there is no real master to do so. That is used with brace layers. That way you can implement ascender/descender axes without the need to duplicate the whole font.

{
	name = "Virtual Master";
	value = (
		{
			Axis = Weight;
			Location = 100;
		},
		{
			Axis = Width;
			Location = 200;
		}
	);
}

@anthrotype anthrotype reopened this Nov 8, 2017
@anthrotype
Copy link
Member

@belluzj what about this one? Is it supported now in master?

@belluzj
Copy link
Collaborator

belluzj commented Mar 21, 2018

I haven't done anything related to Virtual masters

@schriftgestalt
Copy link
Collaborator Author

The original issue is still there. The virtual masters are just an illustration not an actual problem.

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

No branches or pull requests

3 participants