[Podofo-users] FreeText Annotations

2011-04-24 Thread Jonathan Verner
Hi, I have a question about Free Text Annotations. If I am reading the spec correctly, the DA key is required (but it is not set by PoDoFo) but the AP key (set in PoDoFo by SetAppearanceStream) takes precedence if present. If the DA key is missing and no AP key is present, Adobe Reader (on linux

Re: [Podofo-users] transparent overlap of PDF

2011-04-24 Thread Leonard Rosenthol
Exactly as I figured - which is why I wanted to see the PDFs. Whatever software is producing the PDF is drawing a filled white opaque rectangle the size of the paper/page as the first thing it does. Here's the start of the content stream (bold & red are mine for emphasis) of Note-14-49: q 1 1 1

Re: [Podofo-users] transparent overlap of PDF

2011-04-24 Thread Matthew Chan
Hi Leonard, Thanks for your reply. I might have been a bit vague in my original email. Sorry about that. My collaborator had a better example to explain: " suppose you print a PDF onto a sheet of paper. Now print a second PDF on the same sheet of paper. " That's the functionality I was trying t

[Podofo-users] PDF Document Loading Optimization

2011-04-24 Thread Jonathan Verner
Hello, when trying to use PoDoFo to parse large files (e.g. the PDF spec), PdfMemDocument took forever to load. When I tried running, e.g. podofocountpages on the PDF spec after approx. ten minutes it wasn't finished yet. After looking at it, I found out that most of the time is spent in P

Re: [Podofo-users] Text Markup Annotations

2011-04-24 Thread Dominik Seichter
Hi Jonathan, Thanks for your patch! You are of course right and I commited it. Cheers, Dominik On Sunday, April 24, 2011 05:36:54 pm Jonathan Verner wrote: > Hello, > > I think I found a bug in the code handling annotations. In particular, > the SetQuadPoints method throws an error if t

[Podofo-users] Text Markup Annotations

2011-04-24 Thread Jonathan Verner
Hello, I think I found a bug in the code handling annotations. In particular, the SetQuadPoints method throws an error if the annotation type is not ePdfAnnotation_Highlight. However, according to what I could find in the pdf spec (section 2.5.6.10: Text Markup Annotations), the method should w

Re: [Podofo-users] transparent overlap of PDF

2011-04-24 Thread Leonard Rosenthol
Transparency is maintained at the page/graphics level. Any two pages composited together will maintain their transaparency. Can you post two source PDFs and the result from podofoimpose that demonstrate the problem you are seeing? Thanks, Leonard From: Matthew Chan [mailto:talc...@gmail.com] S