Lines Matching defs:glyph

219 		// Maximum size of glyf table to read in as string (otherwise reads each glyph from file)
589 // cmap - Character to glyph index mapping table
629 } // Avoid overwriting a glyph already mapped in PUA
821 throw new \Mpdf\Exception\FontException(sprintf('Error loading font: Unknown glyph data format %s', $glyphDataFormat));
1012 // cmap - Character to glyph index mapping table
1082 $glyph = $startGlyphCode + $offset;
1086 $charToGlyph[$unichar] = $glyph;
1088 $glyphToChar[$glyph][] = $unichar;
1113 // Avoid overwriting a glyph already mapped in PUA
1245 // Version 0x00010002 of GDEF header contains additional Offset to a list defining mark glyph set definitions (MarkGlyphSetDef)
1254 // 1 Base glyph (single character, spacing glyph)
1255 // 2 Ligature glyph (multiple character, spacing glyph)
1256 // 3 Mark glyph (non-spacing combining glyph)
1257 // 4 Component glyph (part of single character, spacing glyph)
1295 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.
1297 The Attachment List table (AttachList) may be used to cache attachment point coordinates along with glyph bitmaps.
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.
1310 uint16 PointCount Number of attachment points on this glyph
1396 // NB Any glyph not included in the range of covered GlyphIDs automatically belongs to Class 0. This is not returned by this function
1572 // MarkFilteringSet = Index (base 0) into GDEF mark glyph sets structure
1593 // Process Whole LookupList - Get LuCoverage = Lookup coverage just for first glyph
1636 // MarkFilteringSet = Index (base 0) into GDEF mark glyph sets structure
1664 Lookup['Type'] Enumeration table for glyph substitution
1666 1 Single Replace one glyph with one glyph
1667 2 Multiple Replace one glyph with more than one glyph
1668 3 Alternate Replace one glyph with one of many glyphs
1669 4 Ligature Replace multiple glyphs with one glyph
1673 8 Reverse chaining context single Applied in reverse order, replace single glyph in chaining context
1679 if ($SubstFormat == 1) { // Calculated output glyph indices
1681 } elseif ($SubstFormat == 2) { // Specified output glyph indices
1769 // "Input"::[GlyphCount - 1]::Array of input GlyphIDs-start with second glyph
1841 // will occur in the glyph sequence. In addition, a LookupListIndex identifies the lookup to be applied at the
1842 // glyph position specified by the SequenceIndex.
2505 // Only apply if the (first) 'Replace' glyph from the
2568 // Only apply if the (first) 'Replace' glyph from the
2636 // Only apply if the (first) 'Replace' glyph from the
2715 // Only apply if the (first) 'Replace' glyph from the
2831 // Only apply if the (first) 'Replace' glyph from the
2896 // Only apply if the (first) 'Replace' glyph from the
2927 function _checkGSUBignore($flag, $glyph, $MarkFilteringSet)
2931 if ((($flag & 0x0008) == 0x0008 && ($flag & 0xFF00) == 0) && strpos($this->GlyphClassMarks, $glyph)) {
2934 if ((($flag & 0x0004) == 0x0004) && strpos($this->GlyphClassLigatures, $glyph)) {
2937 if ((($flag & 0x0002) == 0x0002) && strpos($this->GlyphClassBases, $glyph)) {
2944 if (strpos($this->MarkAttachmentType[($flag >> 8)], $glyph)) {
2949 if (($flag & 0x0010) && strpos($this->MarkGlyphSets[$MarkFilteringSet], $glyph)) {
3410 // MarkFilteringSet = Index (base 0) into GDEF mark glyph sets structure
3430 // Process Whole LookupList - Get LuCoverage = Lookup coverage just for first glyph
3513 // cmap - Character to glyph index mapping table
3548 } // Avoid overwriting a glyph already mapped in PUA
3649 // cmap - Character to glyph mapping
3704 $cmap[] = 0; // idRangeOffset[segCount] Offset in bytes to glyph indexArray, or 0
3740 $maxPoints = 0; // points in non-compound glyph
3741 $maxContours = 0; // contours in non-compound glyph
3742 $maxComponentPoints = 0; // points in compound glyph
3743 $maxComponentContours = 0; // contours in compound glyph
3785 if ($glyphLen > 2 && ($up[1] & (1 << 15))) { // If number of contours <= -1 i.e. composiste glyph
3814 elseif (_RECALC_PROFILE && $glyphLen > 2 && $up[1] < (1 << 15) && $up[1] > 0) { // Number of contours > 0 simple glyph
3819 // Count number of points in simple glyph
3874 $head = $this->_set_short($head, 36, $xMinT); // for all glyph bounding boxes
3875 $head = $this->_set_short($head, 38, $yMinT); // for all glyph bounding boxes
3876 $head = $this->_set_short($head, 40, $xMaxT); // for all glyph bounding boxes
3877 $head = $this->_set_short($head, 42, $yMaxT); // for all glyph bounding boxes
3898 $maxp = $this->_set_ushort($maxp, 6, $maxPoints); // points in non-compound glyph
3899 $maxp = $this->_set_ushort($maxp, 8, $maxContours); // contours in non-compound glyph
3900 $maxp = $this->_set_ushort($maxp, 10, $maxComponentPoints); // points in compound glyph
3901 $maxp = $this->_set_ushort($maxp, 12, $maxComponentContours); // contours in compound glyph
4005 // cmap - Character to glyph index mapping table
4057 $glyph = $startGlyphCode + $offset;
4061 $charToGlyph[$unichar] = $glyph;
4063 $glyphToChar[$glyph][] = $unichar;
4080 } // Avoid overwriting a glyph already mapped in PUA
4263 // cmap - Character to glyph mapping
4308 $cmap[] = 0; // idRangeOffset[segCount] Offset in bytes to glyph indexArray, or 0
4324 // cmap - Character to glyph mapping
4545 for ($glyph = 0; $glyph < $numberOfHMetrics; $glyph++) {
4548 $aw = $arr[($glyph * 2) + 1];
4553 if (isset($glyphToChar[$glyph]) || $glyph == 0) {
4560 if ($glyph === 0) {
4565 foreach ($glyphToChar[$glyph] as $char) {
4589 $glyph = $pos + $numberOfHMetrics;
4590 if (isset($glyphToChar[$glyph])) {
4591 foreach ($glyphToChar[$glyph] as $char) {
4689 $glyph = ($unichar + $idDelta[$n]) & 0xFFFF;
4694 $glyph = 0;
4696 $glyph = $this->get_ushort($offset);
4697 if ($glyph != 0) {
4698 $glyph = ($glyph + $idDelta[$n]) & 0xFFFF;
4702 $charToGlyph[$unichar] = $glyph;
4706 $glyphToChar[$glyph][] = $unichar;
4815 // cmap - Character to glyph index mapping table
4849 } // Avoid overwriting a glyph already mapped in PUA (6,400)
4884 // cmap - Character to glyph mapping
4933 $cmap[] = 0; // idRangeOffset[segCount] Offset in bytes to glyph indexArray, or 0