VadimDez/ng2-pdf-viewer

PDF Form - Text Not Displayed in PDF Viewer

Brich40 opened this issue · 3 comments

Hello,

I am encountering an issue where the text filled in a PDF form is not being displayed when I use the PDF viewer component in my Angular application.
The PDF viewer is rendering the document, but it seems to be hiding the text that was filled in the form fields.

The PDF display should look like:

image

What I am getting using the pdf-viwer :

<pdf-viewer *ngIf="file.src!==null" [src]="file.src" [render-text]="true" [autoresize]="true"
  [original-size]="false" [show-all]="true" [rotation]="rotation" (error)="onError($event)" style="width:100%;font-weight: initial;">
</pdf-viewer>

Display :
image

To download the PDF file : cerfa_13939-013.pdf

Any guidance or suggestions on how to resolve this problem would be greatly appreciated.

Hello,

Even I have same issue for some of the pdf files. I am using currently 5.2.0 version. But no errors shown while loading the page. I use the following code:

<pdf-viewer
[src]="DocumentPdfUrl"
[render-text]="true"
[render-text-mode]="1"
(page-rendered)="pageRendered($event)"
[show-all]="true"
[(page)]="dynamicPageNumber"
[original-size]="true"
[fit-to-page]="false"
(after-load-complete)="onPdfDocumentLoaded($event)"
[zoom]="pdfZoomFactor"
>

any suggestion or input to resolve this issue is a great help to me. thank you!

Hello,

I am encountering an issue where the text filled in a PDF form is not being displayed when I use the PDF viewer component in my Angular application. The PDF viewer is rendering the document, but it seems to be hiding the text that was filled in the form fields.

The PDF display should look like:

image

What I am getting using the pdf-viwer :

<pdf-viewer *ngIf="file.src!==null" [src]="file.src" [render-text]="true" [autoresize]="true"
  [original-size]="false" [show-all]="true" [rotation]="rotation" (error)="onError($event)" style="width:100%;font-weight: initial;">
</pdf-viewer>

Display : image

To download the PDF file : cerfa_13939-013.pdf

Any guidance or suggestions on how to resolve this problem would be greatly appreciated.

Hello,

Were you able to resolve this issue? Even I am facing it so checking if you have found any solution. Please share the details if you have found one.

thanks,
Eshwar

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.