Hi,
I try to make superscript glyphs with Python, but sometimes copied and scaled paths are incompatible. Take a look at R.sups:
In the bold Master the first serif is switched with the leg. In Light and Regular everything is OK. Serifs are made of components in R.
OK I removed .correctPathDirection() from the code and now paths are compatible. However, I donât understand why this function makes path incompatible. Should do the opposite thing
The method correctPathDirection() tries to reorder paths to give them the same structure. But that fails here and there.
correctPathDirection()