src/OtlDump.php
function _checkGSUBignore($flag, $glyph, $MarkFilteringSet)
	{
		$ignore = false;
		// Flag & 0x0008 = Ignore Marks
		if ((($flag & 0x0008) == 0x0008) && strpos($this->GlyphClassMarks, $glyph)) {
			$ignore = true;
		}
		if ((($flag & 0x0004) == 0x0004) && strpos($this->GlyphClassLigatures, $glyph)) {
			$ignore = true;
		}
		if ((($flag & 0x0002) == 0x0002) && strpos($this->GlyphClassBases, $glyph)) {
			$ignore = true;
		}
		// Flag & 0xFF?? = MarkAttachmentType
		if (($flag & 0xFF00) && strpos($this->MarkAttachmentType[($flag >> 8)], $glyph)) {
			$ignore = true;
		}
		// Flag & 0x0010 = UseMarkFilteringSet
		if (($flag & 0x0010) && strpos($this->MarkGlyphSets[$MarkFilteringSet], $glyph)) {
			$ignore = true;
		}

		return $ignore;
	}
function _checkGSUBignore($flag, $glyph, $MarkFilteringSet)
	{
		$ignore = false;
		// Flag & 0x0008 = Ignore Marks
		if ((($flag & 0x0008) == 0x0008) && strpos($this->GlyphClassMarks, $glyph)) {
			$ignore = true;
		}
		if ((($flag & 0x0004) == 0x0004) && strpos($this->GlyphClassLigatures, $glyph)) {
			$ignore = true;
		}
		if ((($flag & 0x0002) == 0x0002) && strpos($this->GlyphClassBases, $glyph)) {
			$ignore = true;
		}
		// Flag & 0xFF?? = MarkAttachmentType
		if (($flag & 0xFF00) && strpos($this->MarkAttachmentType[($flag >> 8)], $glyph)) {
			$ignore = true;
		}
		// Flag & 0x0010 = UseMarkFilteringSet
		if (($flag & 0x0010) && strpos($this->MarkGlyphSets[$MarkFilteringSet], $glyph)) {
			$ignore = true;
		}

		return $ignore;
	}
function _checkGSUBignore ( $ flag , $ glyph , $ MarkFilteringSet ) { $ ignore = false ; // Flag & 0x0008 = Ignore Marks if ( ( ( $ flag & 0x0008 ) == 0x0008 ) && strpos ( $ this -> GlyphClassMarks , $ glyph ) ) { $ ignore = true ; } if ( ( ( $ flag & 0x0004 ) == 0x0004 ) && strpos ( $ this -> GlyphClassLigatures , $ glyph ) ) { $ ignore = true ; } if ( ( ( $ flag & 0x0002 ) == 0x0002 ) && strpos ( $ this -> GlyphClassBases , $ glyph ) ) { $ ignore = true ; } // Flag & 0xFF?? = MarkAttachmentType if ( ( $ flag & 0xFF00 ) && strpos ( $ this -> MarkAttachmentType [ ( $ flag >> 8 ) ] , $ glyph ) ) { $ ignore = true ; } // Flag & 0x0010 = UseMarkFilteringSet if ( ( $ flag & 0x0010 ) && strpos ( $ this -> MarkGlyphSets [ $ MarkFilteringSet ] , $ glyph ) ) { $ ignore = true ; } return $ ignore ; }
mPDF 5.7.1
mPDF 5 . 7 . 1