I need to build an algorithm that will automatically interpolate a variable font in the layout based on the positions of the characters in space. It doesn't matter in which software it will be implemented, it can be anything from InDesign to Processing. Is it even possible?
The idea itself sounds extremely simple: to bind the values of the axes of a variable font with coordinates in space. As a result, I expect to get a character-by-character interpolation of the axis values. Below is a diagram of how it should work. I will be glad of any ideas.