public virtual void TestLookupFlagWithMarkAttachmentTypeAndBaseGlyph() { String fontName = "Padauk-Regular.ttf"; TrueTypeFont fontProgram = (TrueTypeFont)FontProgramFactory.CreateFont(RESOURCE_FOLDER + fontName); OpenTypeGdefTableReader gdef = fontProgram.GetGdefTable(); int glyphCode = 165; NUnit.Framework.Assert.AreEqual(OtfClass.GLYPH_BASE, gdef.GetGlyphClassTable().GetOtfClass(glyphCode)); NUnit.Framework.Assert.IsFalse(gdef.IsSkip(glyphCode, (1 << 8))); }
public virtual bool IsSkip(int glyph, int flag) { return(gdef.IsSkip(glyph, flag)); }