Fontmake related issues

Hi,
I’m trying to use fontmake to generate my production fonts files from Glyphs files. I’m having a couple of issues:

  • When using _segment.strokebutt in Glyphs, I get this error, knowing that the given glyph is marked for export. else fontmake won’t apply it at all:
ERROR:ufo2ft.filters.removeOverlaps:Failed to remove overlaps for _segment.strokebutt
fontmake: Error: In 'src/my-font.glyphspackage' -> 'master_ufo/MyFont.designspace': Compiling UFO failed: Unhandled open contour
  • I’m having 3 axis; 2 ‘real’ axis and a virtual one. Their values goes as following: 100->600, 10->30, 10->50. with this config, fontmake complains about unique locations:
WARNING:glyphsLib.builder.sources:DesignSpace sources contain duplicate locations; varLib expects each master to define a unique location. Make sure that you used consistent 'brace layer' names in all the glyph layers that share the same location.
  ['{50, 30, 10}', '{50, 30, 10}'] => {'Weight': 50.0, 'Bowl Size': 30.0, 'Optical size': 10.0}
  ['{110, 30, 10}', '{110, 30, 10}'] => {'Weight': 110.0, 'Bowl Size': 30.0, 'Optical size': 10.0}

and

fontmake: Error: In 'src/atheer.glyphspackage' -> 'master_ufo/MyFont.designspace': Generating fonts from Designspace failed: Locations must be unique.
  • Is it possible to remove overlap in the variable version?

I’m using .glyphspackage format.

Any suggestions?

Thanks in advance

I don’t think that glyphsLib supports segment components, does it?. But corners and segments should always be set to not exporting.
But you should post that on the glyphsLib repo.

1 Like

Moved to glyphsLib repo, thanks Georg

One thing you could do is to post one problem at a time. Makes the discussion much easier.

1 Like

Updated the cumbersome issue, it’s related to the axis location only now :smiley: Sorry about that :sweat_smile: