I want to retract this as a bug with podofo.  This is a misunderstanding of
the ePdfWriteMode_Compact / ePdfWriteMode_Clean usage as well as a PDF
reader defect.  I assumed that ePdfWriteMode_Clean would allow spaces to be
stored in a PDF file and later copy&pasted to something resembling plain
text.  The text was being stored in the PDF file properly by podofo.  It
was not being read or copied properly from acrobat reader to the
clipboard.  It would collapse multiple spaces into just one breaking all
fixed width font line formatting.  This happened with all viewers I tried
except for Firefox.  Same issue the one described below for itext.



http://stackoverflow.com/questions/35699167/double-space-not-being-preserved-in-pdf

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