C# Class Bloom.ToPalaso.FontInstaller

Helper class for installing fonts. To use this: the sourceFolder passed to InstallFont must be one that GetDirectoryDistributedWithApplication can find. It must contain the fonts you want to be sure are installed. It MUST also contain the installer program, "Install Bloom Literacy Fonts.exe", a renamed version of FontReg.exe (see below). The user will typically see a UAC dialog asking whether it is OK to run this program (if the fonts are not already installed).
Show file Open project: BloomBooks/BloomDesktop

Public Methods

Method Description
InstallFont ( string sourceFolder, bool needsRestart = true ) : bool

Private Methods

Method Description
AllFontsExist ( string sourcePath ) : bool

Method Details

InstallFont() public static method

public static InstallFont ( string sourceFolder, bool needsRestart = true ) : bool
sourceFolder string
needsRestart bool
return bool