Hi Dominik,

thank you for your prompt answer. I've integrated your changes with my 
code and it works for me now.

Am 06.10.2011 20:34, schrieb Dominik Seichter:
 > Hi Radoslaw,
 >
 > Thanks for the nice testcase. I commited a fix to
 > PdfColorSeperation.BuildColorSpace and your example works now.
 >
 > The probem was that csTintFunc->GetStream()->Set( ... ) was called
 > before another calll to csTintFunc->GetDictionary().AddKey( ... ).
 > When using PdfStreamedDocument, all calls to AddKey() have to be
 > before a call to GetStream(). You cannot change any keys after you
 > have set a stream. This is necessary to be able to stream streams
 > (nice) to an output device.
 >
 > You might find different cases on other places in PoDoFo, but they
 > should easy to be fixed.

If I find some other places where your solution could/needs to be 
applied, I won't hesitate to post a patch.
I'm too new to PoDoFo yet so I can only hope, that my changes to the lib 
would have no side effects:D.

 > BTW, try catching a PdfError instead of a std::exception. PdfError
 > will give you nice error output.

Thanks for an advice. That's what I usually do anyway:).

-- 
Radek


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to