Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FPDF_LoadMemDocument() not working correctly? #59

Closed
mara004 opened this issue Feb 5, 2022 · 1 comment
Closed

FPDF_LoadMemDocument() not working correctly? #59

mara004 opened this issue Feb 5, 2022 · 1 comment
Labels
bug Something isn't working pdfium This issue may be caused by (or related to) pdfium itself

Comments

@mara004
Copy link
Member

mara004 commented Feb 5, 2022

While working on #57 / #58, I first tried to use FPDF_LoadMemDocument() for non-ascii filepaths on Windows.
For testing, I temporarily edited open_pdf() to read all files into memory and pass the data to FPDF_LoadMemDocument().
Then I ran the test suite, which showed issues with rendering: Several failed pixel assertions. From looking at the files in tests/output, I noticed that a lot of content was missing, especially texts.
This is weired, as one would expect all loading strategies to yield exactly the same output, and I think it did work correctly with previous PDFium versions, so upstream might have recently introduced a bug.

@mara004 mara004 added bug Something isn't working pdfium This issue may be caused by (or related to) pdfium itself labels Feb 5, 2022
@mara004 mara004 assigned mara004 and unassigned mara004 Feb 5, 2022
@mara004
Copy link
Member Author

mara004 commented Feb 9, 2022

Closing as it's a PDFium issue.

@mara004 mara004 closed this as completed Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pdfium This issue may be caused by (or related to) pdfium itself
Projects
None yet
Development

No branches or pull requests

1 participant