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

Removing or setting SMuFL glyph ID postfixes to a fixed string #3592

Closed
lpugin opened this issue Feb 8, 2024 Discussed in #3552 · 0 comments
Closed

Removing or setting SMuFL glyph ID postfixes to a fixed string #3592

lpugin opened this issue Feb 8, 2024 Discussed in #3552 · 0 comments

Comments

@lpugin
Copy link
Contributor

lpugin commented Feb 8, 2024

Discussed in #3552

Originally posted by craigsapp November 30, 2023

Glyph IDs such as E566 have an added random postfix, such as srs021 in this case in the SVG output to verovio to avoid ID collisions when multiple verovio-generated svgs are placed in the same HTML document tree:

<symbol id="E566-srs021" viewBox="0 0 1000 1000" overflow="inherit">

Is there a way remove the random postfix, such as:

<symbol id="E566" viewBox="0 0 1000 1000" overflow="inherit">

or otherwise setting it to a user-selected string, such as

<symbol id="E566-my_postfix" viewBox="0 0 1000 1000" overflow="inherit">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant