Skip to content

Incorrect extracted text from annotation #77

@reyjexter

Description

@reyjexter

Hi again! We have an example PDF document which when using for_annotation to get the text, it returns weird characters. However when showing logs of page objects text, this doesn't happen.

Here's the PDF affected:

https://github.com/reyjexter/pdfium-render-wasm/blob/master/www/dynamic-template.pdf

And the example:

https://github.com/reyjexter/pdfium-render-wasm

Here's how the console log on Chrome looks like:

image

Thanks and appreciate any help with this issue.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions