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

Bar line at the end of a stave is being placed outside the generated image boundaries #109

Open
BobtheBox opened this issue Feb 4, 2022 · 1 comment

Comments

@BobtheBox
Copy link

BobtheBox commented Feb 4, 2022

Given a standard abc file with bar lines at the end of the stave and a format file with right margin set to zero the generated image crops the bar line and appears (in print) as an open ended stave. Other bar line ending styles ('|]', ':|') are rendered within the stave line boundary and are within the image.

% bar at end of line is appended to stave and appears outside rendered area
FE|D2EF D2FA|B2 BA FABd|fedf afdf|edBe dBAF|
% repeat bar at end of line appears on stave and appears inside rendered area
D2EF D2FA|B2 BA FABd|fedf edBA|dBAF D2:|

% format file
rightmargin 0.0cm

If the right margin is set to 0.1cm the bar lines are correctly rendered however they are, on close inspection, perceptibly misaligned with other bar ending types (and the image has a margin which must now be handled in downstream DTP apps).

Version is reported as abcm2ps-8.14.11

@BobtheBox BobtheBox changed the title Bar line at the end of a stave are being placed outside the generated image boundaries Bar line at the end of a stave is being placed outside the generated image boundaries Feb 4, 2022
moinejf added a commit that referenced this issue Feb 5, 2022
@moinejf
Copy link
Collaborator

moinejf commented Feb 5, 2022

This should be fixed by the commit e3282f8.
Thanks.

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