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

make glyphs use unicode symbols #506

Open
wants to merge 10 commits into
base: dev
Choose a base branch
from
Open

Conversation

8633brown
Copy link
Contributor

This is more of a proof of concept at the moment. Although It does seem to work very well with just the initial change. All glyphs render okay other than a few minor changes to positioning.
It should eventually allow easier management of fonts and glyphs. for example:
a user should be able to load any smufl font via css and abcjs should use the loaded font for glyphs instead.
a new directive may need to be added to get abcjs to set the font family on the svg.

There are also a few scaling issues.
font-size: xx-large needs to be used to scale the font to match the current rendering set up. This might just need the abc_spacing file modified to render things at the correct size in relation to the font.

@8633brown
Copy link
Contributor Author

Most symbols now line up well. Some symbols are larger than the old symbols and may need to be scaled somehow, this is especially an issue with grace notes as the head and flag aren't scaled to the correct stem size.

@8633brown
Copy link
Contributor Author

a few symbols I couldn't find are arpeggio shortphrase mediumphrase and longphrase. the phrases should really be drawn the same as the bar lines.

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

1 participant