Re: [Podofo-users] Podofo rendering

2019-08-14 Thread Pietro Paolini
Hi Matthew, I resorted to the shared-library solution as it worked well for me, at least it builds. I haven't tried to run anything as yet. For the sake of my personal understanding On 13/08/2019 13:40, Matthew Brincke wrote: Then podofo was automatically configured with JPEG support and

[Podofo-users] Podofo rendering

2019-08-12 Thread Pietro Paolini
Hi all, I've stumbled upon this library only a few days ago and I noticed that the downloadable version from http://sourceforge.net/projects/podofo/files/podofo/0.9.6/podofo-0.9.6.tar.gz/download Does not compile, at least on my system, while what I get right off trunk does compile. I am

Re: [Podofo-users] Podofo rendering

2019-08-13 Thread Pietro Paolini
ew Brincke wrote: Hello Pietro, hello all, On 12 August 2019 at 23:24 Pietro Paolini wrote: Hi all, I've stumbled upon this library only a few days ago and I noticed that the downloadable version from http://sourceforge.net/projects/podofo/files/podofo/0.9.6/podofo-0.9.6.tar.gz/down

Re: [Podofo-users] Podofo rendering

2019-08-13 Thread Pietro Paolini
) TARGET_LINK_LIBRARIES(main ${PODOFO_INSTALL_TOP}/lib/libpodofo.a) INCLUDE_DIRECTORIES(${PODOFO_INSTALL_TOP}/include) Best Regards, Pietro. On 13/08/2019 11:27, Pietro Paolini wrote: Hi Matthew, Thanks a lot for your answer, I am not bothered at all and I am  more than happy to stay on trunk - I just intended

[Podofo-users] PoDoFo browser

2019-09-06 Thread Pietro Paolini
Hi all, I am following the instruction to compile the PoDoFo browser from the page: http://podofo.sourceforge.net/download.html However at the moment of the checkout I get an error with externals.  U   trunk svn: warning: W205011: Error handling externals definition for

Re: [Podofo-users] PoDoFo browser

2019-09-09 Thread Pietro Paolini
time as the object cannot be loaded for some reason, which became obvious when I checked the ObjectNumber()/GenerationNumber pair which seems to be 0,0 all the time. What the correct approach to do what I want with PoDoFo ? Thanks again, Pietro On 06/09/2019 20:59, Matthew Brincke wrote: Hello

Re: [Podofo-users] PoDoFo browser

2019-09-10 Thread Pietro Paolini
Set,0 0 XObjec Names are OK but references are all zeros ... Thanks, P. On 10/09/2019 08:32, zyx wrote: On Mon, 2019-09-09 at 11:02 +0100, Pietro Paolini wrote: What the correct approach to do what I want with PoDoFo ? Hi, I would try something like this while cycle:

Re: [Podofo-users] PoDoFo browser

2019-09-10 Thread Pietro Paolini
Hi all, Problem solved I needed to call GetReference() to actually load the reference . On 10/09/2019 08:32, zyx wrote: On Mon, 2019-09-09 at 11:02 +0100, Pietro Paolini wrote: What the correct approach to do what I want with PoDoFo ? Hi, I would try something like

[Podofo-users] PoDoFo fonts cmaps "override"

2019-11-03 Thread Pietro Paolini
Hi everybody, From time to time I come across PDFs whose fonts are broken and that I cannot paste from. I think this has to do with their cmaps and I am wondering if there is an example somewhere (if this is possible at all) where a document's font is amended, that is, its cmap is altered and

Re: [Podofo-users] Memory leaks in PdfImage::LoadFromTiffHandle

2019-11-13 Thread Pietro Paolini
I am not aware of such construct being available in C++ - and a quick grep on the source code does not match any custom stuff built in to provide an equivalent functionality. Is it hidden somewhere ? On 13/11/2019 08:53, zyx wrote: On Tue, 2019-11-12 at 20:52 +0100, Michal Sudolsky wrote:

Re: [Podofo-users] PoDoFo fonts cmaps "override"

2019-11-05 Thread Pietro Paolini
issue. It will take some time though as I am juggling up with many things, please let me know if there any specific testing I'd like to carry out, many I can be helpful in that way. P. On 05/11/2019 07:18, zyx wrote: On Sun, 2019-11-03 at 22:40 +, Pietro Paolini wrote: In PoDoFo

[Podofo-users] GetFont()

2019-10-21 Thread Pietro Paolini
Hi all, before digging into the source code I'd prefer to have a steer from somebody who has more experience than me with the library. I have a small document which uses in its stream a font named '/F2' but such font can't be looked up by the attached code, which simply compiles a main

Re: [Podofo-users] PoDoFo features

2019-10-29 Thread Pietro Paolini
On 29/10/2019 13:31, Alistiar wrote: Hello, I was looking at your /.pdf/ search tool (library) that allows data extraction from .pdf documents and I’d like to ask about its features: My intention is to implement your library (APIs) in /C++/, while my requirement is following: to

Re: [Podofo-users] Example of text removal or image extraction

2019-11-27 Thread Pietro Paolini
Hi, I have done something of that sort where I did filter out a few text instructions from the stream, this can be done in this manner. Suggestion to improve the following are more than welcome, particularly the fact that I have to append spaces to strings. char * buffer = new char[

[Podofo-users] String bounding box

2019-11-19 Thread Pietro Paolini
Hi all, I'd like to compute the bounding box of a given string part of a text drawing instruction, such as TJ or similar. I've started writing a draft for it but I've stopped halfway through as I am unsure if PoDoFo implements such a thing off the shelf. Does it? While writing a very