Closed bummsa closed 1 year ago
I am also getting this error message "The font Helvetica-bold contains incorrect bad /widths" when I open my generated file in Acrobat program on Windows
pdf version 3.10.1 printing 5.10.2
pdf version 3.9.0 does not have this problem
I'll check that.
The master branch should fix it.
Describe the bug
When upgrading the printing + pdf library (and also image library to 4.0.15), I was not able to display pdf content anymore
To Reproduce Code snippet to reproduce the behavior: This is how I generated a dummy pdf content.
PdfViewer:
In provider.getDocumentBytes(), we do return the value of the function Document.save()
Expected behavior
Be able to open the generated PDF file with no errors in Acrobat and use PdfPreview to view the content inside the app.
Screenshots
This error occurs when I have saved the file and opened it in Acrobat: If you click OK, you can view the content.
PdfPreview:
Flutter Doctor
Desktop (please complete the following information):
The problem is reproducible on Android (Emulator) and Windows - before upgrading the libraries (including the image library) it works perfectly. Other platforms are not tested.