-
Notifications
You must be signed in to change notification settings - Fork 1
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
SVGs cropping right and bottom #15
Comments
Any progress? |
Sorry, not yet, I will take a look this week. |
No rush. Just checking back. |
Weird. Yes. Thanks for taking a look. I had hoped that SVG with it's scaling ability would ultimately be a better choice, but the strangeness may force me back to the PNG -- which as previously reported, has its own challenges / bugs... |
Yes, this is the key. The output of ImageMagick is not real SVG, but a wrapped PNG and its default resolution is only 72. |
Since large PNGs were giving me trouble, I decided to switch the configuration to SVGs.
However, this crops the right and bottom of the score, eliminating too much.
The result can be seen by looking at any of the 47 scores (so far) at:
https://ubuntourist.codeberg.page/Celtic_Song_Book/
Running
produces the correct uncropped output.
(I notice that running
lilypond
from the command line produces a true SVG, whereas the extension does a base-64 encoding of a PNG, and wraps SVG code around it.)The text was updated successfully, but these errors were encountered: