LayoutFarm.Demo.DemoForm.LoadCustomFonts C# (CSharp) 메소드

LoadCustomFonts() 개인적인 메소드

Load custom fonts to be used by renderer htmls
private LoadCustomFonts ( ) : void
리턴 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);
            //}
        }