Lines Matching defs:glyph

168 		$this->maxStrLenRead = 200000; // Maximum size of glyf table to read in as string (otherwise reads each glyph from file)
609 throw new \Mpdf\Exception\FontException('Error loading font: Unknown glyph data format ' . $glyphDataFormat);
749 // cmap - Character to glyph index mapping table
826 $glyph = $startGlyphCode + $offset;
829 $charToGlyph[$unichar] = $glyph;
831 $glyphToChar[$glyph][] = $unichar;
852 } // Avoid overwriting a glyph already mapped in PUA
946 // Version 0x00010002 of GDEF header contains additional Offset to a list defining mark glyph set definitions (MarkGlyphSetDef)
958 1 Base glyph (single character, spacing glyph)
959 2 Ligature glyph (multiple character, spacing glyph)
960 3 Mark glyph (non-spacing combining glyph)
961 4 Component glyph (part of single character, spacing glyph)
973 $this->mpdf->WriteHTML('<h5>Base glyph (single character, spacing glyph)</h5>');
989 $this->mpdf->WriteHTML('<h5>Ligature glyph (multiple character, spacing glyph)</h5>');
1005 $this->mpdf->WriteHTML('<h5>Mark glyph (non-spacing combining glyph)</h5>');
1021 $this->mpdf->WriteHTML('<h5>Component glyph (part of single character, spacing glyph)</h5>');
1041 The Attachment Point List table (AttachmentList) identifies all the attachment points defined in the GPOS table and their associated glyphs so a client can quickly access coordinates for each glyph's attachment points. As a result, the client can cache coordinates for attachment points along with glyph bitmaps and avoid recalculating the attachment points each time it displays a glyph. Without this table, processing speed would be slower because the client would have to decode the GPOS lookups that define attachment points and compile the points in a list.
1043 The Attachment List table (AttachList) may be used to cache attachment point coordinates along with glyph bitmaps.
1045 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.
1052 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.
1056 uint16 PointCount Number of attachment points on this glyph
1143 // NB Any glyph not included in the range of covered GlyphIDs automatically belongs to Class 0. This is not returned by this function
1323 // MarkFilteringSet = Index (base 0) into GDEF mark glyph sets structure
1343 // Process Whole LookupList - Get LuCoverage = Lookup coverage just for first glyph
1404 // MarkFilteringSet = Index (base 0) into GDEF mark glyph sets structure
1434 Lookup['Type'] Enumeration table for glyph substitution
1436 1 Single Replace one glyph with one glyph
1437 2 Multiple Replace one glyph with more than one glyph
1438 3 Alternate Replace one glyph with one of many glyphs
1439 4 Ligature Replace multiple glyphs with one glyph
1443 8 Reverse chaining context single Applied in reverse order, replace single glyph in chaining context
1449 if ($SubstFormat == 1) { // Calculated output glyph indices
1452 if ($SubstFormat == 2) { // Specified output glyph indices
1545 // "Input"::[GlyphCount - 1]::Array of input GlyphIDs-start with second glyph
1621 All contextual substitution subtables specify the substitution data in a Substitution Lookup Record (SubstLookupRecord). Each record contains a SequenceIndex, which indicates the position where the substitution will occur in the glyph sequence. In addition, a LookupListIndex identifies the lookup to be applied at the glyph position specified by the SequenceIndex.
2194 // Only apply if the (first) 'Replace' glyph from the
2197 // to level 2 and only apply if first Replace glyph is in this list
2280 // Only apply if the (first) 'Replace' glyph from the
2283 // to level 2 and only apply if first Replace glyph is in this list
2334 // Only apply if the (first) 'Replace' glyph from the
2337 // to level 2 and only apply if first Replace glyph is in this list
2437 // Only apply if the (first) 'Replace' glyph from the
2440 // to level 2 and only apply if first Replace glyph is in this list
2575 // Only apply if the (first) 'Replace' glyph from the
2578 // to level 2 and only apply if first Replace glyph is in this list
2659 // Only apply if the (first) 'Replace' glyph from the
2662 // to level 2 and only apply if first Replace glyph is in this list
2688 function _checkGSUBignore($flag, $glyph, $MarkFilteringSet)
2692 if ((($flag & 0x0008) == 0x0008) && strpos($this->GlyphClassMarks, $glyph)) {
2695 if ((($flag & 0x0004) == 0x0004) && strpos($this->GlyphClassLigatures, $glyph)) {
2698 if ((($flag & 0x0002) == 0x0002) && strpos($this->GlyphClassBases, $glyph)) {
2702 if (($flag & 0xFF00) && strpos($this->MarkAttachmentType[($flag >> 8)], $glyph)) {
2706 if (($flag & 0x0010) && strpos($this->MarkGlyphSets[$MarkFilteringSet], $glyph)) {
3173 // MarkFilteringSet = Index (base 0) into GDEF mark glyph sets structure
3261 // LookupType 1: Single adjustment Adjust position of a single glyph (e.g. SmallCaps/Sups/Subs)
3553 // Need default XAdvance for glyph
3589 // LookupType 4: MarkToBase attachment Attach a combining mark to a base glyph
3806 $CoverageBacktrackOffset[] = $subtable_offset + $this->read_ushort(); // in glyph sequence order
3811 $CoverageInputOffset[] = $subtable_offset + $this->read_ushort(); // in glyph sequence order
3816 $CoverageLookaheadOffset[] = $subtable_offset + $this->read_ushort(); // in glyph sequence order
3896 // Only apply if the (first) 'Replace' glyph from the
3899 // to level 2 and only apply if first Replace glyph is in this list
4006 // Recursively get composite glyph data
4089 for ($glyph = 0; $glyph < $numberOfHMetrics; $glyph++) {
4091 $aw = $arr[($glyph * 2) + 1];
4096 if (isset($glyphToChar[$glyph]) || $glyph == 0) {
4101 if ($glyph == 0) {
4105 foreach ($glyphToChar[$glyph] as $char) {
4129 $glyph = $pos + $numberOfHMetrics;
4130 if (isset($glyphToChar[$glyph])) {
4131 foreach ($glyphToChar[$glyph] as $char) {
4221 $glyph = ($unichar + $idDelta[$n]) & 0xFFFF;
4226 $glyph = 0;
4228 $glyph = $this->get_ushort($offset);
4229 if ($glyph != 0) {
4230 $glyph = ($glyph + $idDelta[$n]) & 0xFFFF;
4234 $charToGlyph[$unichar] = $glyph;
4238 $glyphToChar[$glyph][] = $unichar;