05-27-2025, 08:30 PM
How the module works is:
I'm explaining the workflow because I suppose it could interfere with what you're already injecting yourself into the file as I know you also modify pagescale.
- a first music generation is made without measure stretching (to find out the real width of a line) and with a lower pagescale (to make sure no line breaks are inserted to split the lines)
- it finds out from that first generation the width of the longest line and the height of the score
- from the width and height, it calculates a pagescale that maximizes width and height to fit in the box
- it inserts this new pagescale in the tune content and re-renders the tune
I'm explaining the workflow because I suppose it could interfere with what you're already injecting yourself into the file as I know you also modify pagescale.