[Podofo-users] Outline erase method causes segmentation fault

2016-04-29 Thread Yan Pas
High! I can't manage to get Erase mthod to work. I have no permission to use bugtracker on SD (not enough rights), so I post mail here. Here is a sample code: PdfMemDocument doc; const PdfMemDocument indoc1("doc1.pdf"); const PdfMemDocument indoc2("doc2.pdf"); PdfOutlines * outout =

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

2016-04-29 Thread Matthew Brincke
Hi, I have converted the patch to "svn diff" format and attached the result to this e-mail. Of course it remains the patch of Jörg Sonnenberger. Could you (a PoDoFo committer) please apply and commit it for him? Please mention in the commit message it removes duplicate code in PdfVariant from

[Podofo-users] Explanation for my PdfDestination bugfix of the replied-to e-mail (was: Re: Destination with Pdf Name object)

2016-04-29 Thread Matthew Brincke
On Sun, Apr 24, 2016, 15:57 UTC, I (mabri) wrote: > Associating a string with a destination and writing it into a document > (of at least version PDF 1.2) is done by the (abstract base class) method > PdfDocument::AddNamedDestination(const PdfDestination & rDest,

Re: [Podofo-users] [Fwd: [Podofo-svn] ttc-Font support Patch]

2016-04-29 Thread Matthew Brincke
Hi, please find a formatting (mostly detabification, I'm not sure about what I did to the "if" on lines 176 and 208) fix to r1716 and a TIFF warnings fix to r1715 attached, review, apply and commit them separately to the public repository (I was astounded that you, Dominik, accepted the patches

Re: [Podofo-users] Destination with Pdf Name object

2016-04-29 Thread Matthew Brincke
On Sun, Apr 24, 2016, 15:57 UTC, I (mabri) wrote: > Associating a string with a destination and writing it into a document > (of at least version PDF 1.2) is done by the (abstract base class) method > PdfDocument::AddNamedDestination(const PdfDestination & rDest,

[Podofo-users] Patch for TTF font character spacing

2016-04-29 Thread Josef Rokos
Hi, 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 there was the same issue as in Base14 Type1 fonts -