The height is currently mapped to the atsui metrics property capHeight, which is documented as "The height of a capital letter in the font from the baseline to the top of the letter". That doesn't match what height is in cairo, it should be the disctance between baselines. Will attach a patch that fixes this (and makes webkit on GTK+ OS X layout nicely).
Created attachment 11965 [details] [review] Uses ascent+descent+leading to get the distance between baselines
Adding Brian for feedback, hope that's OK.
This looks obviously correct, thanks Richard. I've got this in my tree, I'll push it out as soon as Chris has the main branch building again (later today I expect)
pushed as 4270cd3358fabf0d3e6ac4e866099b172082b592
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.