react-native-songbook
react-native-songbook copied to clipboard
glyph v does not exist in font
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?
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?
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