public virtual void AddFontFaceFontsTest()
        {
            iText.StyledXmlParser.Jsoup.Nodes.Element styleTag = new iText.StyledXmlParser.Jsoup.Nodes.Element(iText.StyledXmlParser.Jsoup.Parser.Tag
                                                                                                               .ValueOf("style"), "");
            TextNode styleContents = new TextNode("\n" + "\t@font-face{\n" + "\t\tfont-family:Courier;\n" + "\t\tsrc:local(Courier);\n"
                                                  + "\t}\n" + "  ", "");
            JsoupElementNode jSoupStyle = new JsoupElementNode(styleTag);

            jSoupStyle.AddChild(new JsoupTextNode(styleContents));
            SvgProcessorContext context          = new SvgProcessorContext(new SvgConverterProperties());
            ICssResolver        cssResolver      = new SvgStyleResolver(jSoupStyle, context);
            SvgFontProcessor    svgFontProcessor = new SvgFontProcessor(context);

            svgFontProcessor.AddFontFaceFonts(cssResolver);
            FontInfo info = (FontInfo)context.GetTempFonts().GetFonts().ToArray()[0];

            NUnit.Framework.Assert.AreEqual("Courier", info.GetFontName());
        }