LayoutFarm.Demo.DemoForm.LoadCustomFonts C# (CSharp) Method

LoadCustomFonts() private method

Load custom fonts to be used by renderer htmls
private LoadCustomFonts ( ) : void
return void
        private void LoadCustomFonts()
        {
            //// load custom font font into private fonts collection
            //var file = Path.GetTempFileName();
            //File.WriteAllBytes(file, HtmlRenderer.Demo.Resource.CustomFont);
            //_privateFont.AddFontFile(file);

            //// add the fonts to renderer
            //foreach (var fontFamily in _privateFont.Families)
            //{
            //    HtmlRender.AddFontFamily(fontFamily);
            //}
        }