Rounded corner filter for variable font

hello, is it possible to create rounded corner filter custom parameters for a variable font? I have different rounded corner values for 3 masters. When I exported the variable font format, the rounded corner didn’t seem to work. Thanks!

Kind of, but it has limitations. I don’t think you can have different values for different masters. To do it with one value, you need to add the filter to a Variable Font Setting in your exports and paste the rounding filter’s custom parameter there, rather than on your normal instances. Have a look at Step 5 here to create the Variable Font Setting: Creating a variable font | Glyphs
There is a lot of potential for compatibility issues in a sufficiently complex font, though. You could possibly achieve this with differences per master by using corner components, but that’s probably more work than rounding your masters destructively, without a filter at export

Yes, you can have different values with number tokens. See the release notes of Glyphs 3.2:

The problem is:

  1. that the effect, when applied, needs to generate compatible shapes in all masters, so choose your radius wisely, and
  2. also corners in overlaps get rounded, so be careful with corners close to edges.
2 Likes