Archive: View and install Fonts during installation


View and install Fonts during installation
Hello,

I need to let the user choose a font out of a list of fonts that come with the installer and then have the installer install that font on the user machine. To make his choice the user should be able to view each font (i.e. view some text written in each font like "Hello World" or whatever) and then check the font they want to use.

I looked for a plugin that can process fonts (display, install) and that supports Windows XP/Vista/7 but I can not find any.

Anyone knows if there is any such plugin? If not, any change that you know of any open source utility that can do that and I can embed into the installer?

Hopefully this was done before :-)

Thanks!


I don't think there's a plugin for this. You could however just use images...


you mean prepare images in advance for each font? I guess that can work if there is no other way around.


I think you can use a font on NT without installing it, I don't remember the exact details


To view a font that hasn't been installed, you must extract the font file to hard disk, then use System plugin to call AddFontResource and use CreateFont to create a font and show it in a label control.


Ah - AddFontResource, just read on MSDN seems like what I needed thanks!

I also found this utility fontreg.exe small silent command line utility to install fonts might just use it.