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

Fix linespacing #1008

Merged
merged 1 commit into from May 12, 2024
Merged

Fix linespacing #1008

merged 1 commit into from May 12, 2024

Conversation

LokiMidgard
Copy link

When using the scale and oneSvgPerLine parameters of the renderAbc function, the distance between the lines is not scaled accordantly.

e.g.: A scale factor of 0.3 results in following rendering:
image

I would expect that the distance is also scaled down like this:
image

Using a scalefactor greater then 1 will at some point cut the svg, omitting part of the score

I think the height of the div should be scaled down. The height of the SVG will be changed by the transform but the height of the sourounding div is like it wasn't scaled.

Not sure if I found the right position but it worked for my textcase…

@LokiMidgard LokiMidgard changed the base branch from main to dev April 4, 2024 07:47
@paulrosen paulrosen merged commit 2fdf3fa into paulrosen:dev May 12, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants