Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
45 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 ...
Preeti Joshi's user avatar
1 vote
1 answer
79 views

Unable to make widget/field appearance showing in Acrobat(works with pdf-x change, foxit)

Appearances for signature are not showing properly in Adobe Acrobat. The 'thumbnail' shows up on the thumbnail panel but its not showing on the actually PDF. This pdf has a certification digital ...
Bobby-1995's user avatar
0 votes
0 answers
39 views

Underlined text into PDF form filled by Oracle Analytics

I implemented an Oracle Analytics instance on Oracle OCI. I have to manage a PDF form with several fields. I use the PDF form template directly, not an RTF template, because the structure is complex. ...
KevLen's user avatar
  • 23
0 votes
1 answer
60 views

A4 Template CSS: can't extend the div's height through the entire A4-page

I'm trying to implement an A4 Template with CSS, which can be printed or saved as PDF: https://jsfiddle.net/me9ytfd5. @media print { @page { size: A4; } .sidebar { border-...
Mike's user avatar
  • 14.6k
0 votes
1 answer
79 views

Indian Rupee (₹) Symbol Not Rendering Properly in jsPDF [duplicate]

I'm using jsPDF to generate invoices in my JavaScript project. Everything works fine when using the Dollar ($) symbol, but when I use the Indian Rupee (₹) symbol, the PDF output contains corrupted or ...
Sidramaraddy M's user avatar
0 votes
0 answers
73 views

PDF Line Annotation confusion

I'm looking at a PDF Annotation whose type is line (clarify: it's the big red line in the middle between the circle and the text). It looks like below: (Please look at the line in the middle) Now ...
Tanin's user avatar
  • 1,933
1 vote
0 answers
29 views

Combine Duplicate Fonts When Appending PDF Files - Python

I am trying to combine 450 PDFs into a single PDF. There are only a few unique fonts among all the files. Once all the files are combined, I look at the structure though pdfcrowd.com and I can see the ...
Ryan Schunk's user avatar
0 votes
0 answers
29 views

Dynamic body content overlapping with Header and Footer in PDF, using useReactToPrint

I am trying to create a pdf usinf useReactToPrint. Requirement: I want fixed header and footer on each page and dynamic content to be generated in body between them. When there's no space left to ...
Anish Arya's user avatar
0 votes
0 answers
89 views

How to make header and footer fixed in Laravel DOMPDF when the content spans multiple pages?

I'm using the dompdf/dompdf package in my Laravel 9.52 application to convert HTML content into a PDF. My problem is that when the content of the PDF spans more than one page, I want the header and ...
yassine afaila's user avatar
2 votes
1 answer
123 views

PDF rendering issues with multilingual text across different languages in a PDF generation library like pdf-lib

I am generating PDFs in my project using libraries such as @react-pdf/renderer and pdf-lib, and I am encountering significant challenges with font compatibility for multilingual text. In my use case, ...
Shahed's user avatar
  • 1,905
0 votes
1 answer
68 views

Kendo PDF Angular does not read special characters

I am using Kendo to create a PDF, but I need to display special characters like 'Frío.' However, it doesn’t print correctly; it only shows 'FR˝O.'. How can I fix it?. I am using several fonts and many ...
alonso's user avatar
  • 321
1 vote
1 answer
76 views

How do I center my pdf download using app script?

I've used a script from a kind and helpful commentor and it worked if my format in the sheets are the same. However, when i type in the details and the row size changed, the page is shifted to the ...
russetsyren's user avatar
0 votes
0 answers
27 views

How to optimize (in Python) the compression of TIFF bitmaps before inserting them in a PDF? Photoshop uses Predictor 2

I have written a tool in Python that reads TIFF images in CMYK or monochrome (gray levels) and assembles them into a PDF. It's using a nice module (mPdf.py) from Didier Stevens and the zlib library to ...
user3425798's user avatar
0 votes
1 answer
60 views

How to change color of border and font in an inline text / freetext annotation in a pdf document?

I'm writing a python script to change color of text and borders of inline annotations inserted with okular into a pdf document. This script instead of changing only text and border seems change the ...
vqqkomb0's user avatar
0 votes
1 answer
111 views

Convert a Google Sheet to PDF file with formatting [duplicate]

I have been trying to convert a Google sheet to a PDF file. (This is the input Google Sheet.) I have browsed the internet and gotten to converting the Google Sheets to HTML using the gspread library, ...
Anish's user avatar
  • 13
0 votes
1 answer
87 views

handle font family and font size using the PDF-lib node js package

I'm working on generating and inserting data into the existing pdf, and applying font size and font family to the text field of PDF. this is my code snippet to attach the font. const { PDFDocument, ...
omkar p's user avatar
  • 63
0 votes
0 answers
36 views

IFrame and Object elements not supporting base64 when displaying pdf-s on smallers screen sizes (mobile)

I want to display a pdf from contentBase64, using Object does not work with Safari browser for some reason. Just displays a grey screen. Works with chrome on desktop view but not with mobile. So I ...
Gaspar's user avatar
  • 23
0 votes
0 answers
52 views

How to stretch content on print page using flying saucer

I need to put an image to the bottom of last pdf page (but above page counter which is in bottom-right page margin box). @page { size: A4 landscape; margin: 20mm 10mm 20mm 20mm; @bottom-right ...
khury's user avatar
  • 1
0 votes
1 answer
36 views

Using PdfFileMerger in Python to merge PDFs with the same name, but different numbers

I have a directory full of individual PDFs that need to be merged together, based on their name. Each individual pdf file has one page. The naming convention for each file consists of a string name ...
Cor_Novum's user avatar
0 votes
0 answers
188 views

How to page table cell content on Questpdf

I'm using QuestPDF, dynamic content to generate a pdf with several columns, one is the description column that sometimes its content is to big for the pdf to render table.Cell().ColumnSpan(3).Element(...
Alfredo Matute's user avatar
0 votes
0 answers
109 views

How to fine tunning for QuestPDF to generate template

I am trying to generate a PDF in my Blazor Server application. I created the PDF the way I wanted, but I need help editing some areas. I am using the latest version of QuestPDF. Here is the original ...
raysefo's user avatar
  • 472
0 votes
0 answers
213 views

How to Edit PDFs in React Native without Paid SDKs?

I'm working on a React Native project where I need to edit PDF files (for example, adding text, annotations, etc.) without using any paid SDKs. Most of the solutions I've come across require paid ...
Mudassir Raza's user avatar
0 votes
1 answer
97 views

How to correctly configure space between lines for PDF generated with text-pdf 8

I'm working in an app to generate some PDFs and I'm doing some POC with itext-pdf library. I'm facing some issues finding the correct line spacing. I generated manually an example of what I want to ...
Alvaro Pedraza's user avatar
0 votes
0 answers
85 views

Text added in the pdf in Firefox or Evince or Okular is displayed with rectangles?

My Question is about font rendering in pdfs. I'm adding text to a pdf using the rust library for pdf operations lopdf. I'm using the Tj operator with Courier Font and encoding the text in hexadecimal :...
C Taque's user avatar
  • 1,097
2 votes
1 answer
249 views

How to determine the height of word-wrapped text in pdf-lib?

In pdf-lib, it is possible to auto-word-wrap text using a technique outlined here: https://stackoverflow.com/a/77436904/1766230 import { PDFDocument, StandardFonts } from 'pdf-lib'; const doc = await ...
Luke's user avatar
  • 20.1k
0 votes
0 answers
73 views

generating pdf using jspdf in html giving blank space in document

I am trying to generate pdf using html and jspdf, my live link is, Link Here bottom you can see download button to download the html as pdf, the download is working fine, but there are white spaces in ...
jbedufly app's user avatar
1 vote
1 answer
299 views

How to create a proforma invoice with QuestPDF

I am working on a Order Management Application with Blazor Server. I need to create a PDF proforma invoice so I decided to use QuestPDF. I installed 2024.7.3 version on my project. I am trying to ...
raysefo's user avatar
  • 472
0 votes
0 answers
215 views

How can I create a PHP program that converts ZPL to PDF without using external services like Labelary?

I'm trying to create a PHP program that can convert ZPL (Zebra Programming Language) to PDF. However, I haven't found much information on how to do this directly in PHP. Most of the resources I've ...
Mark's user avatar
  • 1
0 votes
1 answer
67 views

How to replace texts in PDF?

For my project, I need to replace texts in PDF with JS. I made progress but PDF outputs of professional programs like Word or LibreWriter didn't have any understandable and replacable text. What do I ...
Yakup Cemil KAYABAŞ's user avatar
0 votes
0 answers
43 views

How can I export a DataGridView to a PDF with a watermark using iTextSharp in VB.NET?

I'm working on a VB.NET Windows Forms application and need to export the data from a DataGridView to a PDF file. Additionally, I need to include a watermark image in the background of each page of the ...
Gorilla Byte's user avatar
0 votes
1 answer
55 views

Turning pdf pages into bitmap with original size

I am turnın pdf pages into bitmap and displaying them in a recyclerview but there is a problem original pdf bitmaps have the size of 841*595 but if a render the bitmaps with this size bitmaps looks ...
Tndstn's user avatar
  • 19
1 vote
0 answers
35 views

Making the drawed text on the imageview selectable

I am turning pdf pages into bitmaps and displaying them on recyclerview and ı draw the detected text on the bitmap with drawtext(); and ı want to be able to select these texts on the recycleviews ...
Tndstn's user avatar
  • 19
1 vote
1 answer
64 views

Creating pdf file from bitmaps with selectable text using PDFdocument

I am turning pdf pages into bitmaps to be able to make changes on them in my applications then ı am creating pdf files with bitmaps using pdfdocument class but final pdf file doesnt have selectable ...
Tndstn's user avatar
  • 19
1 vote
2 answers
163 views

How to extract the body of a pdf?

I want to extract the body of a pdf. By body I mean the file format that a pdf parser/reader uses to render the pdf. Any language would work, but if you could tell me how to do it in python or Java, ...
somuchsonal's user avatar
1 vote
0 answers
63 views

How to create a dynamically generated Table of Contents (TOC) with page numbers for a merged PDF using iText 5 in Java?

I'm working on a Java project where I use iText 5 to merge multiple PDF files generated by Crystal Reports into a single PDF document. After merging these PDFs, I need to add a dynamically generated ...
Usama's user avatar
  • 77
0 votes
0 answers
48 views

Skip some bytes from the beginning of a PDF stream

I want to convert some JPEG and PNG files to PDF, but I want to do it in a way that the original files are easily recoverable. This is easy for JPEG files: they get embedded directly in an stream ...
Sammet's user avatar
  • 1
0 votes
1 answer
73 views

Change pdf link type from URI to GoToR

while exporting document from Word application to pdf, links in the document are exported as URI(i.e. file://...../other_doc.pdf). In order to validate them somewhere else I need the links to be of &...
user1711690's user avatar
0 votes
1 answer
58 views

PDF creation in .NET Compact Framework

After following this CodeProject sample we were able to hand-craft our own PDF 1.4 (Adobe 5.x) engine. It works well with Latin-based text (English, French, etc.). But Chinese, Korean, Greek and other ...
AlainD's user avatar
  • 6,625
0 votes
1 answer
49 views

How to Continuously Merge PDFs Without Adding Extra Pages Using iText 5

I'm working on merging multiple PDFs using iText 5 in Java. My goal is to merge the PDFs in such a way that the second PDF starts immediately after the content of the first PDF ends, if there is space ...
Usama's user avatar
  • 77
0 votes
0 answers
25 views

Preserve separately selectable Columns in PDF export of Excel document

When exporting Word documents or rendering LaTeX, you can designate columns and thus enable seperate selection of sections of the Document: Meanwhile when exporting Excel, I could not find any way to ...
knorke3's user avatar
  • 23
-2 votes
1 answer
260 views

PDFsharp not providing good compression [closed]

I'm working in a console application targeting .NET v8. I'm using PDFsharp nuget package for PDF file generation. I'm using below code to compress a PDF file of 75 KB. The PDF file mostly contains ...
RBT's user avatar
  • 26k
0 votes
0 answers
27 views

Making PDF using python (Jupyter Notebook)

i want to make pdf using python(jupyter) in this i want to create 2 partition left side & right side but when i create 2 partition on the basis of column_width, & write the content on each ...
Rick Dutta's user avatar
0 votes
1 answer
54 views

PDF Rotate PdfAnnotation to an Arbitrary Angle

I would like to be able to rotate a PdfAnnotation to an arbitrary angle. In this case, I am trying to rotate a PdfPolyGeomAnnotation (i.e. Polygon). I am using IText 8 I beleive that this is ...
Jeff's user avatar
  • 654
0 votes
0 answers
206 views

In Adobe Acrobat, how can I automatically add Custom Format Script to all text fields in my form?

I'm converting dozens of Word documents into PDF forms using Acrobat Pro Version 2024.002.20895. I need all the text input fields in the forms to include some placeholder text that displays with a ...
lilcoder's user avatar
0 votes
0 answers
32 views

Create OCG layers in PDF using Node

I need to create a PDF from canvas and attach elements in multiple OCG PDF layers. Is there any solution that supports this (except paid apryse)?
Dominik's user avatar
  • 111
0 votes
1 answer
43 views

Elixir error when trying to upload pdf from pdf generator

I'm trying to upload and create a download prompt for a generated pdf via the store function but I keep getting an error as if a pdf hasn't been generated but I can confirm that there is a pdf file ...
Jonathan Talbot's user avatar
0 votes
0 answers
51 views

In PDFClown, is it possible to make the layers appear on top of the content

I am a newbie at PDF Clown and at pdf modification in general. I want to add some text in a new layer/OCG onto a pdf. In this code, it's to add a name and some number to the pdf. My problem is, this ...
Neo Jabin's user avatar
0 votes
0 answers
74 views

How to read pdf form fields smalot/pdfparser?

I am trying to read data from pdf and save into separate columns(Name,Address,Email,Company) but the smalot/pdfparser returning output as string $parser = new \Smalot\PdfParser\Parser(); $pdf = $...
Liju's user avatar
  • 727
0 votes
0 answers
82 views

Render HTML to pdf and append images

I'm writing a python script that can read html from stdin and render it to a file (with css, though my example code omits that), along with attaching any trailing image paths on the command. Using the ...
GammaGames's user avatar
  • 1,828
0 votes
2 answers
125 views

What ways are there, if any, to read/edit a PDF's human-readable format (operators/operands)

It is my understanding that PDFs, or at least some parts of PDFs have a readable text representation, i.e. language. (Not very readable! But readable.) In the process of learning about how PDFs can be ...
barneypitt's user avatar
  • 1,180

1
2 3 4 5
54