Lines Matching refs:cmap

589 		// cmap - Character to glyph index mapping table
590 $cmap_offset = $this->seek_table('cmap');
1012 // cmap - Character to glyph index mapping table
1013 $cmap_offset = $this->seek_table('cmap');
1043 throw new \Mpdf\Exception\FontException(sprintf('Font "%s" does not have cmap for Unicode (platform 3, encoding 1, format 4, or platform 0, any encoding, format 4)', $this->filename));
3513 // cmap - Character to glyph index mapping table
3514 $cmap_offset = $this->seek_table('cmap');
3534 throw new \Mpdf\Exception\FontException(sprintf('Font "%s" does not have Unicode cmap (platform 3, encoding 1, format 4, or platform 0 [any encoding] format 4)', $this->filename));
3584 $fsLastCharIndex = 0; // maximum Unicode index (character code) in this font, according to the cmap subtable for platform ID 3 and platform- specific encoding ID 0 or 1.
3606 // MS spec says that "Platform and encoding ID's in the name table should be consistent with those in the cmap table.
3649 // cmap - Character to glyph mapping
3662 $cmap = [
3680 $cmap[] = $endCode; // endCode(s)
3683 $cmap[] = 0xFFFF; // endCode of last Segment
3684 $cmap[] = 0; // reservedPad
3688 $cmap[] = $start; // startCode(s)
3691 $cmap[] = 0xFFFF; // startCode of last Segment
3697 $cmap[] = $idDelta; // idDelta(s)
3700 $cmap[] = 1; // idDelta of last Segment
3704 $cmap[] = 0; // idRangeOffset[segCount] Offset in bytes to glyph indexArray, or 0
3707 $cmap[] = 0; // idRangeOffset of last Segment
3710 $cmap[] = $glidx;
3714 $cmap[] = 0; // Mapping for last character
3717 foreach ($cmap as $cm) {
3720 $this->add('cmap', $cmapstr);
4005 // cmap - Character to glyph index mapping table
4006 $cmap_offset = $this->seek_table('cmap');
4036 throw new \Mpdf\Exception\FontException(sprintf('Font "%s" does not have cmap for Unicode (platform 3, encoding 1, format 4, or platform 0, any encoding, format 4)', $file));
4171 // MS spec says that "Platform and encoding ID's in the name table should be consistent with those in the cmap table.
4263 // cmap - Character to glyph mapping
4276 $cmap = [
4287 $cmap[] = $endCode; // endCode(s)
4289 $cmap[] = 0xFFFF; // endCode of last Segment
4290 $cmap[] = 0; // reservedPad
4294 $cmap[] = $start; // startCode(s)
4296 $cmap[] = 0xFFFF; // startCode of last Segment
4302 $cmap[] = $idDelta; // idDelta(s)
4304 $cmap[] = 1; // idDelta of last Segment
4308 $cmap[] = 0; // idRangeOffset[segCount] Offset in bytes to glyph indexArray, or 0
4311 $cmap[] = 0; // idRangeOffset of last Segment
4314 $cmap[] = $glidx;
4318 $cmap[] = 0; // Mapping for last character
4320 foreach ($cmap as $cm) {
4324 // cmap - Character to glyph mapping
4332 $cmap = [
4345 $cmap[] = $codeToGlyph[$code];
4348 foreach ($cmap as $cm) {
4353 $this->add('cmap', $cmapstr);
4815 // cmap - Character to glyph index mapping table
4816 $cmap_offset = $this->seek_table('cmap');
4836 throw new \Mpdf\Exception\FontException(sprintf('Font "%s" does not have cmap for Unicode (platform 3, encoding 1, format 4, or platform 0, any encoding, format 4)', $this->filename));
4884 // cmap - Character to glyph mapping
4897 $cmap = [0, 3, // Index : version, number of encoding subtables
4913 $cmap[] = $endCode; // endCode(s)
4915 $cmap[] = 0xFFFF; // endCode of last Segment
4916 $cmap[] = 0; // reservedPad
4920 $cmap[] = $start; // startCode(s)
4922 $cmap[] = 0xFFFF; // startCode of last Segment
4927 $cmap[] = $idDelta; // idDelta(s)
4930 $cmap[] = 1; // idDelta of last Segment
4933 $cmap[] = 0; // idRangeOffset[segCount] Offset in bytes to glyph indexArray, or 0
4936 $cmap[] = 0; // idRangeOffset of last Segment
4939 $cmap[] = $glidx;
4942 $cmap[] = 0; // Mapping for last character
4944 foreach ($cmap as $cm) {
4948 $this->add('cmap', $cmapstr);
4950 $this->add('cmap', $this->get_table('cmap'));