public virtual void ZeroGlyphIsAllowedOnlyIfFontIsSymbolicTest() { PdfFontUnitTest.TestFont font = new PdfFontUnitTest.TestFont(); NUnit.Framework.Assert.IsFalse(font.ContainsGlyph(PdfFontUnitTest.TestFont.ZERO_CODE_GLYPH)); font.SetFontProgram(new PdfFontUnitTest.TestFontProgram()); NUnit.Framework.Assert.IsTrue(font.ContainsGlyph(PdfFontUnitTest.TestFont.ZERO_CODE_GLYPH)); }
public virtual void ContainsGlyphTest() { PdfFontUnitTest.TestFont font = new PdfFontUnitTest.TestFont(); NUnit.Framework.Assert.IsTrue(font.ContainsGlyph(PdfFontUnitTest.TestFont.SIMPLE_GLYPH)); NUnit.Framework.Assert.IsFalse(font.ContainsGlyph(111)); }