Skip to content
This repository was archived by the owner on Mar 22, 2019. It is now read-only.

fix PHP 7.3 warnings #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,7 @@ protected function _parseCMapTable()
if ($language != 0) {
$this->_debugLog('Type 0 cmap tables must be language-independent;'
. ' language: %d; skipping', $language);
continue;
continue 2;
}
break;

Expand All @@ -877,7 +877,7 @@ protected function _parseCMapTable()
case 0xa: // break intentionally omitted
case 0xc:
$this->_debugLog('Format: 0x%x currently unsupported; skipping', $format);
continue;
continue 2;
//$this->skipBytes(2);
//$cmapLength = $this->readUInt(4);
//$language = $this->readUInt(4);
Expand All @@ -889,7 +889,7 @@ protected function _parseCMapTable()

default:
$this->_debugLog('Unknown subtable format: 0x%x; skipping', $format);
continue;
continue 2;
}
$cmapType = $format;
break;
Expand Down