google / google/fonts

collapsing width of /iogonek in Mogra

Open
#1,823 1 comment 0 reactions 1 assignee Claimed by @laerm0 View on GitHub
I Font Bug
Dominant language
HTML
Stars
20.5k
Forks
2.9k
Avg merge
1d 21h
Merged PRs (30d)
95

Description

Something is strange in the `/iogonek` of [Mogra](https://fonts.google.com/specimen/Mogra), as mentioned in #187 in [this comment](https://github.com/google/fonts/issues/187#issuecomment-453066431). It appears to have no width when used in Chrome/Firefox, but does have a width in the TTF file. I'm not quite sure what is causing the issue, but I wanted to document it.

When tested [in CodePen](https://codepen.io/thundernixon/pen/bzVepj?editors=1100) on Chrome or Firefox, the `/iogonek` has no advance width:

![Mogra issue in Chrome browser](https://user-images.githubusercontent.com/7355414/51690281-5d406e00-1fc6-11e9-9195-a7f94c722cf1.png)

![Mogra issue in Firefox browser](https://user-images.githubusercontent.com/7355414/51690292-65001280-1fc6-11e9-94ba-67f4f85377c2.png)

_However,_ the problem is not present in Safari:

![Mogra is fine in Safari browser](https://user-images.githubusercontent.com/7355414/51690310-70ebd480-1fc6-11e9-9003-cd3f787347e8.png)

Stranger still, in the [horizontal metrics table (HMTX)](https://docs.microsoft.com/en-us/typography/opentype/spec/hmtx), `/iogonek` has a positive width value of `385`, as expected:

![image](https://user-images.githubusercontent.com/7355414/51689870-86143380-1fc5-11e9-829a-dd6f5494ead6.png)

...and it shows a positive value (with no global negative kerning) in RoboFont and GlyphsApp:

![image](https://user-images.githubusercontent.com/7355414/51690723-477f7880-1fc7-11e9-9e67-210cf4031184.png)

![image](https://user-images.githubusercontent.com/7355414/51689913-99270380-1fc5-11e9-8c4d-8831d6b55172.png)

If anyone knows where an issue like this might be lurking, it seems like it should be simple enough to fix. I'd be interested to learn what might be causing this, too!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.