Lines Matching refs:count

686 		$nameCount = count($names);
1222 if (isset($glyphToChar[$left]) && count($glyphToChar[$left]) == 1 && isset($glyphToChar[$right]) && count($glyphToChar[$right]) == 1) {
1263 if (isset($GlyphByClass[1]) && count($GlyphByClass[1]) > 0) {
1268 if (isset($GlyphByClass[2]) && count($GlyphByClass[2]) > 0) {
1273 if (isset($GlyphByClass[3]) && count($GlyphByClass[3]) > 0) {
1278 if (isset($GlyphByClass[4]) && count($GlyphByClass[4]) > 0) {
1284 if (isset($GlyphByClass[3]) && count($GlyphByClass[3]) > 0) {
1299 The table consists of an offset to a Coverage table (Coverage) listing all glyphs that define attachment points in the GPOS table, a count of the glyphs with attachment points (GlyphCount), and an array of offsets to AttachPoint tables (AttachPoint). The array lists the AttachPoint tables, one for each glyph in the Coverage table, in the same order as the Coverage Index.
1306 An AttachPoint table consists of a count of the attachment points on a single glyph (PointCount) and an array of contour indices of those points (PointIndex), listed in increasing numerical order.
1324 if (is_array($Marks) && count($Marks)) {
1861 for ($g = 0; $g < count($glyphs); $g++) {
1880 for ($g = 0; $g < count($glyphs); $g++) {
1888 if (!isset($Lookup[$i]['Subtable'][$c]['Sequences'][$g]['SubstituteGlyphID']) || count($Lookup[$i]['Subtable'][$c]['Sequences'][$g]['SubstituteGlyphID']) == 0) {
1900 for ($g = 0; $g < count($glyphs); $g++) {
2190 if (isset($v['prel']) && count($v['prel'])) {
2193 if (isset($v['postl']) && count($v['postl'])) {
2204 $matchCount = count($vs['match']);
2215 $matchCount = count($m[0]);
2293 if (count($vs['match']) == 2 && count($vs['replace']) == 1) {
2348 if (count($rtl) || count($rphf) || count($half) || count($pref) || count($blwf) || count($pstf) || $finals) {
2371 if (count($rtlpua)) {
2374 $n = count($rtlpua);
2391 $range[$rangeid]['count']++;
2398 $range[$rangeid]['count'] = 1;
2404 if ($rg['count'] == 1) {
2406 } elseif ($rg['count'] == 2) {
2433 $subCount = count($Lookup[$i]['Subtable'][$c]['subs']);
2444 for ($s = 0; $s < count($Lookup[$i]['Subtable'][$c]['subs']); $s++) {
2454 for ($s = 0; $s < count($Lookup[$i]['Subtable'][$c]['subs']); $s++) {
2464 for ($s = 0; $s < count($Lookup[$i]['Subtable'][$c]['subs']); $s++) {
2470 $subs = $this->_makeGSUBinputReplacement(count($inputGlyphs), $substitute, $ignore, 0, count($inputGlyphs), 0);
2489 $nInput = count($inputGlyphs);
2500 if (count($Lookup[$lup]['Subtable'][$lus]['subs'])) {
2503 $mLen = count($lookupGlyphs);
2522 if (count($subRule['rules'])) {
2563 if (isset($Lookup[$lup]['Subtable'][$lus]['subs']) && count($Lookup[$lup]['Subtable'][$lus]['subs'])) {
2566 $mLen = count($lookupGlyphs);
2589 if (count($subRule['rules'])) {
2622 $nBsubs = 2 * count($backtrackGlyphs);
2625 $subRule = ['context' => 1, 'tag' => $tag, 'matchback' => $backtrackMatch, 'match' => ($contextInputMatch . $lookaheadMatch), 'nBacktrack' => count($backtrackGlyphs), 'nInput' => $nInput, 'nLookahead' => count($lookaheadGlyphs), 'rules' => [],];
2631 if (count($Lookup[$lup]['Subtable'][$lus]['subs'])) {
2634 $mLen = count($lookupGlyphs);
2656 if (count($subRule['rules'])) {
2681 $nInput = count($inputGlyphs);
2698 $nBsubs = 2 * count($backtrackGlyphs);
2702 $subRule = ['context' => 1, 'tag' => $tag, 'matchback' => $backtrackMatch, 'match' => ($contextInputMatch . $lookaheadMatch), 'nBacktrack' => count($backtrackGlyphs), 'nInput' => $nInput, 'nLookahead' => count($lookaheadGlyphs), 'rules' => [],];
2710 if (count($Lookup[$lup]['Subtable'][$lus]['subs'])) {
2713 $mLen = count($lookupGlyphs);
2737 if (count($subRule['rules'])) {
2814 $nBsubs = 2 * count($backtrackGlyphs);
2818 $subRule = ['context' => 1, 'tag' => $tag, 'matchback' => $backtrackMatch, 'match' => ($contextInputMatch . $lookaheadMatch), 'nBacktrack' => count($backtrackGlyphs), 'nInput' => $nInput, 'nLookahead' => count($lookaheadGlyphs), 'rules' => [],];
2826 if (count($Lookup[$lup]['Subtable'][$lus]['subs'])) {
2829 $mLen = count($lookupGlyphs);
2852 if (count($subRule['rules'])) {
2882 $nBsubs = 2 * count($backtrackGlyphs);
2885 $subRule = ['context' => 1, 'tag' => $tag, 'matchback' => $backtrackMatch, 'match' => ($contextInputMatch . $lookaheadMatch), 'nBacktrack' => count($backtrackGlyphs), 'nInput' => $nInput, 'nLookahead' => count($lookaheadGlyphs), 'rules' => [],];
2891 if (count($Lookup[$lup]['Subtable'][$lus]['subs'])) {
2894 $mLen = count($lookupGlyphs);
2916 if (count($subRule['rules'])) {
3071 $mLen = count($lookupGlyphs); // nGlyphs in the secondary Lookup match
3072 $nInput = count($inputGlyphs); // nGlyphs in the Primary Input sequence
3095 for ($i = 1; $i <= count($inputGlyphs); $i++) {
3113 for ($i = (count($backtrackGlyphs) - 1); $i >= 0; $i--) {
3128 for ($i = 0; $i < count($lookaheadGlyphs); $i++) {
3603 $numGlyphs = $numberOfHMetrics = count($subsetglyphs);
3650 $segCount = count($range) + 1; // + 1 Last segment has missing character 0xFFFF
3679 $endCode = $start + (count($subrange) - 1);
3696 $n += count($subrange);
4123 $glyphSet[$originalGlyphIdx] = count($glyphMap);
4132 while ($n < count($glyphMap)) {
4149 $glyphSet[$glyphIdx] = count($glyphMap);
4168 $numGlyphs = $n = count($glyphMap);
4210 $os2 = $this->_set_ushort($os2, 66, count($subset)); // LastCharIndex
4264 $segCount = count($range) + 1; // + 1 Last segment has missing character 0xFFFF
4286 $endCode = $start + (count($subrange) - 1);
4301 $n += count($subrange);
4325 $entryCount = count($subset);
4470 if (count($this->glyphdata[$originalGlyphIdx]['compGlyphs'])) {
4501 $glyphSet[$glyphIdx] = count($subsetglyphs); // old glyphID to new glyphID
4714 $numTables = count($this->otables);
4885 $segCount = count($range) + 1; // + 1 Last segment has missing character 0xFFFF
4912 $endCode = $start + (count($subrange) - 1);