jgadsden / tin-whistle-tablature

MuseScore plugin to add tablature / finger diagrams to a tin whistle staff in a score
https://musescore.org/en/project/tin-whistle-tablature
GNU General Public License v2.0
21 stars 6 forks source link

Blayne Chastain's TinWhistleTab.ttf not found by the plugin #30

Closed vinc35 closed 4 years ago

vinc35 commented 4 years ago

Hello, I'm using Windows 10 and I've installed the Tin Whistle tab plugin on Musecore 3 following the instructions. The plugin is located in C:\Users\svlel\Documents\MuseScore3\Plugins directory.

I've downloaded and installed as well the Blayne Chastain's TinWhistleTab.ttf. The font is now located in C:\Users\svlel\AppData\Local\Microsoft\Windows\Fonts directory but is visible as well in C:\Windows\Fonts.

I've activated the plugin in Musescroe, but unfortunately, when attempting to add the tab I receive an error message saying that I must install the font first. I've tried to change the code by renaming the font name by "Arial" and then I see the the letters in Musescore.

Please could you help me to find out what I've done wrong with the font in order not to get this error message ?

Thanks in advance.

Vincent tin whistle_tab-font tin whistle_tab-error

jgadsden commented 4 years ago

Hello @vinc35 - I must admit that I always test on MacOS and Linux (I am not a Windows sort of guy) so I have not tried this out on Windows. I will have a look on a Windows 10 machine and test out what is needed to install the font on Windows. Hope to have an answer sometime today or tomorrow if that is OK

@DLLarson do you use a Windows machine? Have you advice on installing the font?

vinc35 commented 4 years ago

Hello,

Thanks a lot for your quick answer !

Looking forward to hearing from you soon with good news 😊

Vincent

De : Jon Gadsden notifications@github.com Envoyé : dimanche 10 mai 2020 17:42 À : jgadsden/tin-whistle-tablature tin-whistle-tablature@noreply.github.com Cc : vinc35 sv.lelarge@free.fr; Mention mention@noreply.github.com Objet : Re: [jgadsden/tin-whistle-tablature] Blayne Chastain's TinWhistleTab.ttf not found by the plugin (#30)

Hello @vinc35 https://github.com/vinc35 - I must admit that I always test on MacOS and Linux (I am not a Windows sort of guy) so I have not tried this out on Windows. I will have a look on a Windows 10 machine and test out what is needed to install the font on Windows. Hope to have an answer sometime today or tomorrow if that is OK

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jgadsden/tin-whistle-tablature/issues/30#issuecomment-626346952 , or unsubscribe https://github.com/notifications/unsubscribe-auth/APQ2PIAOB7IZZH7TUNX2LZDRQ3DMPANCNFSM4M5IBDZA . https://github.com/notifications/beacon/APQ2PIDJHDQF74EM4AZRWITRQ3DMPA5CNFSM4M5IBDZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEVKUXSA.gif

-- L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast. https://www.avast.com/antivirus

jgadsden commented 4 years ago

Hello @vinc35 - could you try reinstalling the font from the file in this release? https://github.com/jgadsden/tin-whistle-tablature/releases/tag/v3.4

I had trouble on Windows 10 installing the font file from the site, so have included it in the release.

Note that if you are using MuseScore version 3.4 (and above) you will need the latest plugin release. I found this out the hard way just now :-)

vinc35 commented 4 years ago

Hello Jon,

I’m sorry to bother you again, but I’m still struggling with the plugin or font install… ☹

Whatever I do, the font is installed in the C:\users directory :

Is it the source of my issue ?

The error message in Musescore while attempting to make the plugin running is still the same : font not installed…

Also, I’ve re-installed the latest plugin from the link you provided:

Thanks in advance for your help !

Vincent

De : Jon Gadsden notifications@github.com Envoyé : lundi 11 mai 2020 09:37 À : jgadsden/tin-whistle-tablature tin-whistle-tablature@noreply.github.com Cc : vinc35 sv.lelarge@free.fr; Mention mention@noreply.github.com Objet : Re: [jgadsden/tin-whistle-tablature] Blayne Chastain's TinWhistleTab.ttf not found by the plugin (#30)

Hello https://github.com/vinc35 @vinc35 - could you try reinstalling the font from the file in this release? https://github.com/jgadsden/tin-whistle-tablature/releases/tag/v3.4

I had trouble on Windows 10 installing the font file from the site, so have included it in the release.

Note that if you are using MuseScore version 3.4 (and above) you will need the latest plugin release. I found this out the hard way just now :-)

— You are receiving this because you were mentioned. Reply to this email directly, https://github.com/jgadsden/tin-whistle-tablature/issues/30#issuecomment-626527075 view it on GitHub, or https://github.com/notifications/unsubscribe-auth/APQ2PIFFP7XDODQITSKWNZDRQ6TJ5ANCNFSM4M5IBDZA unsubscribe. https://github.com/notifications/beacon/APQ2PICQZ7LJ5TGMQ6IPO6DRQ6TJ5A5CNFSM4M5IBDZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEVMAWYY.gif

-- L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast. https://www.avast.com/antivirus

jgadsden commented 4 years ago

No bother at all @vinc35 - it is good that you raise these issues otherwise I would never know about the problems.

Could you try removing the existing TinWhistleTab.ttf files from both C:\Users\svlel\AppData\Local\Microsoft\Windows\Fonts directory and C:\Windows\Fonts ?

Then if you double click on the TinWhistleTab.ttf downloaded from the https://github.com/jgadsden/tin-whistle-tablature/releases/tag/v3.4 and observe the 'Install' button?

Could you say what the Windows font installer says then?

Thanks! Jon

vinc35 commented 4 years ago

Hello Jon,

This is what I tried yesterday. I did it again today :

Then, when launching the plugin in Musescore, I still receive the same error message.

I hope this will help fixing the issue 😉

Vincent

De : Jon Gadsden notifications@github.com Envoyé : mardi 12 mai 2020 20:02 À : jgadsden/tin-whistle-tablature tin-whistle-tablature@noreply.github.com Cc : vinc35 sv.lelarge@free.fr; Mention mention@noreply.github.com Objet : Re: [jgadsden/tin-whistle-tablature] Blayne Chastain's TinWhistleTab.ttf not found by the plugin (#30)

No bother at all @vinc35 https://github.com/vinc35 - it is good that you raise these issues otherwise I would never know about the problems.

Could you try removing the existing TinWhistleTab.ttf files from both C:\Users\svlel\AppData\Local\Microsoft\Windows\Fonts directory and C:\Windows\Fonts ?

Then if you double click on the TinWhistleTab.ttf downloaded from the https://github.com/jgadsden/tin-whistle-tablature/releases/tag/v3.4 and observe the 'Install' button?

Could you say what the Windows font installer says then?

Thanks! Jon

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jgadsden/tin-whistle-tablature/issues/30#issuecomment-627501452 , or unsubscribe https://github.com/notifications/unsubscribe-auth/APQ2PIDRKIDLPRPYIECBP63RRGFH3ANCNFSM4M5IBDZA . https://github.com/notifications/beacon/APQ2PIEIZZX7SZICH5IAVYLRRGFH3A5CNFSM4M5IBDZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEVTOTDA.gif

-- L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast. https://www.avast.com/antivirus

jgadsden commented 4 years ago

Hello @vinc35 - ah, that was my last idea, I really do not know why this does not work. Sorry about this.

There is an alternative plugin that adds tabs for tin whistles at : https://github.com/eduardomourar/fingering-diagram

Did you want to try that one? It does not rely on the font file, so has a better chance of success on your machine

I can keep this issue open so that we know there is a problem somewhere, hope that someone can come up with a solution. @DLLarson , @aayala4 or @riaanvn do you have suggestions?

jgadsden commented 4 years ago

Hello @vinc35 - I noticed this change in another repo that may help here: https://github.com/eduardomourar/fingering-diagram/pull/16/files

A font file has to be installed for this other repo as well, and they find that under Windows 10: For windows 10 users: Make sure to install the font for "All Users" or MuseScore (and thus this plugin) won't have access to it.

Could you make sure that the font is accessible for all users (including MuseScore) ?

DLLarson commented 4 years ago

Hi All,

I recently got a new computer with Win10 Pro so I had a chance to check this out. First off the font is installed fine as @vinc35 has observed. To test this, just open WordPad and you'll see the font is available there and you can type the characters at will.

This looks like a QT issue that is screening out this particular font for some reason. For grins I removed the tin whistle TTF font from Win10 and converted the TTF font to OpenFont format and reinstalled. Unfortunately MuseScore is still not showing the font.

You can see that MuseScore has QT screening out the font out by inserting some Staff text and trying to select the tin whistle tab font. It's nowhere to be found.

At this point this looks like a MuseScore bug to me. The net effect is that, at this point, the Tin Whistle plug-in is broken on Win10.

The only pattern I can see is that fonts that have an empty 'Category' field don't show up in MuseScore:

image

Or, perhaps it's the embeddability field.

-Dale

jgadsden commented 4 years ago

Thanks @DLLarson - you seem to have got to the bottom of this

I went to MuseScore github repo and a workaround has been submitted as a pull request in the last hour:

[Workaround] User fonts not visible to MuseScore 3 (Windows 10) https://github.com/musescore/MuseScore/pull/6084

It seems the bug is solved for Qt 5.12.2, but currently MuseScore still uses Qt 5.9.

DLLarson commented 4 years ago

Could you make sure that the font is accessible for all users (inlcuding MuseScore) ?

I just verified that re-installing the font for all users fixes the problem.

This still seems like a MuseScore bug to me since software should be able to work with the fonts installed for the current user. Requiring the ability to install for all users may be prevented by the system's policies. Think a college setting using the school's computers.

-Dale

DLLarson commented 4 years ago

Thanks for seeing that this was already identified by the MuseScore folks @jgadsden!

It looks like it's a pain point for more that just MuseScore.

-Dale

jgadsden commented 4 years ago

Thanks for your investigations @DLLarson , good to see that we have a work around ... and I agree that is less than ideal but may get @vinc35 going.

Do we need to alter the Readme for this issue? I do not know how many users of this plugin will be on Windows ... a bit of a closed world to me.

Thanks again, Jon

Could you make sure that the font is accessible for all users (inlcuding MuseScore) ?

I just verified that re-installing the font for all users fixes the problem.

vinc35 commented 4 years ago

Hello all, Thanks a lot for your investigations. Installing the font for all users fixes the issue for me as well ! Here a post that explains how to proceed just FYI : https://stackoverflow.com/questions/55264642/how-to-force-win10-to-install-fonts-in-c-windows-fonts I think it could be useful to add a note for Win10 users, even we're very few : I took a lot of time trying to understand what I was doing wrong before opening the issue to you... so it could save time for some users. Again, thank you very much. My daughter will be happy to use it to learn Tin Whistle ! Bye

jgadsden commented 4 years ago

Hello @vinc35 , really good news that it is now working for you, the Tin Whistle is a very enjoyable instrument for your daughter to play 👍 Many thanks @DLLarson for getting to the root of the problem, and certainly we will update the readme. @DLLarson you updated the readme last time, and have a way with words - do you want to update it and maye include the link from @vinc35 ?

DLLarson commented 4 years ago

@DLLarson you updated the readme last time, and have a way with words - do you want to update it and maye include the link from @vinc35 ?

Will do. -Dale