Skip to content

Optimization fails for specific pdf-file #624

@comzine

Description

@comzine

I want to work with one pdf-file and it fails. For example with trim command:

pdfcpu trim -pages 1 input.pdf &> crash.log

I get the attached log-file. The input.pdf validates.

I created the pdf-file with LibreOffice Writer (including a textbox).

Having pdfcpu 0.41 dev under ArchLinux.

crash.log
input.odt
input.pdf

// I investigated the code and found out, that the crash happens in

func optimizeFontAndImages(ctx *model.Context) error

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions