Re: [Podofo-users] cppunit 1.14 requires C++11, but PoDoFo enforces C++98

2017-07-31 Thread Mattia Rizzolo
On Mon, Jul 31, 2017 at 05:33:21PM +0200, zyx wrote: > it's not. Well, the current development version doesn't do that: > http://sourceforge.net/p/podofo/code/1826 ahah, cool then :) -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540

Re: [Podofo-users] cppunit 1.14 requires C++11, but PoDoFo enforces C++98

2017-07-31 Thread Matthew Brincke
Hi all, > Mattia Rizzolo wrote on 31 July 2017 at 16:38: > > cppunit 1.14 requires C++11, causing PoDoFo build (when built with the > tests enabled) to fail with > > [ 60%] Building CXX object > test/unit/CMakeFiles/podofo-test.dir/ColorTest.cpp.o ... command line containing -std=c++98 option s

Re: [Podofo-users] cppunit 1.14 requires C++11, but PoDoFo enforces C++98

2017-07-31 Thread zyx
On Mon, 2017-07-31 at 16:38 +0200, Mattia Rizzolo wrote: > TTBOMK the only solution is to build with c++11, but is PoDoFo ready > for it? Why is CMakeLists.txt injecting -std=c++98? Hi, it's not. Well, the current development version doesn't do that: http://sourceforge.net/p/podofo/code/1

[Podofo-users] cppunit 1.14 requires C++11, but PoDoFo enforces C++98

2017-07-31 Thread Mattia Rizzolo
cppunit 1.14 requires C++11, cauing PoDoFo build (when built with the tests enabled) to fail with [ 60%] Building CXX object test/unit/CMakeFiles/podofo-test.dir/ColorTest.cpp.o cd /build/1st/libpodofo-0.9.5/obj-arm-linux-gnueabihf/test/unit && /usr/bin/c++ -I/build/1st/libpodofo-0.9.5/obj-arm-

Re: [Podofo-users] Fix issue in GetMultiLineTextAsLines()

2017-07-31 Thread zyx
On Mon, 2017-07-31 at 09:15 +, Jaseem Ali K T wrote: > What about adding one more parameter to the arguments to decide > whether lines should be allowed start with whitespaces(or trailing > whitespaces should be skipped)? Hi, yes, that was my point. If you want to provide additional in

Re: [Podofo-users] Fix issue in GetMultiLineTextAsLines()

2017-07-31 Thread Jaseem Ali K T
Hi Thanks for your comments <<> It is not just about the whitespace. The point is that width of line is more than rectangle width. So if you draw multiline text with left alignment, the left most letter(not whitespace) would be slightly cut. Now about removing whitespace from end of line. If

Re: [Podofo-users] Include lib

2017-07-31 Thread zyx
On Sun, 2017-07-30 at 16:48 +0200, Matthew Brincke wrote: > give it libpodofo.dll > (with full path name to where it's located) as library to link. Hi, well, you cannot link against a .dll file, you cannot use it as an argument for the linker. When compiling the .dll you get a .lib file w

Re: [Podofo-users] Fix issue in GetMultiLineTextAsLines()

2017-07-31 Thread zyx
On Fri, 2017-07-28 at 20:59 +, Jaseem Ali K T wrote: > For this case GetMultiLineTextAsLines() will push string1+" " to > first line. But its width is more than text area width, which is > wrong. Hi, it's a white space, and as such invisible (the most strikeout or underline fonts can

Re: [Podofo-users] Does Podofo support full unicode UTF-8

2017-07-31 Thread zyx
Hi, On Fri, 2017-07-28 at 10:33 +0700, Giaosucan wrote: > 1. Does Podofo support full Unicode UTF-8? yes. > 2. It support Japanese right ?? yes, as long as the font you use provides the glyphs. See: https://sourceforge.net/p/podofo/code/HEAD/tree/podofo/trunk/test/CreationTest/CreationT

Re: [Podofo-users] Need a precompiled version of Podofo for 32bit and 64bit windows along with linux

2017-07-31 Thread zyx
On Mon, 2017-07-24 at 06:40 +, Shubham Jain wrote: > I am from Cadence Design Systems, Inc. I need your library for > windows and linux along with the header files. I need it urgently. Hi, there is no such thing provided by the PoDoFo project. Get the sources and compile it yourself, l