Skip to content

Request: Allow setting of Producer #169

@darpell

Description

@darpell

The generated PDF shows the producer as well as the version of the pdf which is a security vulnerability. There seems to be fixes (see links below) made for jsPDF but not sure how can this be done here since pdf is immediately downloaded.

Image
// Set custom producer
var doc = new jsPDF();
doc.setDocumentProperty('producer', 'My Custom Producer');

// Remove producer info for security
doc.setDocumentProperty('producer', '');

// Use setDocumentProperties
doc.setDocumentProperties({
  producer: 'Custom PDF Generator v1.0'
});

See related issue here:

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