public virtual void AppendAnyGlyphWithEmptyEncodingTest()
        {
            PdfSimpleFont <FontProgram> fontToTest = new PdfSimpleFontTest.TestSimpleFont(FontEncoding.CreateEmptyFontEncoding
                                                                                              ());
            IList <Glyph> toAppend  = new List <Glyph>();
            int           processed = fontToTest.AppendAnyGlyph("e ete", 0, toAppend);

            NUnit.Framework.Assert.AreEqual(1, processed);
            IList <Glyph> glyphs = new List <Glyph>();

            glyphs.Add(E_GLYPH_CUSTOM_MAPPED);
            NUnit.Framework.Assert.AreEqual(glyphs, toAppend);
        }
        public virtual void AppendAnyGlyphWithSpecificEncodingTest()
        {
            PdfSimpleFont <FontProgram> fontToTest = new PdfSimpleFontTest.TestSimpleFont(FontEncoding.CreateFontSpecificEncoding
                                                                                              ());
            IList <Glyph> toAppend  = new List <Glyph>();
            int           processed = fontToTest.AppendAnyGlyph("te", 0, toAppend);

            NUnit.Framework.Assert.AreEqual(1, processed);
            IList <Glyph> glyphs = new List <Glyph>();

            glyphs.Add(T_GLYPH_FONT_SPECIFIC);
            NUnit.Framework.Assert.AreEqual(glyphs, toAppend);
        }