parent
33cd0e84d2
commit
59307165ce
@ -484,7 +484,7 @@ class tcpdi_parser {
|
|||||||
$v = $sarr[$key];
|
$v = $sarr[$key];
|
||||||
if (($key == '/Type') AND ($v[0] == PDF_TYPE_TOKEN AND ($v[1] == 'XRef'))) {
|
if (($key == '/Type') AND ($v[0] == PDF_TYPE_TOKEN AND ($v[1] == 'XRef'))) {
|
||||||
$valid_crs = true;
|
$valid_crs = true;
|
||||||
} elseif (($key == '/Index') AND ($v[0] == PDF_TYPE_ARRAY AND count($v[1] >= 2))) {
|
} elseif (($key == '/Index') AND ($v[0] == PDF_TYPE_ARRAY AND count($v[1]) >= 2)) {
|
||||||
// first object number in the subsection
|
// first object number in the subsection
|
||||||
$index_first = intval($v[1][0][1]);
|
$index_first = intval($v[1][0][1]);
|
||||||
// number of entries in the subsection
|
// number of entries in the subsection
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user