question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

calculation of axes

See original GitHub issue

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).

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
schriftgestaltcommented, Nov 8, 2017

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;
		}
	);
}
0reactions
schriftgestaltcommented, Apr 19, 2019

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Equation of X-Axis - YouTube
http://ItsMyAcademy.com/Straight-Line-Mathematics/ For Complete List of Videos - 15. Equation of X Axis - There are two axes , one is x axis ......
Read more >
Free intersection with axes calculator - Mathepower
Calculating axis intercepts. Enter one function in here. Hints: Enter as 3*x^2 , as (x+1)/(x-2x^4) and as 3/5. Find a function. Degree of...
Read more >
Semi-major and semi-minor axes - Wikipedia
Hyperbola. The semi-major axis of a hyperbola is, depending on the convention, plus or minus one half of the distance between the two...
Read more >
formula to calculate axis values - math - Stack Overflow
I need a way to calculate which values go on the Y-axis, in such a way that the values look nice. I also...
Read more >
New coordinates by rotation of axes Calculator - keisan - CASIO
Calculates the new coordinates by rotation of axes. ... The cw and ccw is backwards in the rotation, ccw is negative and cw...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found