7,480 questions
Best practices
0
votes
0
replies
18
views
Creating a PDF of webpage
i have one audit module which i need to implement in which i have to create one pdf of single webpage, pdf should consist 5 pages which devides my webpage (there is seperator lines in ui of that ...
-3
votes
0
answers
45
views
Why isn't my custom font working with mPDF? [closed]
I already know the solution, but I thought I'd post it here in case anyone else has the same issue.
My marketing department asked me to embed a custom font into my PDFs generated with mPDF. I followed ...
1
vote
1
answer
73
views
Form field displays gibberish characters when using subsetted TrueType font
I'm using Apache PDFBox to create a PDF with form fields and embed a custom TrueType font (FreeSans.ttf) with subsetting enabled. However, when I set a value in the text field, it displays gibberish ...
-6
votes
1
answer
63
views
Adding HTML to a pdf partway through creating a PDF using pdfHtml
I am generating a PDF from data that is not HTML based, and I have HTML that data that I want to insert part way through creating the PDF i.e.
[Non HTML]
[HTML]
[Non HTML]
[HTML]
....
public class ...
0
votes
0
answers
86
views
How to draw the border boxes in flutter using pdf json?
I have a scanned pdf and want to edit this into Flutter with JSON. So what I am doing:
I have used Adobe apis to first convert the Scanned pdf to searchable pdf using OCR and after that extracted the ...
0
votes
0
answers
74
views
ItextSharp C# : combine multiple PDFs with AcroFields specified
I have multiples PDF created with the iTextsharp library in C#. Those PDFs are created and are also using AcroFields.Item to create fields and field them with the users info.
Once I have created all ...
0
votes
0
answers
59
views
Created file with app not visible by phone but internal storage
I made an app that creates a PDF file. While the file is successfully generated, it doesn't appear in Google Files. The file, as a document, should appear in the documents section of Google Files, but ...
0
votes
0
answers
61
views
Visual Signature is not appearing after digitally signed it using node.js
Recently a task is given to me for signing a pdf using pfx file using node.js . And I digitally signed the pdf and also the place the placeholder for sign. But visually the sign is not appearing as we ...
0
votes
1
answer
69
views
mPDF adds blank first page when rendering large HTML content with <table>
I'm generating a PDF from HTML using mPDF, and when the document contains a large amount of content, an almost blank first page is added unexpectedly. This only happens with longer documents — shorter ...
0
votes
1
answer
57
views
What do you lose by using OPTIMIZE_RESOURCES_MODE with PDFMergerUtility? PDFBox 2.x [closed]
https://pdfbox.apache.org/docs/2.0.11/javadocs/index.html?org/apache/pdfbox/multipdf/PDFMergerUtility.DocumentMergeMode.html
This description of OPTIMIZE_RESOURCES_MODE leaves me with some uncertainty....
2
votes
0
answers
93
views
How to avoid extra blank space at the bottom of PDF output using headless Chrome and CDP in Java?
I'm generating a PDF from a responsive web page (mobile version) using a headless Chrome instance and the Chrome DevTools Protocol (CDP) in Java. The goal is to produce a single-page PDF that reflects ...
0
votes
0
answers
49
views
External CSS not applied using DinkToPdfLib
I am trying to generate PDF with the custom design provided by my client using DinkToPdfLib. But during the creation of the .PDF file, no proper CSS is applied.
Can you please help me?
Here is my code:...
0
votes
1
answer
78
views
itextPDF tagging of input element for pdf
we use itextPDF v9.2 to generate PDF from HTML Code. The PDF is looking fine, but for the tagging of input elements for example
<input type="checkbox" id="$elementId" name="...
0
votes
0
answers
79
views
Macro Word pdf title
I need to create 17500 letters to be sent. The letter is a template that I have saved. The data (address, name) I have done via word send list and merge field with my excel where that data is in.
...
0
votes
1
answer
216
views
Laravel PDF barryvdh/laravel-dompdf - html page looks different to the generated PDF
By using the 'barryvdh/laravel-dompdf' i want to generate a pdf that looks a certain way.
However there is a difference in how the HTML looks like in page and the pdf generated.
HTML is quite basic
&...
0
votes
0
answers
29
views
Attempting to share a created PdfDocument with Intent results in the last page being duplicated
Part of my app involves adding annotations onto a PDF, and I'm working on a feature to share PDFs with annotations included. The annotations are stored separate from the PDF using room, so when the ...
0
votes
0
answers
79
views
Issue with corrupt PDF when encrypting pages directly using PDFBox
Our application processes uploaded PDFs by extracting individual pages, grouping them per user, and then creating a new PDF that is encrypted with a password. However, when we apply the encryption ...
0
votes
0
answers
65
views
Adding a table to an existing pdf file
I'm using iText to build a pdf templating engine where the user can setup form fields to have each field replaced with some predefined value. For example, a field named user.lastName would get filled ...
0
votes
0
answers
32
views
ItextSharp-LGPL-Core not printing text after graphics to PDF output
I use the ItextSharp-LGPL-Core Nuget Package by Ben Meredith, also getting the same behaviour with iTextSharp.LGPLv2.Core by Vahid Nasiri, so I suppose the issue might be in my local environment.
The ...
0
votes
0
answers
105
views
How to overcome lazy loading of pdf thumbnails in react-pdf-viewer?
I am using "@react-pdf-viewer/thumbnail" for showing thumbnail preview of the pdf pages.
It works fine for pdf having 2 pages. But for multiple pages pdf's, for example, a pdf contains 5 ...
1
vote
0
answers
81
views
Gujarati Text Not Rendering Properly in PDF Using iText7 but Copies Correctly
I am using iText7 to add Gujarati text to a PDF, but I am facing an issue where the text does not render correctly. However, when I copy the text from the generated PDF and paste it elsewhere, it ...
0
votes
1
answer
106
views
wkhtmltopdf not rendering images and page numbers in PDF
I'm using wkhtmltopdf in a Node.js/Express application with a Python PDF generation script. I've encountered an issue where images and page numbers aren't appearing in the generated PDFs, although my ...
0
votes
1
answer
88
views
Reduce Pdf File size using java
I am trying to create a pdf file using PDDocument but output pdf size is more than 15 mb. i want to reduce so that max pdf size is max 10 mb
Creating pdf file : (templateList is list of all ...
0
votes
0
answers
49
views
Table of Contents of List of Figures and Tables are not clickable in PDF while converting docx to pdf using libreoffice writer
I am using pythn-docx(https://github.com/python-openxml/python-docx) to generate a docx file and then converting this docx file into PDF format using unoconv (https://github.com/unoconv/unoconv), ...
0
votes
0
answers
89
views
React-PDF: How can I make sure that content flows dynamically to new pages instead of text flow in single page?
I am using the react-pdf package to generate a multi-page PDF document in my React application. However, I am facing issues with dynamically setting margins, borders, and footer styling across ...