Lines Matching refs:class

30 class OtlDump
972 $this->mpdf->WriteHTML('<h3>Glyph class 1</h3>');
975 $html .= '<div class="glyphs">';
988 $this->mpdf->WriteHTML('<h3>Glyph class 2</h3>');
991 $html .= '<div class="glyphs">';
1004 $this->mpdf->WriteHTML('<h3>Glyph class 3</h3>');
1007 $html .= '<div class="glyphs">';
1020 $this->mpdf->WriteHTML('<h3>Glyph class 4</h3>');
1023 $html .= '<div class="glyphs">';
1072 foreach ($MarkAttachmentTypes as $class => $glyphs) {
1074 $mat = array_diff($Marks, $MarkAttachmentTypes[$class]);
1080 $this->MarkAttachmentType[$class] = $this->formatClassArr($mat);
1083 $this->mpdf->WriteHTML('<h3>Mark Attachment Type: ' . $class . '</h3>');
1085 $html .= '<div class="glyphs">';
1114 $this->mpdf->WriteHTML('<h3>Mark Glyph Set class: ' . $i . '</h3>');
1116 $html .= '<div class="glyphs">';
1151 $class = $this->read_ushort();
1152 $GlyphByClass[$class][] = unicode_hex($this->glyphToChar[$gid][0]);
1160 $class = $this->read_ushort();
1162 $GlyphByClass[$class][] = unicode_hex($this->glyphToChar[$gid][0]);
1283 $this->mpdf->WriteHTML('<div class="glyphs">');
1984 $html .= '<div class="level' . $level . '">';
1985 $html .= '<h5 class="level' . $level . '">';
1992 $html .= '<div class="ignore">Ignoring: ' . $ignore . '</div> ';
2004 $html .= '<div class="subtable">Subtable #' . $c;
2014 $html .= '<div class="lookuptype">LookupType 1: Single Substitution Subtable</div>';
2021 $html .= '<div class="substitution">';
2022 $html .= '<span class="unicode">' . $this->formatUni($inputGlyphs[0]) . '&nbsp;</span> ';
2026 $html .= '<span class="unchanged">&nbsp;' . $this->formatEntity($inputGlyphs[0]) . '</span>';
2034 $html .= '<span class="changed">&nbsp;' . $this->formatEntity($substitute) . '</span>';
2038 $html .= '&nbsp; <span class="unicode">' . $this->formatUni($substitute) . '</span> ';
2044 $html .= '<div class="lookuptype">LookupType 2: Multiple Substitution Subtable</div>';
2051 $html .= '<div class="substitution">';
2052 $html .= '<span class="unicode">' . $this->formatUni($inputGlyphs[0]) . '&nbsp;</span> ';
2056 $html .= '<span class="unchanged">&nbsp;' . $this->formatEntity($inputGlyphs[0]) . '</span>';
2064 $html .= '<span class="changed">&nbsp;' . $this->formatEntityArr($substitute) . '</span>';
2068 $html .= '&nbsp; <span class="unicode">' . $this->formatUniArr($substitute) . '</span> ';
2074 $html .= '<div class="lookuptype">LookupType 3: Alternate Forms</div>';
2081 $html .= '<div class="substitution">';
2082 $html .= '<span class="unicode">' . $this->formatUni($inputGlyphs[0]) . '&nbsp;</span> ';
2086 $html .= '<span class="unchanged">&nbsp;' . $this->formatEntity($inputGlyphs[0]) . '</span>';
2094 $html .= '<span class="changed">&nbsp;' . $this->formatEntity($substitute) . '</span>';
2098 $html .= '&nbsp; <span class="unicode">' . $this->formatUni($substitute) . '</span> ';
2103 $html .= '<span class="changed">&nbsp;' . $this->formatEntity($substitute) . '</span>';
2104 $html .= '&nbsp; <span class="unicode">' . $this->formatUni($substitute) . '</span> ';
2112 $html .= '<div class="lookuptype">LookupType 4: Ligature Substitution Subtable</div>';
2119 $html .= '<div class="substitution">';
2120 $html .= '<span class="unicode">' . $this->formatUniArr($inputGlyphs) . '&nbsp;</span> ';
2124 $html .= '<span class="unchanged">&nbsp;' . $this->formatEntityArr($inputGlyphs) . '</span>';
2132 $html .= '<span class="changed">&nbsp;' . $this->formatEntity($substitute) . '</span>';
2136 $html .= '&nbsp; <span class="unicode">' . $this->formatUni($substitute) . '</span> ';
2142 $html .= '<div class="lookuptype">LookupType 5: Contextual Substitution Subtable</div>';
2145 $html .= '<div class="lookuptypesub">Format 1: Context Substitution</div>';
2149 $html .= '<div class="rule">Subrule Set: ' . $s . '</div>';
2152 $html .= '<div class="rule">SubRule: ' . $rctr . '</div>';
2162 $html .= '<div class="context">CONTEXT: ';
2164 $html .= '<div>Input #' . $ff . ': <span class="unchanged">&nbsp;' . $this->formatEntityStr($inputGlyphs[$ff]) . '&nbsp;</span></div>';
2177 $exB .= '<span class="inputother">';
2184 $exL .= '<span class="inputother">';
2190 $html .= '<div class="sequenceIndex">Substitution Position: ' . $seqIndex . '</div>';
2209 $html .= '<div class="lookuptypesub">Format 2: Class-based Context Glyph Substitution</div>';
2211 $html .= '<div class="rule">Input Class: ' . $inputClass . '</div>';
2213 $html .= '<div class="rule">Rule: ' . $cscrule . '</div>';
2232 $html .= '<div class="context">CONTEXT: ';
2235 $html .= '<div>Input #' . $ff . ': <span class="unchanged">&nbsp;[NOT ' . $this->formatEntityStr($class0excl) . ']&nbsp;</span></div>';
2238 $html .= '<div>Input #' . $ff . ': <span class="unchanged">&nbsp;' . $this->formatEntityStr($inputGlyphs[$ff]) . '&nbsp;</span></div>';
2253 $exB .= '<span class="inputother">';
2265 $exL .= '<span class="inputother">';
2276 $html .= '<div class="sequenceIndex">Substitution Position: ' . $seqIndex . '</div>';
2294 $html .= '<div class="lookuptypesub">Format 3: Coverage-based Context Glyph Substitution </div>';
2301 $html .= '<div class="context">CONTEXT: ';
2303 $html .= '<div>Input #' . $ff . ': <span class="unchanged">&nbsp;' . $this->formatEntityStr($inputGlyphs[$ff]) . '&nbsp;</span></div>';
2315 $exB .= '<span class="inputother">';
2323 $exL .= '<span class="inputother">';
2330 $html .= '<div class="sequenceIndex">Substitution Position: ' . $seqIndex . '</div>';
2352 $html .= '<div class="lookuptype">LookupType 6: Chaining Contextual Substitution Subtable</div>';
2355 $html .= '<div class="lookuptypesub">Format 1: Simple Chaining Context Glyph Substitution </div>';
2359 $html .= '<div class="rule">Subrule Set: ' . $s . '</div>';
2362 $html .= '<div class="rule">SubRule: ' . $rctr . '</div>';
2387 $html .= '<div class="context">CONTEXT: ';
2389 $html .= '<div>Backtrack #' . $ff . ': <span class="unicode">' . $this->formatUniStr($backtrackGlyphs[$ff]) . '</span></div>';
2393 $html .= '<div>Input #' . $ff . ': <span class="unchanged">&nbsp;' . $this->formatEntityStr($inputGlyphs[$ff]) . '&nbsp;</span></div>';
2397 $html .= '<div>Lookahead #' . $ff . ': <span class="unicode">' . $this->formatUniStr($lookaheadGlyphs[$ff]) . '</span></div>';
2410 $exB .= '<span class="backtrack">' . implode('&#x200d;', $exampleB) . '</span>';
2414 $exB .= '<span class="inputother">';
2422 $exL .= '<span class="inputother">';
2430 $exL .= '<span class="lookahead">' . implode('&#x200d;', $exampleL) . '</span>';
2433 $html .= '<div class="sequenceIndex">Substitution Position: ' . $seqIndex . '</div>';
2452 $html .= '<div class="lookuptypesub">Format 2: Class-based Chaining Context Glyph Substitution </div>';
2454 $html .= '<div class="rule">Input Class: ' . $inputClass . '</div>';
2456 $html .= '<div class="rule">Rule: ' . $cscrule . '</div>';
2460 // $Lookup[$i]['Subtable'][$c]['InputClasses'][(class)] e.g. 02E6|02E7|02E8
2461 // $Lookup[$i]['Subtable'][$c]['LookaheadClasses'][(class)]
2462 // $Lookup[$i]['Subtable'][$c]['BacktrackClasses'][(class)]
2502 $html .= '<div class="context">CONTEXT: ';
2505 $html .= '<div>Backtrack #' . $ff . ': <span class="unchanged">&nbsp;[NOT ' . $this->formatEntityStr($class0excl) . ']&nbsp;</span></div>';
2508 $html .= '<div>Backtrack #' . $ff . ': <span class="unicode">' . $this->formatUniStr($backtrackGlyphs[$ff]) . '</span></div>';
2514 $html .= '<div>Input #' . $ff . ': <span class="unchanged">&nbsp;[NOT ' . $this->formatEntityStr($class0excl) . ']&nbsp;</span></div>';
2517 $html .= '<div>Input #' . $ff . ': <span class="unchanged">&nbsp;' . $this->formatEntityStr($inputGlyphs[$ff]) . '&nbsp;</span></div>';
2523 $html .= '<div>Lookahead #' . $ff . ': <span class="unchanged">&nbsp;[NOT ' . $this->formatEntityStr($class0excl) . ']&nbsp;</span></div>';
2526 $html .= '<div>Lookahead #' . $ff . ': <span class="unicode">' . $this->formatUniStr($lookaheadGlyphs[$ff]) . '</span></div>';
2540 $exB .= '<span class="backtrack">' . implode('&#x200d;', $exampleB) . '</span>';
2544 $exB .= '<span class="inputother">';
2556 $exL .= '<span class="inputother">';
2568 $exL .= '<span class="lookahead">' . implode('&#x200d;', $exampleL) . '</span>';
2571 $html .= '<div class="sequenceIndex">Substitution Position: ' . $seqIndex . '</div>';
2588 $html .= '<div class="lookuptypesub">Format 3: Coverage-based Chaining Context Glyph Substitution </div>';
2609 $html .= '<div class="context">CONTEXT: ';
2611 $html .= '<div>Backtrack #' . $ff . ': <span class="unicode">' . $this->formatUniStr($backtrackGlyphs[$ff]) . '</span></div>';
2615 $html .= '<div>Input #' . $ff . ': <span class="unchanged">&nbsp;' . $this->formatEntityStr($inputGlyphs[$ff]) . '&nbsp;</span></div>';
2619 $html .= '<div>Lookahead #' . $ff . ': <span class="unicode">' . $this->formatUniStr($lookaheadGlyphs[$ff]) . '</span></div>';
2632 $exB .= '<span class="backtrack">' . implode('&#x200d;', $exampleB) . '</span>';
2636 $exB .= '<span class="inputother">';
2644 $exL .= '<span class="inputother">';
2652 $exL .= '<span class="lookahead">' . implode('&#x200d;', $exampleL) . '</span>';
2655 $html .= '<div class="sequenceIndex">Substitution Position: ' . $seqIndex . '</div>';
2990 $class = $this->read_ushort();
2993 $GlyphByClass[$class][] = unicode_hex($this->glyphToChar[$g][0]);
3003 $class = $this->read_ushort();
3006 $GlyphByClass[$class][] = unicode_hex($this->glyphToChar[$g][0]);
3013 foreach ($GlyphByClass as $class => $garr) {
3014 $gbc[$class] = implode('|', $garr);
3229 $html .= '<div class="level' . $level . '">';
3230 $html .= '<h5 class="level' . $level . '">';
3237 $html .= '<div class="ignore">Ignoring: ' . $ignore . '</div> ';
3249 $html .= '<div class="subtable">Subtable #' . $c;
3264 $html .= '<div class="lookuptype">LookupType 1: Single adjustment [Format ' . $PosFormat . ']</div>';
3280 $html .= '<div class="substitution">';
3281 $html .= '<span class="unicode">' . $this->formatUni($glyphs[$g]) . '&nbsp;</span> ';
3285 $html .= '<span class="unchanged">&nbsp;' . $this->formatEntity($glyphs[$g]) . '</span>';
3293 $html .= '<span class="changed" style="font-feature-settings:\'' . $tag . '\' 1;">&nbsp;' . $this->formatEntity($glyphs[$g]) . '</span>';
3297 $html .= ' <span class="unicode">';
3332 $html .= '<div class="substitution">';
3333 $html .= '<span class="unicode">' . $this->formatUni($glyphs[$g]) . '&nbsp;</span> ';
3337 $html .= '<span class="unchanged">&nbsp;' . $this->formatEntity($glyphs[$g]) . '</span>';
3345 $html .= '<span class="changed" style="font-feature-settings:\'' . $tag . '\' 1;">&nbsp;' . $this->formatEntity($glyphs[$g]) . '</span>';
3349 $html .= ' <span class="unicode">';
3369 $html .= '<div class="lookuptype">LookupType 2: Pair adjustment e.g. Kerning [Format ' . $PosFormat . ']</div>';
3391 $html .= '<div class="glyphs">';
3392 $html .= '<span class="unchanged">&nbsp;' . $this->formatEntity($glyphs[$p]) . ' </span>';
3420 $html .= '<div class="substitution">';
3421 $html .= '<span class="unicode">'.$this->formatUni($glyphs[$p]).'&nbsp;</span> ';
3423 $html .= '<span class="unchanged">&nbsp;'.$this->formatEntity($glyphs[$p]).$this->formatEntity($SecondGlyph).'</span>';
3427 $html .= '<span class="changed" style="font-feature-settings:\''.$tag.'\' 1;">&nbsp;'.$this->formatEntity($glyphs[$p]).$this->formatEntity($SecondGlyph).'</span>';
3429 $html .= ' <span class="unicode">';
3491 $html .= '<div class="substitution">';
3492 $html .= '<span class="unicode">' . $this->formatUni($FirstGlyph) . '&nbsp;</span> ';
3496 $html .= '<span class="unchanged">&nbsp;' . $this->formatEntity($FirstGlyph) . $this->formatEntity($SecondGlyph) . '</span>';
3504 $html .= '<span class="changed" style="font-feature-settings:\'' . $tag . '\' 1;">&nbsp;' . $this->formatEntity($FirstGlyph) . $this->formatEntity($SecondGlyph) . '</span>';
3508 $html .= ' <span class="unicode">';
3540 $html .= '<div class="lookuptype">LookupType 3: Cursive attachment </div>';
3557 $html .= '<div class="glyphs">';
3558 $html .= '<span class="unchanged">' . $this->formatEntity($Glyphs[$i]) . ' </span> ';
3559 $html .= '<span class="unicode"> ' . $this->formatUni($Glyphs[$i]) . ' => ';
3593 $html .= '<div class="lookuptype">LookupType 4: MarkToBase attachment </div>';
3604 $html .= '<div class="glyphs">Marks: ';
3620 $html .= '<div class="glyphs">Bases: ';
3627 $html .= '<div class="glyphs" style="font-feature-settings:\'' . $tag . '\' 1;">Example(s): ';
3637 $html .= '<div class="lookuptype">LookupType 5: MarkToLigature attachment </div>';
3651 $html .= '<div class="glyphs">Marks: <span class="unchanged">';
3674 $html .= '<div class="glyphs">Ligatures: <span class="unchanged">';
3684 $html .= '<div class="glyphs">';
3685 $html .= '<span class="unchanged">'.$this->formatEntity($MarkGlyphs[$i]).'</span>';
3690 $html .= '<span class="unchanged">'.$this->formatEntity($LigatureGlyphs[$j]).'</span>';
3694 for ($class=0;$class<$ClassCount;$class++) {
3696 if ($offset!= 0 && $class == $MarkRecord[$i]['Class']) {
3712 $html .= '<div class="lookuptype">LookupType 6: MarkToMark attachment </div>';
3723 $html .= '<div class="glyphs">Marks: <span class="unchanged">';
3737 $html .= '<div class="glyphs">Bases: <span class="unchanged">';
3744 $html .= '<div class="glyphs" style="font-feature-settings:\'' . $tag . '\' 1;">Example(s): <span class="changed">';
3755 $html .= '<div class="lookuptype">LookupType 7: Context positioning [Format ' . $PosFormat . ']</div>';
3783 $html .= '<div class="lookuptype">LookupType 8: Chained Context positioning [Format ' . $PosFormat . ']</div>';
3846 $html .= '<div class="context">CONTEXT: ';
3848 $html .= '<div>Backtrack #' . $ff . ': <span class="unicode">' . $this->formatUniStr($backtrackGlyphs[$ff]) . '</span></div>';
3852 $html .= '<div>Input #' . $ff . ': <span class="unchanged">&nbsp;' . $this->formatEntityStr($inputGlyphs[$ff]) . '&nbsp;</span></div>';
3856 $html .= '<div>Lookahead #' . $ff . ': <span class="unicode">' . $this->formatUniStr($lookaheadGlyphs[$ff]) . '</span></div>';
3869 $exB .= '<span class="backtrack">' . implode('&#x200d;', $exampleB) . '</span>';
3873 $exB .= '<span class="inputother">';
3881 $exL .= '<span class="inputother">';
3889 $exL .= '<span class="lookahead">' . implode('&#x200d;', $exampleL) . '</span>';
3892 $html .= '<div class="sequenceIndex">Substitution Position: ' . $seqIndex . '</div>';