Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Staffscale directive is ignored for subsequent tunes when using single file eps output (-E -O) options #108

Open
BobtheBox opened this issue Jan 9, 2022 · 1 comment

Comments

@BobtheBox
Copy link

BobtheBox commented Jan 9, 2022

When running with a format file and selecting single output files, only the first ps file generated uses the declared staffscale setting. Subsequent ps files in the output use the default (staffscale 1.0)

Command line:
abcm2ps.exe -F "A5Landscape.fmt" source.abc -E -O "%output_image_dir%processed"

Format file (A5Landscape.fmlt) contains:
% staffscale changes the relative size of the music in relation to the page
staffscale 1.2

Generates multiple files (given two entries in source.abc):
%output_image_dir%processed001.eps
%output_image_dir%processed002.eps

processed001.eps has staffscale = 1.2
processed002.eps has staffscale = 1.0

Note that the same behaviour is seen if no external fmt file is used and the staffscale is included in the header of the abc file (it is only applied to the first tune in the file). If the directive is explicitly included in each tune then it is applied correctly.

Version is reported as abcm2ps-8.14.11

moinejf added a commit that referenced this issue Jan 10, 2022
@moinejf
Copy link
Collaborator

moinejf commented Jan 10, 2022

The problem should be fixed.
Thanks for the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants