[Podofo-users] RFE: Open a document for an incremental update

2013-05-26 Thread zyx
Hello, I'd like to Request For an Enhancement, to be able to open a document for incremental updates - to add a new revision at the end of the existing file. The feature is not that complicated, according to PDF specification, but its implementation can be tricky. It would be a great

Re: [Podofo-users] Write vertical and gradient

2013-05-27 Thread zyx
On Mon, 2013-05-27 at 09:22 +0200, Juan Francisco González Navarro wrote: IS there any way to write vertical? Now, I'm writing letter by letter using DrawText. Hi, I suppose from Dominik's response that you do not want a rotated text, but writing text top-to-bottom, instead of

Re: [Podofo-users] RFE: Open a document for an incremental update

2013-05-27 Thread zyx
On Mon, 2013-05-27 at 09:35 +0200, Dominik Seichter wrote: I fully agree. This would be a killer feature for signing existing document (a new podofotool comes to my mind). It should be an optional feature though, i.e. with an option to PdfMemDocument::Write where you can specify whether to

Re: [Podofo-users] 0.9.2 linking errors

2013-05-31 Thread zyx
On Thu, 2013-05-30 at 20:36 +0300, dharma teja wrote: Hi, I have created static library of podofo 0.9.2 in 32 bit and when I use it in my project it shows me linking errors: LNK2001: unresolved external symbol It occurs in PdfEncrypt.obj wit probably linking error to OpenSSL I have

Re: [Podofo-users] Buffer overrun at PdfTokenizer::ReadString

2013-07-28 Thread zyx
at PdfEncryptAESV2::Decrypt. Acrobar Reader opens the files without any issue. Hope it helps, zyx encrypt-aesv2.pdf Description: Adobe PDF document encrypt-aesv3.pdf Description: Adobe PDF document encrypt-rc4v1-no-user-pass.pdf Description: Adobe PDF document encrypt-rc4v2.pdf Description

Re: [Podofo-users] How to extract embedded file from pdf?

2013-09-22 Thread zyx
, it asks for data of an attachment at index 'index'). Bye, zyx PdfNamesTree *names = document-GetNamesTree(false); if (names) { PdfObject *pObj = names-GetObject()-GetIndirectKey(EmbeddedFiles); if (pObj) { const PdfObject *kidsKey = pObj

Re: [Podofo-users] Buffer overrun at PdfTokenizer::ReadString

2013-09-29 Thread zyx
in PdfEncryptAESV3::Encrypt(). I admit I have no idea how AES should work in PDF (and in general too). pzent, could you follow-up on your commit [1], please? Or maybe Dominik? Thanks and bye, zyx [1] http://sourceforge.net/p/podofo/code/1512

Re: [Podofo-users] Bug in PdfPainter::SetLineJoinStyle ?

2013-10-11 Thread zyx
time ago. Bye, zyx [1] http://sourceforge.net/p/podofo/code/1534 -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP

Re: [Podofo-users] how to create a pdf without flateEncoded(zlib)

2013-10-21 Thread zyx
will not be encoded. Bye, zyx -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from

Re: [Podofo-users] The CMake created Visual Studio 10 project has link errors

2013-11-20 Thread zyx
On Tue, 2013-11-19 at 17:39 -0500, Shazad Khan wrote: I went back to 0.9.1 version of PoDoFo to get rid of libcrypto dependency and was able to build it. However the Visual Studio solution file cmake generate doesn't build. The problem is it can't find the libraries. In the VS2010 project

Re: [Podofo-users] PdfFilters.h Location?

2014-01-29 Thread zyx
are trying to accomplish, but I hope this answers your questions. Please do not ask me on any more details, I do not have them, I only did the code search and read for you, nothing else. Bye, zyx -- WatchGuard

Re: [Podofo-users] PdfFilters.h Location?

2014-01-29 Thread zyx
with returned object. Bye, zyx -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip

Re: [Podofo-users] Last commit

2014-01-31 Thread zyx
is fixed with r1581. I'm sorry for inconvenience. Bye, zyx -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key

Re: [Podofo-users] what is the status of AES Decrypt/Encrypt

2014-02-26 Thread zyx
, but not mandatory. And how to contribute the best way? You can send the patch to this list, thus more people will be able to test it, or send it directly to Dominik for a review. Bye, zyx -- http://www.litePDF.cz i...@litepdf.cz

Re: [Podofo-users] what is the status of AES Decrypt/Encrypt

2014-03-06 Thread zyx
On Thu, 2014-03-06 at 09:11 +0100, Dominik Seichter wrote: Andreas, thanks for your fixes and updates. @zyx: Could you please review them and maybe commit them to the repository? I don't have any time right now to follow patches. Hi, sure thing, I'll be glad to help. I applied

Re: [Podofo-users] what is the status of AES Decrypt/Encrypt

2014-03-07 Thread zyx
of the next week, and let you know. Bye, zyx -- http://www.litePDF.cz i...@litepdf.cz -- Subversion Kills Productivity. Get off Subversion Make the Move to Perforce

Re: [Podofo-users] what is the status of AES Decrypt/Encrypt

2014-03-09 Thread zyx
On Fri, 2014-03-07 at 15:01 +0100, zyx wrote: I'll test the functionality during the weekend, the most at the beginning of the next week, and let you know. Hello, I created a little test program for the encryption (see the attached test.cpp), which is testing all encryption algorithms

Re: [Podofo-users] what is the status of AES Decrypt/Encrypt

2014-03-11 Thread zyx
, would you mind to look on AESv3 too? As you mentioned earlier, with AESv2 being done the AESv3 should not be a big problem, and you have the code fresh in your mind, thus it might be even easier for you? Maybe :) Bye, zyx -- http://www.litePDF.cz i

Re: [Podofo-users] PoDoFo fails to build on Mavericks with homebrew (and macports)

2014-03-11 Thread zyx
freetype/config/ftheader.h Could you update the patch, please? (I prefer one patch only, personally, it's easier to work with and I'd do a single commit anyway). Bye, zyx -- http://www.litePDF.cz i...@litepdf.cz

Re: [Podofo-users] PoDoFo fails to build on Mavericks with homebrew (and macports)

2014-03-18 Thread zyx
On Tue, 2014-03-11 at 19:57 +0100, zyx wrote: On Fri, 2014-02-28 at 17:37 +0100, Arno Gramatke wrote: I recently tried to install PoDoFo on Mac OS X 10.9 using homebrew. It failed with two errors: 1) ios_base includes were missing in PdfInputDevice.h and PdfLocale.h 2

Re: [Podofo-users] Patches for compiling podofo 0.9.2 on OS X 10.9 Mavericks

2014-03-31 Thread zyx
replacements, folding and so on) either during the transmission or on the client side itself. Thanks for your understanding. Bye, zyx -- http://www.litePDF.cz i...@litepdf.cz

Re: [Podofo-users] what is the status of AES Decrypt/Encrypt

2014-04-01 Thread zyx
data length not a multiple of the key length I hope it helps with a diagnose. Bye, zyx [1] http://sourceforge.net/p/podofo/mailman/message/32079121/ -- http://www.litePDF.cz i...@litepdf.cz

Re: [Podofo-users] Patches for compiling podofo 0.9.2 on OS X 10.9 Mavericks

2014-04-01 Thread zyx
() had been replaced in LUA 5.1, and lua_rawlen() had been introduced in version 5.2. I'd say, to keep backward compatibility, it'll be good to conditional-compile the code based on the used LUA version, rather than replace the functions. Bye, zyx [r1586] http://sourceforge.net/p

Re: [Podofo-users] Patch to support PDF XRefStm

2014-04-01 Thread zyx
, zyx -- http://www.litePDF.cz i...@litepdf.cz -- ___ Podofo-users mailing list Podofo-users@lists.sourceforge.net https

Re: [Podofo-users] Patches for hangs and access violations

2014-04-01 Thread zyx
This had been already committed with basically the same patch from other user as r1576: http://sourceforge.net/p/podofo/code/1576 PdfPages.patch I committed it together with the first patch as r1588: http://sourceforge.net/p/podofo/code/1588 Bye, zyx -- http

Re: [Podofo-users] what is the status of AES Decrypt/Encrypt

2014-04-06 Thread zyx
/podofo/code/1595 Thanks a lot for the help on this. Bye, zyx -- http://www.litePDF.cz i...@litepdf.cz -- ___ Podofo-users

Re: [Podofo-users] Clash between PdfXRefStreamParserObject and PdfXRefStream

2014-04-29 Thread zyx
, then I'll be happy to commit it to sources. Bye, zyx -- http://www.litePDF.cz i...@litepdf.cz -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE

Re: [Podofo-users] Clash between PdfXRefStreamParserObject and PdfXRefStream

2014-05-02 Thread zyx
On Tue, 2014-04-29 at 18:24 +0200, zyx wrote: On Tue, 2014-04-29 at 12:09 +0300, Ilan Zisser wrote: If tried the first option and it works fine. Would you like me to send a patch? If you can provide a patch, then I'll be happy to commit it to sources. Hi, Ilan sent me his change

Re: [Podofo-users] How to reduce Pdf size

2014-05-05 Thread zyx
the resources (by the way, inner images are also resources, which explains the size increase). Bye, zyx -- http://www.litePDF.cz i...@litepdf.cz -- Is your legacy SCM system holding

Re: [Podofo-users] Dominik, are you ok?

2014-05-11 Thread zyx
On Sun, 2014-05-11 at 16:07 +0200, Alexander Repty wrote: I believe zyx has commit privileges, and they have been active recently. Hi, yeah, I was just about to commit some of the pending patches and generally do a little movement in those pending patches. The problem is that I do

Re: [Podofo-users] Podofo, Freetype and MacOS Homebrew

2014-05-11 Thread zyx
. Thanks and bye, zyx [1] http://sourceforge.net/p/podofo/mailman/message/32166760/ -- http://www.litePDF.cz i...@litepdf.cz -- Is your legacy SCM system holding you back? Join

Re: [Podofo-users] PdfWriter as a base class

2014-05-11 Thread zyx
new warnings, please? Bye, zyx -- http://www.litePDF.cz i...@litepdf.cz -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your

Re: [Podofo-users] patch to implement form field inheritance (ISO 32000:2008, Section 12.7.3.1, table 220, page #432)

2014-05-11 Thread zyx
, the next time, please attach the patch rather than paste it into the email. Even not large, it was painful to apply the patch by hand. Thanks for your understanding. Bye, zyx [1] http://sourceforge.net/p/podofo/code/1599 -- http://www.litePDF.cz i

[Podofo-users] Move to github? (was: Re: Dominik, are you ok?)

2014-05-11 Thread zyx
to teach them to use the tool. I also prefer svn over git, but as everything in this thread, it's only my humble personal opinion. After all, everything you described can be achieved right now and nothing prevents users of tarball releases. Bye, zyx -- http://www.litePDF.cz

Re: [Podofo-users] Compiling PodofoBrowser fails on OSX Mavericks 10.9.2

2014-05-14 Thread zyx
not compile podofobrowser myself, this is what I see in sources and on the page. That means, to be able to compile podofobrowser, you may need to adapt the code to PoDoFo API changes first. Bye, zyx -- http://www.litePDF.cz i...@litepdf.cz

Re: [Podofo-users] Building Version 0.9.2 (but the library file says 0.9.1!)

2014-05-14 Thread zyx
to a typo in the sources, tarball release, which had been fixed in current trunk some weeks/months ago. I cannot find exact link to the list/svn commits right now, I'm sorry, but I recall it had been discussed on the list in the past. I hope I'm not mistaken. Bye, zyx -- http

Re: [Podofo-users] PdfWriter as a base class

2014-05-14 Thread zyx
, not in series of patches - both is easier for maintaining the changes. Thanks for your understanding. Bye, zyx -- http://www.litePDF.cz i...@litepdf.cz -- Accelerate Dev Cycles

Re: [Podofo-users] PdfWriter as a base class

2014-05-15 Thread zyx
for it. Bye, zyx -- http://www.litePDF.cz i...@litepdf.cz -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across

Re: [Podofo-users] Podofo, Freetype and MacOS Homebrew

2014-05-18 Thread zyx
. Hello, if I read it correctly, then PoDoFo has all the homebrew fixes already included, the only one is the Lua code update to support also 5.2? If I'm wrong, would you mind to resend your up-to-date patch, please? It'll be easier than to chase list archives. Thanks in advance, zyx

Re: [Podofo-users] Podofo, Freetype and MacOS Homebrew

2014-05-19 Thread zyx
because my hardware was to new to get that VM to run. I can check again and let you know, in case I can help with this. Any sanity checking and providing fixes for current svn trunk before the release would be more than welcome. Thank you all for the help with this. Bye, zyx -- http

Re: [Podofo-users] Patch for PoDoFo 1598

2014-05-21 Thread zyx
on the list (perhaps zyx) to do this. Hello, thanks for the patch. I'll thanks for the patch. I'll try to commit it during this weekend, but no promises. The next week the latest. Bye, zyx -- http://www.litePDF.cz i...@litepdf.cz

Re: [Podofo-users] Patch for PoDoFo 1598

2014-05-24 Thread zyx
dereferences on places which expect non-NULL pointers being returned (I didn't test whether such situation could happen) and, more importantly, a hard-to-debug (on the first look) misbehavior of the PoDoFo library when it was compiled without OpenSSL. Bye, zyx [r1600] http

Re: [Podofo-users] Patch for PoDoFo 1600

2014-05-26 Thread zyx
, zyx [r1601] http://sourceforge.net/p/podofo/code/1601 -- http://www.litePDF.cz i...@litepdf.cz -- The best possible search technologies are now affordable for all companies. Download

Re: [Podofo-users] Outputting Arabic (via Harfbuzz) [on Windows]

2014-06-04 Thread zyx
the letters according to your mapping. The hardest part will be to describe the font properly, with its 'letter' widths and so on, but I think the freetype can read that from the font description and PoDoFo can use that information for you. Hope it helps, zyx P.S.: As you target

[Podofo-users] Heads-Up: Drawing API to be changed within the next few weeks

2014-06-05 Thread zyx
before the next PoDoFo release. Please correct me if I'm wrong. Thanks and bye, zyx -- http://www.litePDF.cz i...@litepdf.cz -- Learn Graph Databases - Download FREE

Re: [Podofo-users] Heads-Up: Drawing API to be changed within the next few weeks

2014-06-05 Thread zyx
the PoDoFo trunk changed meanwhile too. Bye, zyx -- http://www.litePDF.cz i...@litepdf.cz -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive

Re: [Podofo-users] Exception while running in iOS 7

2014-06-05 Thread zyx
in iOS 7 environment? What if you recompile PoDoFo on iOS 7, will it still crash? If not, then it may explain that they changed anything in the system library. But I'm only plain guessing here. Bye, zyx -- http://www.litePDF.cz i...@litepdf.cz

Re: [Podofo-users] Heads-Up: Drawing API to be changed within the next few weeks

2014-06-05 Thread zyx
can simply checkout that branch [2] and get it all at once, not interleaved with trunk changes. The code is currently based on PoDoFo 0.9.2, thus the merge will not be that simple (but that's my problem) :). Bye, zyx [1] http://sourceforge.net/p/podofo/code/1526 [2] svn co https

Re: [Podofo-users] PoDoFo Patch - Count as reference in page tree

2014-06-10 Thread zyx
On Tue, 2014-06-10 at 10:16 +0200, Petr Pytelka wrote: There is small patch in the attachment which solves the issue. Hi, the patch looks fine, I committed it as r1604: http://sourceforge.net/p/podofo/code/1604 Bye, zyx -- http://www.litePDF.cz

Re: [Podofo-users] PoDoFo Patch - Count as reference in page tree

2014-06-11 Thread zyx
, zyx -- http://www.litePDF.cz i...@litepdf.cz -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems

Re: [Podofo-users] Heads-Up: Drawing API to be changed within the next few weeks

2014-06-15 Thread zyx
On Thu, 2014-06-05 at 17:17 +0200, zyx wrote: I'd like to include it in the next release. The merge will take some time, though. I'll announce when it's done (I'll be working on it mostly  during weekends). Hi, the changes from zyx_integration branch are committed to trunk now

Re: [Podofo-users] PoDoFo Patch - Count as reference in page tree

2014-06-15 Thread zyx
On Thu, 2014-06-12 at 07:56 +0200, zyx wrote: Otherwise the patch looks fine. Hi, I went ahead and committed, slightly changed, Petr's patch as r1640. http://sourceforge.net/p/podofo/code/1640 Bye, zyx -- http://www.litePDF.cz i

Re: [Podofo-users] Heads-Up: Drawing API to be changed within the next few weeks

2014-06-16 Thread zyx
each commit here, also on Linux, and they worked for me. I installed cppunit later, thus the fixes in r1639 inside test/unit/. Hope it helps, zyx -- http://www.litePDF.cz i...@litepdf.cz

Re: [Podofo-users] Heads-Up: Drawing API to be changed within the next few weeks

2014-06-16 Thread zyx
().GetHeight()); ^ Caused by drawing API change. Bye, zyx -- http://www.litePDF.cz i...@litepdf.cz -- HPCC Systems Open Source Big Data Platform from LexisNexis

Re: [Podofo-users] Bug in podofo-doc.rc.in from rev 1605

2014-06-17 Thread zyx
On Mon, 2014-06-16 at 10:45 +0200, Petr Pytelka wrote: My current solution is to revert back the change. Hi, thanks for the heads-up, I fixed it in r1642: http://sourceforge.net/p/podofo/code/1642 Bye, zyx -- http://www.litePDF.cz i

Re: [Podofo-users] Heads-Up: Drawing API to be changed within the next few weeks

2014-06-18 Thread zyx
, zyx -- http://www.litePDF.cz i...@litepdf.cz -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open

[Podofo-users] Proposing release of PoDoFo 0.9.3 to July 7th, 2014

2014-06-22 Thread zyx
developer, which I'm really not. The final decision is to Dominik. I can help as much as I would be able, though I never did a PoDoFo release, thus I'm not 100% sure of the right procedure (page update documentation update release notes ...). Bye, zyx -- http

Re: [Podofo-users] Proposing release of PoDoFo 0.9.3 to July 7th, 2014

2014-06-24 Thread zyx
On Mon, 2014-06-23 at 22:23 -0700, plinnell wrote: On Sun, 22 Jun 2014 19:04:25 +0200 zyx z...@litepdf.cz wrote: Questions to be answered: Hi, that's not a call for me, I'm only proposing to do a release, the 7/7/2014 looked/looks like a very nice date. :) Are the docs updated

Re: [Podofo-users] Proposing release of PoDoFo 0.9.3 to July 7th, 2014

2014-06-29 Thread zyx
Dne 27.6.2014 18:26, Dominik Seichter napsal(a): A release on 7/7/2014 sounds good to me. I can help or even do the release (update webpage, upload tarball). Or, if zyx wants to do the release, I can also assist. Whatever you prefer. Can anyone tag the source on 7/7/2014 (or whenever you

Re: [Podofo-users] SVN commit 1587 broke ability to parse several PDFs

2014-06-29 Thread zyx
0x0047b435 in main () at test.cpp:69 I think of reverting the patch, to support those probably broken files, but I'd like to hear from you too, whether the file is truly broken. Thanks and bye, zyx -- http://www.litePDF.cz i...@litepdf.cz

Re: [Podofo-users] SVN commit 1587 broke ability to parse several PDFs

2014-06-30 Thread zyx
thorough testing by Friday, then it'll be great (you know, just in case it has any side-effects). Thanks again and bye, zyx [1] http://sourceforge.net/p/podofo/code/1648 -- http://www.litePDF.cz i...@litepdf.cz

Re: [Podofo-users] Proposing release of PoDoFo 0.9.3 to July 7th, 2014

2014-07-04 Thread zyx
not sure how these use to be (and I feel a shame when I miss anyone from the list, if it might be done namely). :) Dominik, I suppose you'll create the tag just before the release. Am I correct? Hope it helps, zyx -- http://www.litePDF.cz i

Re: [Podofo-users] GetUnicodeCharCode not found

2014-07-04 Thread zyx
under Microsoft, Borland and gcc compilers, that's why I guess it's something with with your IDE/Editor. Bye, zyx -- http://www.litePDF.cz i...@litepdf.cz -- Open source

Re: [Podofo-users] v0.9.3 fails to build on OSX Lion

2014-07-09 Thread zyx
/FindFREETYPE.cmake. I do not have Mac, thus I was not able to test it there. Could you provide a patch for cmake/modules/FindFREETYPE.cmake, which would keep backward (other systems) compatibility and work out of the box for Mac too? Bye, zyx [1] http://sourceforge.net/p/podofo

Re: [Podofo-users] Compile problems

2014-07-09 Thread zyx
/CMakeFiles/CMakeError.log. That should give a hint. Bye, zyx -- http://www.litePDF.cz i...@litepdf.cz -- Open source business process management suite built on Java and Eclipse

Re: [Podofo-users] PoDoFo and Linearization

2014-07-27 Thread zyx
with this change or not. If you have any pointers or test linearized PDF, then I'll be happy to test it. The last resort would be to call that function only in case of the document being read as part of the incremental signing, aka hackish semi-solution. Bye, zyx [1] http

Re: [Podofo-users] PoDoFo and Linearization

2014-07-30 Thread zyx
and bye, zyx -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http

Re: [Podofo-users] DecodeParms, how to use?

2014-08-19 Thread zyx
I wrote above (not assigning to a variable) or by: const PdfDictionary dict = obj-GetDictionary(); if (dict.HasKey(...)) ... Hope it helps, zyx -- http://www.litePDF.cz i...@litepdf.cz

Re: [Podofo-users] DecodeParms, how to use?

2014-08-20 Thread zyx
of the stream. The PdfPredictorDecoder doesn't implement all predictors, thus it's possible that your stream is encoded in a way which PoDoFo cannot decode. Bye, zyx -- http://www.litePDF.cz i...@litepdf.cz

Re: [Podofo-users] EDIT Bug in PdfDate + FIx

2014-09-14 Thread zyx
recent version of PoDoFo. Bye, zyx [1] http://sourceforge.net/p/podofo/code/1661/tree/podofo/trunk/src/base/PdfDate.cpp#l145 -- Want excitement? Manually upgrade your production database. When you want

Re: [Podofo-users] [PATCH] Recognise OpenType and TTC fonts

2014-09-14 Thread zyx
, thanks for the patch. I committed it as r1663: http://sourceforge.net/p/podofo/code/1663 The next time, please provide patches as attachments. Mail agents can break the body, but usually not the attachments (I was not able to apply the patch from the mail). Thanks and bye, zyx

Re: [Podofo-users] [PATCH] Allow DrawGlyph to be used when not subsetting

2014-09-14 Thread zyx
, thanks for the patch. I committed it as r1664: http://sourceforge.net/p/podofo/code/1664 The next time, please provide patches as attachments. Mail agents can break the body, but usually not the attachments (I was not able to apply the patch from the mail). Thanks and bye, zyx

Re: [Podofo-users] Podofo enhanced support for *.ttc fonts

2014-09-14 Thread zyx
committed your patch (just replaced tabs with 4 spaces) ar r1662: http://sourceforge.net/p/podofo/code/1662 Bye, zyx -- http://www.litePDF.cz i...@litepdf.cz -- Want

Re: [Podofo-users] [PATCH] Allow DrawGlyph to be used when not subsetting

2014-09-21 Thread zyx
Dne 21.9.2014 16:13, Simon Cozens napsal(a): On 15/09/2014 02:27, zyx wrote: thanks for the patch. I committed it as r1664: http://sourceforge.net/p/podofo/code/1664 Thanks for this. There is still something wrong with PdfPainter::DrawGlyph but I am not sure how to fix it; in particular

Re: [Podofo-users] PdfPainter::DrawGlyph and GetObjects

2014-09-21 Thread zyx
data cannot be rewritten there). and is there a good reason why the return value of GetObjects is different in PdfMemDocument class? see above, looks like a bug/left-over from my point of view. Bye, zyx

Re: [Podofo-users] PdfFilteredDecodeStream ?

2014-09-21 Thread zyx
is the exact compiler/linker error? What is the compiler you use? Maybe it's a compiler's limitation. By the way, if you are trying to declare a new class of the same name in your project's sources, why do you pick such a complicated name for it? Bye, zyx

Re: [Podofo-users] How to reduce pdf document size?

2014-10-29 Thread zyx
Helvetica. The names of base 14 (standard) fonts can be found at the end of PdfFontFactoryBase14Data.h. Hope it helps, zyx -- http://www.litePDF.cz i...@litepdf.cz

Re: [Podofo-users] About PoDoFo DrawImage (was: Podofo-users Digest, Vol 100, Issue 3)

2014-11-11 Thread zyx
be drawn properly. That is, either use a negative height (and shift the top origin slightly towards bottom), or preppend a transformation matrix which will do the Y-flip for you before the draw of the image. Bye, zyx P.S.: Please do not reply to message digests, it breaks

Re: [Podofo-users] podofo not drawtext chinese please help me thankyous

2014-11-26 Thread zyx
to a more recent version, 0.9.3 ( http://podofo.sourceforge.net/download.html ). Hope it helps, zyx -- http://www.litePDF.cz i...@litepdf.cz -- Download BIRT iHub F-Type

Re: [Podofo-users] 转发:回复: podofo not drawtext chinese please help methankyous

2014-11-30 Thread zyx
on board. Bye, zyx -- http://www.litePDF.cz i...@litepdf.cz -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your

Re: [Podofo-users] Release 0.9.3, SVN revision

2015-01-18 Thread zyx
is the current development version, any distribution should not use it unless an official release is done. Bye, zyx P.S: I cannot speak about actual future release date or anything related, I'm only a regular user of PoDoFo

Re: [Podofo-users] PATCH for PdfXRefStreamParserObject.cpp (Repost)

2015-01-14 Thread zyx
the main obstacle. It's garbled due to white-spaces (even a tab replacement, which depends on the actual mail agent which would show the message body), indentation and line wrapping. Bye, zyx -- http://www.litePDF.cz i...@litepdf.cz

Re: [Podofo-users] compiling podofo manually?

2015-01-07 Thread zyx
the most efficient code, just turn on the compiler optimizations. Bye, zyx -- http://www.litePDF.cz i...@litepdf.cz -- Dive into the World of Parallel Programming! The Go

Re: [Podofo-users] copy pdf pages without xobjects wrapping?

2015-01-08 Thread zyx
, zyx [1] http://sourceforge.net/p/podofo/code/HEAD/tree/podofo/trunk/src/doc/PdfDocument.cpp#l369 -- http://www.litePDF.cz i...@litepdf.cz -- Dive into the World of Parallel

Re: [Podofo-users] compiling podofo manually?

2015-01-07 Thread zyx
, if I recall correctly. Bye, zyx -- http://www.litePDF.cz i...@litepdf.cz -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel

Re: [Podofo-users] patch for libdir

2015-03-24 Thread zyx
makes this a mess. Not that it's against your change, I'm only chasing for some details. Thanks and bye, zyx -- http://www.litePDF.cz i...@litepdf.cz -- Dive

Re: [Podofo-users] Patches

2015-03-05 Thread zyx
as r1668: http://sourceforge.net/p/podofo/code/1668 Patch 2 Fixes a NULL pointer de-ref on some badly formed PDFs Has been used in production since Sept 2014 Committed as r1669: http://sourceforge.net/p/podofo/code/1669 Bye, zyx -- http://www.litePDF.cz

Re: [Podofo-users] Patch for encryption

2015-04-28 Thread zyx
you have a look, please? Bye, zyx -- http://www.litePDF.cz i...@litepdf.cz #include stdio.h #include podofo.h using namespace PoDoFo; static void drawPage(PdfMemDocument *memDocument) { PODOFO_RAISE_LOGIC_IF (!memDocument, !memDocument); PdfFont

Re: [Podofo-users] Reg: Retrieve Bookmarks from PDF in PoDoFo

2015-05-12 Thread zyx
as: PdfDictionary dictionary = object-GetDictionary(); ? I added an '' before its name. And if you read from it only, then consider using a 'const' too. Bye, zyx -- http://www.litePDF.cz i...@litepdf.cz

Re: [Podofo-users] Get JP characters from PDF

2015-06-22 Thread zyx
. Does the code from the CreationTest.cpp work for you properly? There's used a different font as well. Bye, zyx -- http://www.litePDF.cz i...@litepdf.cz -- Monitor 25 network

Re: [Podofo-users] Get JP characters from PDF

2015-06-22 Thread zyx
into UTF-8, or use a different constructor of the PdfString (or simply PdfString::setFromWchar_t()). Bye, zyx [1] http://www.cplusplus.com/reference/string/wstring/ -- http://www.litePDF.cz i...@litepdf.cz

Re: [Podofo-users] Reading Named Destination Bookmark Title

2015-06-24 Thread zyx
and eventually (indirect) references. PoDoFo doesn't offer direct APIs for each thing which can be stored in a PDF file. Bye, zyx P.S.: This expresses just my personal opinion. -- http://www.litePDF.cz i...@litepdf.cz

Re: [Podofo-users] Get JP characters from PDF

2015-06-22 Thread zyx
second page bottom. Check what your editor made with the UTF-8 strings in the code, maybe it garbled the encoding in the file. In other words, focus on the encoding of the string itself. I'm not able to guide you more. Bye, zyx -- http://www.litePDF.cz

Re: [Podofo-users] Get JP characters from PDF

2015-06-22 Thread zyx
. If it'll work, then it's it, do convert whatever you want into UTF-8 first and then pass it to PoDoFo. I pointed you to a function in the previous email which does the job pretty well. Bye, zyx -- http://www.litePDF.cz i...@litepdf.cz

Re: [Podofo-users] Fwd: Podofo patch

2015-06-14 Thread zyx
: $ diff -up PdfIdentityEncoding.cpp.old PdfIdentityEncoding.cpp podofo.patch where the PdfIdentityEncoding.cpp.old is the file before your change. Thanks and bye, zyx -- http://www.litePDF.cz i...@litepdf.cz

Re: [Podofo-users] PDF file size is increasing after adding PdfFont

2015-06-17 Thread zyx
PdfDocument::EmbedSubsetFonts(). The subsetting affects only newly written text, as far as I know. To get even smaller PDF size do some font substitutions, like instead of Arial use Helvetica, one of the Base14 fonts, which are not added into the PDF usually. Bye, zyx -- http

Re: [Podofo-users] Patch for PdfImage Windows API

2015-07-05 Thread zyx
unused code. Hi, thanks for the patch. I committed your changes as revision 1674: http://sourceforge.net/p/podofo/code/1674 Bye, zyx -- http://www.litePDF.cz i...@litepdf.cz

Re: [Podofo-users] Reg: Support Required

2015-08-21 Thread zyx
doing that for you. I do not know, but I suppose (I think), that the first call reads the page structure and caches it for later use. Kind of lazy reading. But I neither debugged what the call does, nor read the sources. This is just my idea. Bye, zyx P.S.: Please pick one list

Re: [Podofo-users] Helloworld Runtime Crash

2015-08-17 Thread zyx
fault, it's just that it cannot execute it. I do not know why you use the sh command here, simple: ./helloworld out.pdf is enough and works here. Of course, the helloworld executable should have execute flag, which the g++ sets for you. Bye, zyx -- http://www.litePDF.cz

Re: [Podofo-users] Adding an owner password encryption prevents pdf document from being rendered correctly

2015-08-05 Thread zyx
possible the save garbled the content in some way. Check the source and the result PDF content, especially the affected image, what changed on them. It might be tricky due to encryption, thus maybe try only plain re-save in PoDoFo, without encryption. Bye, zyx -- http://www.litePDF.cz

  1   2   3   4   5   >