google / google/fonts

Remove empty marks from mark-to-ligature attachments in Noto Sans variable

Open
#6,894 3 comments 0 reactions 1 assignee Claimed by @simoncozens View on GitHub
I Font Bug z_Noto
Dominant language
HTML
Stars
20.5k
Forks
2.9k
Avg merge
1d 21h
Merged PRs (30d)
95

Description

(Saw that there is a separate repository for Noto; however, it did not feel appropriate to open this issue in https://github.com/notofonts/latin-greek-cyrillic, which was suggested. Please feel free to move.)

**Describe the bug**
In the variable regular, there is a mark-to-ligature attachment (`MarkLigPosFormat1`) with 281 marks. In the 63th one counting from zero, the offset to the anchor (`markAnchorOffset`) is zero, which is not allowed at in that table (`MarkRecord`):

https://learn.microsoft.com/en-us/typography/opentype/spec/gpos#mark-array-table

There is a similar problem in the variable italic.

**To Reproduce**
Using FontTableViewer:

Skärmavbild 2023-10-23 kl  11 31 30

**Expected behavior**
Probably marks without attachments should not be written.

Please correct me if I misinterpret the specification. Thank you!

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.