LoadInstalledFont() public method

public LoadInstalledFont ( IEnumerable getFontFileIter ) : void
getFontFileIter IEnumerable
return void
        public static void LoadInstalledFont(IInstalledFontProvider provider)
        {
            if (s_didLoadFonts)
            {
                return;
            }
            s_didLoadFonts = true;
            installFonts = new InstalledFontCollection();
            installFonts.LoadInstalledFont(provider.GetInstalledFontIter());

            //--------
            //TODO: review here
            //this is platform specific code
            WinGdi.WinGdiFontFace.SetInstalledFontCollection(installFonts);
        }