View Full Version : Updating a Font
NewsArchive
05-21-2013, 03:09 AM
We have a special font we install. We have an update to the font.
Typically you need to unregister a font to be able to register a
replacement.
How can I unregister the old font?
Paul MacFarlane
NewsArchive
05-21-2013, 03:09 AM
> We have a special font we install. We have an update to the font.
>
> Typically you need to unregister a font to be able to register a
> replacement.
>
> How can I unregister the old font?
IMO, you don't have to unregister it.
But to answer your question, to unregister a font, you have to remove all
relevant registry entries and then call the RemoveFontResource Windows API.
After that, you have to broadcast (HWND_BROADCAST) the font change
(WM_FONTCHANGE) to the whole system (using the SendNotifyMessage Windows
API).
Friedrich
NewsArchive
05-21-2013, 12:19 PM
Thanks Friedrich.
Paul MacFarlane
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.