Glyph property values math in feature code

How can I use a negative value in a positioning rule with glyph properties?

This works:

pos [a b c] @d' <${x:width*2} 0 ${x:width} 0>

But I need negative values, and get an error if I try to multiply with a negative value:

pos [a b c] @d' <${x:width*-2} 0 ${x:width*-1} 0>

This doesn’t work either:

pos [a b c] @d' <-${x:width*2} 0 -${x:width} 0>

This is a known limitation of the expression format. We are working on a more general solution, but that will probably have to wait until the next big release.

I should get the *-1 to work …