Variable font not interpolating anchors correctly

Hi,
I have a strange behavior when exporting a variable font with main axis and a virtual axis, check the video below please:
The actual behavior

The desired behavior

My font infos:




My font layers:

Test font info:




Test font layers: (check the preview below)

My font is in glyphspackage format, test font is in glyphs file format (but it does not seems to affect things)
Any suggestion please?

16 posts were split to a new topic: Missing Style in VF

One more thing; is it normal that no "weight"s are listed here?
image

This looks like the issue where anchors in intermediate layers are ignored. I’m not sure whether this has been fixed in a recent version. Which Glyphs version are you on?

Thanks for your reply Sebastian.
Both files are produced in the same app on the same mac. Glyphs version used: 3.3 (3326)

One thing I can see from the screenshot is that the Virtual Master should be “Bowl Size” = 30, as the brace layers use that value.

And anchors in brace layers are indeed not supported. I’ll have a look.

1 Like

I thought so. The problem is that they are interpolating “normally” in the attached file.
test-font.glyphs (51.9 KB)

They are working for precomposed glyphs, but not when the marks are placed by mark positioning.

1 Like

Just out of curiosity; is it a Glyphs VF export limitation or otvar limitation (if I’m not mistaken)?

That is a bug in Glyphs.

1 Like

@GeorgSeifert is it normal that there are no weights (I have 5) after export to VF?

Where do you expect the weights to show up?

In Adobe Suite for example, Figma, etc…
Here is League Mono VF in Adobe Illustrator


My font in the same app
SCR-20241124-uepx
I’m supposed to see 5 weights (ExtraLight, Light, Regular, Medium, Bold)

So, apparently, the exporter does not play nice with individual weights IF the virtual axis value is set to zero in the Axis Location custom param, just set the actual axis (weight in my case) to the values you want, leave the virtual axis value empty, and you are good to go.

SCR-20241125-lzgy

Adding a zero will extend the axis range. This will cause a lot problems.

1 Like

It’s somehow added automatically when adding exports, I assume as default value.

All entries in the axis location parameters need to be manually set to the correct values.

1 Like

I learned that the hard way :smiling_face_with_tear: :sweat_smile:
Is there any ETA on fixing the anchors interpolation issue? :pray:t2:

The Anchor Interpolation needs a lot changes code. It is unlikely that this will happen in Glyphs 3. It is working correctly in the next bigger update.

1 Like

No proposed workaround at least :smiling_face_with_tear: