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

Text not showing when importing PDF #20

Closed
LorenzoRogai opened this issue Aug 26, 2017 · 3 comments
Closed

Text not showing when importing PDF #20

LorenzoRogai opened this issue Aug 26, 2017 · 3 comments

Comments

@LorenzoRogai
Copy link

Hi,

I'm using FPDI for importing PDFs and merge them but with one file it doesn't show the text after merging

The original file is made with iTextSharp and have custom fonts

I tried adding them, extracting fonts from the original file etc but the text still don't show

image

The font definitions inside Adobe Acrobat are almost the same, only the encoding seems different. The original one has custom encoding and the FPDI one has Ansi encoding

image

senzanome

Thank you

@JanSlabon
Copy link
Member

Please provide the orignal PDF in question. You also can share it confidential by sending it to support@setasign.com.

Thanks!
Jan

@LorenzoRogai
Copy link
Author

Thank you, i sent an email to support@setasign.com

Lorenzo

@JanSlabon
Copy link
Member

Thanks! The text are form field annotations which are not supported by FPDI:
grafik
You shall flatten the fields with iText before or you also can check out our SetaPDF-FormFiller component, which allows you to do this directly in PHP (not free).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants