If you want to do this, I would suggest adding a dummy glyph (non-exporting, you can even name it variable), setting its sidebearings to what you want. Then use it in your metrics keys.
Using metrics arithmetics excessively is not a good idea, though, generally.
As Sebastian said. Use metrics keys only for similar shapes. And use CSS calculations only for small adjustment (e.g. if the D is a bit flatter than the O you can do: =O-5). Never do =H*0.6.
Both your points are valid and I wouldn’t space it this way normally.
I’m trying to apply the LS Cadencer principle manually (since I can’t get the plugin working on my computer).
Hence my question about using a decimal number as a variable. Which except if I’m mistaken, is what the plugin does, then multiplied by coefficients stored in a table.
The version I was given by Lukas was last modified on 4th november. Tried every possible way to get it working (reinstall modules, reinstall Glyphs), didn’t work and I always get the following error:
A plugin caused a crash
The Plugin LSCadencerTool.glyphsPlugin has caused a crash. Please update it by opening the Plugin Manager or re-downloading it from the original source.
Details:
Traceback (most recent call last):
File “GlyphsApp/GlyphsApp/plugins.py”, line 875, in loadPlugin
File “plugin.py”, line 36, in start
newMenuItem = NSMenuItem(self.name, self.showWindow)
^^^^^^^^^^^^^^^
AttributeError: ‘LSCadencerTool’ object has no attribute ‘showWindow’