question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Couldn't merge the fonts (GPOS.table.FeatureList.FeatureCount)

See original GitHub issue

While building a relatively small and simple variable font without features, I’m getting an error “Couldn’t merge the fonts, because some values were different, but should have been the same.” The UFOs are generated from a .glyphs file by glyphsLib. If I export the font inside Glyphs it works just fine (and the resulting ttf is good.)

However, if I remove all glyphs except /.undef /a and /A the build succeeds. So I’m guessing this is an issue related to anchor data in *.ufo/glyphs/*.glif files (which I guess is used to construct mark tables.)

I’m included a copy of the source files to be used for debugging and repro: src.zip

Example:

$ fontmake -o variable -m Intra.designspace --output-path Intra.var.ttf
# ... (regular output truncated)
INFO:fontTools.varLib:Merging OpenType Layout tables
fontmake: Error: In 'build/ufo/Intra.designspace': Generating fonts from Designspace failed:

Couldn't merge the fonts, because some values were different, but should have
been the same. This happened while performing the following operation:
GPOS.table.FeatureList.FeatureCount

The problem is likely to be in RSMS Intra Thin Regular:

Incompatible features between masters.
Expected: mark, mkmk.
Got: mark, mkmk.

Versions:

  • fontmake --version # = 3.3.0
  • python --version # = Python 3.9.12

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:19 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
emmamarichalcommented, Oct 13, 2022

Hi @anthrotype ! Thanks, it works now 😃 I used New Tab with Kerning missing in masters script from mekkablue, and added some pairs.

0reactions
anthrotypecommented, Oct 10, 2022

yes, it looks like kern_dflt is missing from the Black master

Do you know what parameter in Glyphs can change this?

It’s ufo2ft’s kernFeatureWriter that is producing the kern feature from the kerning data in the master UFO’s kerning.plist, so it’s not something you can control from Glyphs.app.

What does the kern_dflt lookup contain in the Regular master? Could you maybe remove those kerning pairs from Regular as well, so it’s aligned with the Black? Or conversely add some to the Black so it’s aligned with Regular? By removing or adding kerning pairs, I don’t mean you go and edit the kern feature directly, but actually modify the kerning data in the font editor.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Frequently Asked Questions - FontForge
I have a truetype font with opentype tables, but windows displays the “TT” (truetype) icon and not the “O” icon. Why? What do...
Read more >
texlive[50963] Build/source/libs: harfbuzz-2.4.0
+ + No test yet also, couldn't install cairo-devel, will try to fix that ... + + src/hb-ot-layout-gsub-table.hh | 4 ++-- + 1...
Read more >
Release Notes Archive - FontLab VI Help
Glyph Editing; List view of the Font window; User Interface; Font Info ... GPOS. When you applied a positioning feature such as palt...
Read more >
Bug listing with status RESOLVED with resolution OBSOLETE ...
... decorative fonts" status:RESOLVED resolution:OBSOLETE severity:enhancement ... Bug:115285 - "tpop3d crashes with "stack smashing attack in function ...
Read more >
Solve 300+ daily tasks in Excel with Ablebits Ultimate Suite
To merge tables, tick one or more matching columns that will be compared in your ... font hue Sum the same cell across...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found