Re: [Podofo-users] Trivial cleanup patch (from Joerg Sonnenberger)

2016-05-04 Thread zyx
On Fri, 2016-04-29 at 19:41 +, Matthew Brincke wrote: > I have converted the patch to "svn diff" format Hi, thanks Matthew for the conversion into the patch, it is neatly small. I committed it to sources as revision 1721, credited Joerg: http://sourceforge.net/p/podofo/code/1721

Re: [Podofo-users] Patch for TTF font character spacing

2016-05-04 Thread zyx
On Fri, 2016-04-29 at 15:22 +0200, Josef Rokos wrote: > in attachement is patch for correct character spacing when using > TrueType fonts. Method PdfFontSimple::Init has generated array of > widths but for first 255 glyphs in font regardless of the actual > glyph > which depends on encoding. So

Re: [Podofo-users] BUG: Erase method from PdfOutlineItem sometimes segfaults

2016-05-04 Thread zyx
On Tue, 2016-05-03 at 10:26 +0200, zyx wrote: > My personal opinion on the patch itself is that the pseudo-reference- > counting added is not needed and it's not thread safe. Also, the ref- > count should always start at 1, not at 0, but I didn't test the patch > yet, thus my patch-reading-opinion

Re: [Podofo-users] Problem with loading password protected PDF

2016-05-04 Thread zyx
On Wed, 2016-05-04 at 09:45 +0200, Max Müller wrote: > when playing around with Podofo I stumbled upon an issue that I'm not > able to load password protected PDFs. Hi, could you try to compile and run the encrypt.cpp attached at https://sourceforge.net/p/podofo/mailman/message/34065834/

[Podofo-users] Problem with loading password protected PDF

2016-05-04 Thread Max Müller
Hello, when playing around with Podofo I stumbled upon an issue that I'm not able to load password protected PDFs. I already saw some earlier issues from other people (e.g. https://www.mail-archive.com/podofo-users@lists.sourceforge.net/msg01145.html), but that doesn't help me. My procedure: I