Lines Matching defs:Input

1854 						$Input = [];
1855 $Input[0] = $this->OTLdata[$ptr]['uni'];
1858 $Input[$r] = $this->glyphToChar($gid);
1860 $matched = $this->checkContextMatch($Input, $Backtrack, $Lookahead, $ignore, $ptr);
1896 return $InputGlyphCount; // should be + matched ignores in Input Sequence
1923 // Select $SubClassSet if currGlyph is in First Input Class
1936 $Input = [];
1938 $Input[$r] = $this->read_ushort();
1949 $classindex = $Input[$gcl];
2005 return $InputGlyphCount; // should be + matched ignores in Input Sequence
2051 $Input = [];
2052 $Input[0] = $this->OTLdata[$ptr]['uni'];
2056 $Input[$b] = $this->glyphToChar($gid);
2065 $matched = $this->checkContextMatch($Input, $Backtrack, $Lookahead, $ignore, $ptr);
2101 return $InputGlyphCount; // should be + matched ignores in Input Sequence
2133 // Select $ChainSubClassSet if currGlyph is in First Input Class
2150 $Input[$r] = $this->read_ushort();
2163 // [Backtrack] [Lookahead] and [Input] (Input is from the second position only)
2174 $classindex = $Input[$gcl];
2272 return $InputGlyphCount; // should be + matched ignores in Input Sequence
2356 return $InputGlyphCount; // should be + matched ignores in Input Sequence
3805 // Select $PosClassSet if currGlyph is in First Input Class
3819 $Input = [];
3821 $Input[$r] = $this->read_ushort();
3831 $classindex = $Input[$gcl];
3887 return $InputGlyphCount; // should be + matched ignores in Input Sequence
3937 // Select $ChainPosClassSet if currGlyph is in First Input Class
3954 $Input = [];
3956 $Input[$r] = $this->read_ushort();
3972 $classindex = $Input[$gcl];
4072 return $InputGlyphCount; // should be + matched ignores in Input Sequence
4165 private function checkContextMatch($Input, $Backtrack, $Lookahead, $ignore, $ptr)
4167 // Input etc are single numbers - GSUB Format 6.1
4168 // Input starts with (1=>xxx)
4191 for ($i = 1; $i < count($Input); $i++) {
4199 } elseif (isset($this->OTLdata[$checkpos]) && $this->OTLdata[$checkpos]['uni'] == $Input[$i]) {
4223 private function checkContextMatchMultiple($Input, $Backtrack, $Lookahead, $ignore, $ptr, $class0excl = '', $bclass0excl = '', $lclass0excl = '')
4225 // Input etc are string/array of glyph strings - GSUB Format 5.2, 5.3, 6.2, 6.3, GPOS Format 7.2, 7.3, 8.2, 8.3
4226 // Input starts with (1=>xxx)
4254 for ($i = 1; $i < count($Input); $i++) { // Start at 1 - already matched the first InputGlyph
4262 } // If Input Class 0 specified, matches anything NOT in $class0excl
4263 elseif (!$Input[$i] && isset($this->OTLdata[$checkpos]) && strpos($class0excl, $this->OTLdata[$checkpos]['hex']) === false) {
4265 } elseif (isset($this->OTLdata[$checkpos]) && strpos($Input[$i], $this->OTLdata[$checkpos]['hex']) !== false) {
4291 private function checkContextMatchMultipleUni($Input, $Backtrack, $Lookahead, $ignore, $ptr, $class0excl = [], $bclass0excl = [], $lclass0excl = [])
4293 // Input etc are array of glyphs - GSUB Format 5.2, 5.3, 6.2, 6.3, GPOS Format 7.2, 7.3, 8.2, 8.3
4294 // Input starts with (1=>xxx)
4322 for ($i = 1; $i < count($Input); $i++) { // Start at 1 - already matched the first InputGlyph
4330 } // If Input Class 0 specified, matches anything NOT in $class0excl
4331 elseif (!$Input[$i] && isset($this->OTLdata[$checkpos]) && !isset($class0excl[$this->OTLdata[$checkpos]['uni']])) {
4333 } elseif (isset($this->OTLdata[$checkpos]) && isset($Input[$i][$this->OTLdata[$checkpos]['uni']])) {
4472 // for Input - set on secondary Lookup table if in Context, and set Backtrack and Lookahead on Context Lookup