Installing/Removing Fonts:
AddFontResource(Path+\FileName.TTF’); // to add font to system
SendMessage(HWND_BROADCAST, WM_FONTCHANGE, 0, 0); //to notify that fonts are changed.
you can use:
RemoveFontResource(Path+’Data\FileName.TTF’); // to remove it from system
[tags]Delphi, Misc, Fonts[/tags]
0 Kommentare zu “Installing/Removing Fonts”