Open
Description
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
Steps to Reproduce (for bugs)
- go to https://codepen.io/wendyz/pen/PoQJyoX?editors=0011
- open the console
- 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
Extra info: I download EB Garamond 8pt (another version) from the type designer's Bitbucket repo, and OpenType.js output proper kerning for that font. Included in the codepen example. cc. @davelab6
It may affect other Google Fonts as well, eg.
- DM Serif Text
Your Environment
- Version used: 1.3.4
- 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