I know how to register+notify and unregister+notify a font using Delphi.
But I want to know what can I do when I have a font which has a similar name with a already registered font (but it’s a different version). Maybe even in “use”.
I can try one of these:
- Use the font just locally in the program (but in some situations I don’t have access to code because I didn’t make it);
- Somehow temporary unregister the local one (even if it was in “use”), use the new one as long the program is open and reregister the local one after the program is closed.
I would prefer the first but I’m not sure 100% that it can be done (I never heard of a font used locally in a normal Windows program but I asked just in case I’m wrong).
And I don’t know if it’s ok to forcibly unregister fonts in “use” (if it’s possible).
But maybe someone has a better idea…
Thank you.
What about telling the user he has an old version of the same font installed, and new versions needs to be installed so he can experience the new glyphs.
You can even do that in the installer for your program; that’s what installers are for: people expect things to change/improve when running installers 🙂
Edit:
If you don’t have an installer, then make it clear to the user that he has two options: