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

WIP: refactor svg #3673

Draft
wants to merge 4 commits into
base: develop
Choose a base branch
from
Draft

Conversation

rettinghaus
Copy link
Contributor

This aims to get rid of the unwanted css attribute overflow from the SVG output.

Instead of extracting the symbols from each font the paths are put in a g element for referencing in the SVG.
That removes the previous need for a @viewbox on every glyph and the later resizing with @width and @hight (making the resulting SVG way smaller).

The scaling for the glyphs is added during adding the snippets in Verovio.

Currently it is hard-coded, so scaling with this doesn't work.

@rettinghaus rettinghaus marked this pull request as draft May 8, 2024 16:21
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.

2 participants