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

glyph v does not exist in font #5

Open
akfldk1028 opened this issue Nov 8, 2020 · 2 comments
Open

glyph v does not exist in font #5

akfldk1028 opened this issue Nov 8, 2020 · 2 comments

Comments

@akfldk1028
Copy link

Hi, I tried using your source, Almost everything was done right but It had an error. Abc sheet music is not rendered and message says "BadGlyph" , "glyph v does not exist in font" . Maybe it's not working in the vexflow or abcjs-vexflow-renderer. Can I check the full request if you do it?

@MatthewDorner
Copy link
Owner

Sorry, I haven't been online much. I remember I ran into that error during development, was something to do with the formatting or encoding of the source ABC text. It may have been the reason I added the:

contents = contents.replace(/\r/g, ''); // get weird errors if I don't do this

in ImportIntoCollectionModal.js, or maybe it was the:

const escapedTuneBook = tuneBook.replace(/"/g, '""');

in db-operations.js.

Have you modified the code to try and get ABC text into the app in some new way? You're just running the React Native app, right, not using abcjs-vexflow-renderer in your own app? You didn't modify the default data .abc files?

@MatthewDorner
Copy link
Owner

Are you running this in a Windows development environment? I think it might be due to the difference between Windows and Unix newlines. You might have to convert the .abc files to use Windows newlines.

http://www.cs.toronto.edu/~krueger/csc209h/tut/line-endings.html

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

No branches or pull requests

2 participants