The compile issue had to do with values from limits.h being used but not
included in two files.  I broke the testing of 0.9.4 to a very basic test
and got the same results I had with 0.9.3.  For all practical purposes,
the ePdfWriteMode_Clean enum is being ignored.  I tested using
the podofotxt2pdf tool.  I changed the document creation line as shown
below.  That is the exact same initialization being used in my program.


# podofotxt2pdf.cpp init()
//PdfStreamedDocument doc( pszOutput );
PdfStreamedDocument doc(pszOutput, ePdfVersion_1_4, NULL,
ePdfWriteMode_Clean);



On Mon, Aug 8, 2016 at 5:02 PM, Robert Goley <rago...@rdasys.com> wrote:

> Having trouble loading 0.9.4 on the Ubuntu 12.04 build environment.  I am
> getting the error below.  Build using:
>
> cd podofo-0.9.4
> mkdir build
> cd build
> cmake -DCMAKE_INSTALL_PREFIX=/usr/local  ../
> make
>
>
> PdfMemoryManagement.cpp:133:16: error: ‘SIZE_MAX’ was not declared in
> this scope
>
> On Sat, Aug 6, 2016 at 7:27 AM, Dominik Seichter <
> domseich...@googlemail.com> wrote:
>
>> Hi Robert,
>>
>> Does this still happen using the latest release 0.9.4?
>>
>> Best regards,
>>  Dominik
>>
>> On Fri, Aug 5, 2016 at 10:43 PM, Robert Goley <rago...@rdasys.com> wrote:
>>
>>> Looking deeper at the code, this appears to be a bug. I am setting
>>> ePdfWriteMode_Clean when creating the pdf document but it is ignoring it
>>> and behaving as if ePdfWriteMode_Compact was set instead.  This is with
>>> PoDoFo version 0.9.3.
>>>
>>> On Thu, Aug 4, 2016 at 5:03 PM, Robert Goley <rago...@rdasys.com> wrote:
>>>
>>>> I am adding lines of text to a PDF using multiple calls
>>>> to painter.DrawText(vars.textx,vars.texty,vars.string).  The
>>>> vars.string is a line of text that useually includes spaces.  However, when
>>>> this PDF is viewed and the text is highlighted, there are gaps is the
>>>> highlighting.  If the copy and paste option is used, the spaces are not
>>>> preserved.  Previous PDF tools did not do that.  What options do I need to
>>>> set so that the painter will not strip out space characters?  This is
>>>> import because some of the uses require fixed width font spacing.
>>>>
>>>
>>>
>>> ------------------------------------------------------------
>>> ------------------
>>>
>>> _______________________________________________
>>> Podofo-users mailing list
>>> Podofo-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/podofo-users
>>>
>>>
>>
>
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to