EB Garamond's kerning data not readable by OpenType.js
- Dominant language
- HTML
- Stars
- 20.5k
- Forks
- 2.9k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 95
Description
**Describe the bug**
Download the ttf from https://fonts.google.com/specimen/EB+Garamond. use it as a test. The fonts have kerning info, and can be used as regular desktop fonts with proper kerning. However, OpenType.js can't read its kerning data. letter AV kerning should be -140, but OpenType.js returns 0
This may also apply to other Google Fonts like: DM Serif Text
**To Reproduce**
1. go to https://codepen.io/wendyz/pen/PoQJyoX?editors=0011
2. open the console
3. OpenType.js return AV Kerning to be 0, where it should be -140

When I open the EB Garamond font with Robofont, I can see there is kerning info in the kern center. AV kern should be -140

However when I download EB Garamond 8pt (another version) from the type designer's Bitbucket repo, OpenType.js output proper kerning for that version of EB Garamond font.
**Expected behavior**
Get correct kerning info from OpenType.js, like the EB Garamond version downloaded frrom bitbucket: https://bitbucket.org/georgd/eb-garamond/downloads/
**Additional context**
Add any other context about the problem here (OS version, browser, printer…)
* OpenType.js Version used: 1.3.4 https://github.com/opentypejs/opentype.js/
* Font used: EB Garamond
* Browser Name and version: Chrome
* Operating System and version (desktop or mobile): Mac and Windows
* Link to your project: https://codepen.io/wendyz/pen/PoQJyoX?editors=0011
* Old issue that is related but resolved: https://github.com/opentypejs/opentype.js/issues/19
I also reported this issue to OpenType.js: https://github.com/opentypejs/opentype.js/issues/515
Contributor guide
Assessment
This issue has not been assessed yet.