PoDoFo is a C++ library to work with the PDF file format.
Questions tagged [podofo]
85 questions
2
votes
1 answer
How to draw smooth ink annotation on PDF in iOS using Objective-C
I am drawing ink annotation in pdf using objective-c. Pdf specifications say that we need to provide an array of points for the ink drawing. I am using PoDoFo library.
This is how I am drawing ink annotation currently:
PoDoFo::PdfArray arr; //This…

M Zubair Shamshad
- 2,741
- 3
- 23
- 45
2
votes
3 answers
PoDoFo c++ PDF library, polish characters
I have a problem with encoding polish characters in PoDoFo library.
This code generates invalid encoding of word 'Łódź'
#include
using namespace PoDoFo;
int main(int argc, char *argv[], char *env[]) {
PdfStreamedDocument…

Markoj
- 233
- 2
- 7
2
votes
2 answers
Adding FreeText annotation to PDF
I am using podofo for doing PDF operations, like adding annotations, signatures etc as per my requirement in my iOS application. I have first tried the only sample for the podofo library available which works great. But the problem with the sample…

iphonic
- 12,615
- 7
- 60
- 107
2
votes
2 answers
Accessing /Differences array with PoDoFo
This question is a specific question about the PoDoFo library.
How do I access the /Differences array entry in the Encoding dictionary of a Font resource?
After I read the font name from the Tf operator, I can get the font through…

Jesse Good
- 50,901
- 14
- 124
- 166
2
votes
1 answer
Building PoDoFo on Windows - unresolved externals
I'm trying to build PoDoFo but I have few linker errors that are related to OpenSSL(I think). I tried to build it(OpenSSL) but it was too complicated, so I downloaded Win64 OpenSSL v1.0.1e from http://slproweb.com/products/Win32OpenSSL.html.
I made…

Michał Iwanicki
- 103
- 1
- 8
1
vote
1 answer
Podofo PDF table and AutoPageBreak
Can somebody help me to get working the AutoPageBreak function of Podofo::PdfTable class?
I write so
table1.SetAutoPageBreak(true,
[](PoDoFo::PdfRect &rect, void* pCustom)->PoDoFo::PdfPage*{
PoDoFo::PdfPage *pPage = new…

luna80
- 173
- 2
- 12
1
vote
1 answer
ld tool can find the library but mingw cannot (linux)
Right now, I am trying to compile some C++ code that uses both PoDoFo and Magick++ (part of ImageMagick) using MinGW on linux. I'm using MinGW so I can compile for Windows. When I try to compile, I get this…

Zium
- 163
- 9
1
vote
1 answer
Compiling Freetype 2 for an iPad application in Xcode 4
Can any one tell me how to compile Freetype 2 in Xcode 4? I went through a lot of blogs but none of them are very clear.
I want to use the PoDoFo library for modifying PDF metadata, and PoDoFo requires Freetype 2.

akr ios
- 611
- 1
- 7
- 9
1
vote
0 answers
WkHTMLtoPDF Draw the text Is side down
I use the command wkhtmltopdf https://www.google.com output.pdf to get a file of pdf.
I got the pdf, the result is successfully,
but I write codes that use the library Podofo,
the text is upside down.
PdfMemDocument document;
…

Ken Chen
- 11
- 2
1
vote
1 answer
How to determine PdfPage object emptiness?
Let's have following snippet of code:
PoDoFo::PdfMemDocument pdfDoc;
pdfDoc.CreatePage( PoDoFo::PdfPage::CreateStandardPageSize( PoDoFo::ePdfPageSize_A4 ) );
the newly created page is clearly empty. How can one determine such a page is empty (with…

kocica
- 6,412
- 2
- 14
- 35
1
vote
1 answer
How to include external libraries in Qt
I want some basic explanation about how external libraries are added to a Qt C++ project in a Linux environment
I've installed a library called podofo in two ways :
- Installed it with apt-get install libpodofo
- Installed the source code and build…

MsSkillz007
- 45
- 6
1
vote
1 answer
Insert multiple(2 times)digital signatures,i found there are 3 info-dictionary in the pdf
i got the same problem( develop with podofo in c++). after Insert multiple(2 times)digital signatures,i found there are 3 info——dictionary in the pdf file:
how to add two digital signature without invalidating the previous one?
thanks!
i open file…

pengpeng
- 13
- 4
1
vote
1 answer
Incorrect character displacement obtained using PoDoFo
I'm using PoDoFo to extract character displacement to update a text matrix correctly. This is a code fragment of mine:
PdfString str, ucode_str;
std::stack *stack;
const PdfFontMetrics *f_metrics;
...
/* Convert string to UTF8 */
str =…

Dmitry Salychev
- 13
- 4
1
vote
1 answer
page was not declared in this scope - qt creator - PoDoFo
I found this similar problem at
SO: error: ‘Page’ was not declared in this scope
but it is a different situation since I'm not working on header files.
As you can see from the code below, I'm using PoDoFo library trying to print out a pdf file…

Hadi
- 29
- 7
1
vote
0 answers
PoDoFo c++ stack smashing error using PdfMemDocument
I'm new to using PoDoFo in c++, but I have problems using the PdfMemDocument. It seems that there is an bug in the lib, but I'm not sure.
my code:
PoDoFo::PdfMemDocument document;
long len = buffer.size();
document.Load( reinterpret_cast(…

Bernhard Fahrner
- 11
- 2