Skip to content
This repository was archived by the owner on Jan 4, 2025. It is now read-only.
This repository was archived by the owner on Jan 4, 2025. It is now read-only.

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

@BobtheBox

Description

@BobtheBox

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions