Questions tagged [synpdf]

The SynPdf Open Source library is a PDF generation unit for Delphi and FPC.

The SynPdf Open Source library is a PDF generation unit for Delphi and FPC.

6 questions
3
votes
0 answers

delphi canvas drawtext does not clip the text

I am using Windows 10, Delphi 7. Trying to make Pdf document with SynPDF using it's canvas directly. I need to draw in the rectangle only that part of the text that corresponds to the length of the rectangle, the rest cut off. I am using DrawText…
Viktor
  • 43
  • 4
0
votes
0 answers

How to add new text into a previously added page using SynPdf

I'm generating a PDF file using SynPdf library in Delphi 10.3.3. I create a lot of pages, after everything finished, I need to write something into the first page (before saving to a file). How can I do this? Here is my code: procedure…
Andrzej
  • 458
  • 6
  • 16
0
votes
0 answers

How do I create a 100.000+ page PDF in Delphi (synPDF or other)

I am working with equipment that can accept a PDF file as input. In order to test this equipment's performance I would like to create a PDF file containing 100.000 pages or more. Each page containing simple text, some numbers and a barcode I draw…
MyICQ
  • 391
  • 2
  • 14
0
votes
0 answers

Delphi/SynPDF: PDFs looking different depending on the screen

I am using SynPDF to create PDFs in my Delphi program. The PDFs look fine on my screen, but when I run the program using some other screen the text is overlapping or shrunk. This seems to be because of VCLCanvasSize (of TPDFDocumentGDI) being…
Sara
  • 23
  • 3
0
votes
0 answers

GDI - Strange glitch when blitting the content of a TBitmap onto a canvas

In a c++ project created with Embarcadero RAD Studio XE7, and using several TBitmap graphics and some GDI functions to manipulate them, I have a very strange issue which I cannot figure out. The application I created contains an exporter which draws…
Jean-Milost Reymond
  • 1,481
  • 1
  • 10
  • 29
-1
votes
1 answer

Pdf with multiple columns under header by using TGDIPages from SynPdf

I would like to generate a PDF file by using TGDIPages method and having multiple columns under header with text and a logo. Example: Quotation [Some logo here] Company Name No. xx / 03.05.2018 …
REALSOFO
  • 770
  • 7
  • 32