Closed signalwerk closed 4 years ago
If I understand it correctly: the values for sxHeight and sCapHeight are calculated here: https://github.com/opentypejs/opentype.js/blob/342fac9e81a34ef08b69c5f08a0ec71727e0b832/src/tables/sfnt.js#L248-L249
and not settable. Does this help?
@fizfaz thanks a lot for pointing to the specific code! I Made a PR here: https://github.com/opentypejs/opentype.js/pull/410
Thank you for opening the issue, I'm now closing it as the other PR was merged and published see https://github.com/opentypejs/opentype.js/pull/422
perfect! thank you!
When I do the following:
and convert then the font with Fonttools TTX I see the following (wrong) values:
Is there a logic to it? Or what do I do wrong?