Skip to content

PDF::API2::Basic::PDF::File::ship_out is not compliant to spec ISO 19005-1:2005, Clause: 6.1.8 #82

@mcitterio

Description

@mcitterio

ISO 19005-1:2005, Clause: 6.1.8
The object number and generation number shall be separated by a single white-space character. The generation number and obj keyword shall be separated by a single white-space character. The object number and endobj keyword shall each be preceded by an EOL marker. The obj and endobj keywords shall each be followed by an EOL marker.

patch two line:
from
$fh->printf('%d %d obj ', $objnum, $objgen);
to
$fh->printf('%d %d obj'."\n", $objnum, $objgen);
and from
$fh->print(" endobj\n");
to
$fh->print("\n"."endobj\n");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions