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).
Afficher le fichier Open project: BloomBooks/BloomDesktop

Méthodes publiques

Méthode Description
InstallFont ( string sourceFolder, bool needsRestart = true ) : bool

Private Methods

Méthode Description
AllFontsExist ( string sourcePath ) : bool

Method Details

InstallFont() public static méthode

public static InstallFont ( string sourceFolder, bool needsRestart = true ) : bool
sourceFolder string
needsRestart bool
Résultat bool