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

2014-06-18 Thread zyx
On Tue, 2014-06-17 at 16:38 -0500, Dennis Jenkins wrote:
 I found your notes in the SVN commit messages.  DrawRect() is now 
 Rectangle() followed by Stroke() (although in my existing 
 reports, I did not need to call Stroke, I added the call anyway, per 
 your notes.)
  
 My project now compiles cleanly with podofo rev 1642, and my PDFs 
 appear ok so far.
  
 I suppose that I was expecting to see some sort of organized release 
 notes giving a brief mention to the API change details, instead of 
 hey, I changed stuff and merged it into trunk!.  :)  In any event, 
 I wish to thank you for your contributions.  Now that I have read 
 your notes, your rationales make sense.  I was just frustrated that 
 it broke my own project.  But I'm good now.

Hi,
that's correct, I wrote detailed description of changes into commit 
messages only. There are no release notes, simply because there is no 
release of these changes yet. Trunk is not a release, trunk is a 
development version of the code, an unstable codebase which will be 
released once the changes settle. That's also the reason why the 
online doxygen still lists the removed functions, it's still relevant 
for the latest release, PoDoFo 0.9.2.

I mean, once the release will be done, the API changes being done 
should be described in the release notes, just as you/all expect, the 
best with a description how to migrate existing code (in my case copy 
of the commit messages should do it).

I also agree with you, API changes are horrible, sometimes even 
deprecation of functions, though I hope those I did are for good 
reason. The drawing API allows more freedom now - you just define the 
path and then Stroke, Fill or StrokeAndFill (the last it in one call, 
not in two with path redefinition).

Bye,
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 Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users


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

2014-06-17 Thread Dennis Jenkins
 lib/report/ReportBaseClass-pdf.cpp:58:15: error: 'const class

  PoDoFo::PdfError' has no member named 'what'
  ._txt (err.what());
 ^

 Hi,
 the above is caused by change of the PdfError class, it doesn't
 inherit from std::exception anymore.



Why was this done?



  lib/report/state/Generic-SUTA-pdf.cpp: In member function 'double
 Report_Generic_SUTA::_pdf_rpt_header(PoDoFo::PdfMemDocument*,
 PoDoFo::PdfPainter, double) const':
  lib/report/state/Generic-SUTA-pdf.cpp:182:7: error: 'class
 PoDoFo::PdfPainter' has no member named 'DrawRect'
pntr.DrawRect (x1, y, w1, h1, r1, r1);
 ^
 
  lib/pdf/pdf-tools.cpp: In function 'void
 pdf_setAppearanceStreamCheckBox(PoDoFo::PdfCheckBox*)':
  lib/pdf/pdf-tools.cpp:113:10: error: 'class PoDoFo::PdfPainter' has no
 member named 'FillRect'
painter.FillRect (0, xObjOff.GetPageSize().GetHeight(),
 xObjOff.GetPageSize().GetWidth(), xObjOff.GetPageSize().GetHeight());
^

 Caused by drawing API change.


What was the rationale for removing DrawRect() and FillRect()?  This change
breaks existing, working, code.

What code should I replace those with?
--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems___
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users


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

2014-06-17 Thread Dennis Jenkins


  lib/report/state/Generic-SUTA-pdf.cpp: In member function 'double
 Report_Generic_SUTA::_pdf_rpt_header(PoDoFo::PdfMemDocument*,
 PoDoFo::PdfPainter, double) const':
  lib/report/state/Generic-SUTA-pdf.cpp:182:7: error: 'class
 PoDoFo::PdfPainter' has no member named 'DrawRect'
pntr.DrawRect (x1, y, w1, h1, r1, r1);
 ^
 
  lib/pdf/pdf-tools.cpp: In function 'void
 pdf_setAppearanceStreamCheckBox(PoDoFo::PdfCheckBox*)':
  lib/pdf/pdf-tools.cpp:113:10: error: 'class PoDoFo::PdfPainter' has no
 member named 'FillRect'
painter.FillRect (0, xObjOff.GetPageSize().GetHeight(),
 xObjOff.GetPageSize().GetWidth(), xObjOff.GetPageSize().GetHeight());
^

 Caused by drawing API change.


 What was the rationale for removing DrawRect() and FillRect()?  This
 change breaks existing, working, code.

 What code should I replace those with?


I changed calls to DrawRect to Rectangle, and calls to FillRect to
Rectangle followed by Fill().  If this was the incorrect solution,
please let me know.

Maybe I missed the release notes, but this API change was frustrating.

ps- the online doxygen still lists the older API.
http://podofo.sourceforge.net/doc/html/classPoDoFo_1_1PdfPainter.html
(FillRect() still listed).
--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems___
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users


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

2014-06-17 Thread Dennis Jenkins
On Tue, Jun 17, 2014 at 4:29 PM, Dennis Jenkins dennis.jenkins...@gmail.com
 wrote:




 Caused by drawing API change.


 What was the rationale for removing DrawRect() and FillRect()?  This
 change breaks existing, working, code.

 What code should I replace those with?


 I changed calls to DrawRect to Rectangle, and calls to FillRect to
 Rectangle followed by Fill().  If this was the incorrect solution,
 please let me know.

 Maybe I missed the release notes, but this API change was frustrating.



I found your notes in the SVN commit messages.  DrawRect() is now
Rectangle() followed by Stroke() (although in my existing reports, I
did not need to call Stroke, I added the call anyway, per your notes.)

My project now compiles cleanly with podofo rev 1642, and my PDFs appear ok
so far.

I suppose that I was expecting to see some sort of organized release notes
giving a brief mention to the API change details, instead of hey, I
changed stuff and merged it into trunk!.  :)  In any event, I wish to
thank you for your contributions.  Now that I have read your notes, your
rationales make sense.  I was just frustrated that it broke my own
project.  But I'm good now.
--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems___
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users


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

2014-06-16 Thread zyx
On Sun, 2014-06-15 at 21:44 -0500, Dennis Jenkins wrote:
 SVN REV 1640 build log:
  
 Linking CXX executable CreationTest
 CMakeFiles/CreationTest.dir/CreationTest.cpp.o: In function 
 `CreateUnicodeAnnotationFreeText(PoDoFo::PdfPage*, 
 PoDoFo::PdfDocument*)':
 CreationTest.cpp:(.text+0x409): undefined reference to 
 `PoDoFo::PdfDocument::CreateFont(char const*, bool, 

Hi,
it seems to me that you link against old PoDoFo.lib. Please try
make clean, or even wipe out your 'build' folder and regenerate it
from scratch (I use cmake -G Unix Makefiles $PATH_TO_PODOFO_CHECKOUT).

I tested 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


--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users


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

2014-06-16 Thread Dennis Jenkins
Well, never mind.  I just did a 100% fresh checkout of podofo (v1640), and
it builds fine.  So make clean does not make it as clean as I expected.

Code from my project (which simply uses podofo) now fails to compile.  I am
in the middle of other development work, so I am going to revert to podofo
svn rev 1600, and port my code to the new podofo later.  However, I suspect
that others will grumble about the API breakage...

There are four errors listed below.  The first indicates to me that the
method PdfDocument::CreateFont(specific args) is declared in the header
file, but not implemented.  I have not verified this hypothesis.  The other
three build errors are attempts to call methods that were declared in the
rev 1600 podofo API, but have since disappeared.


/home/djenkins/code/capybara/t1/tools/pdf-dump.cpp:100: undefined reference
to `PoDoFo::PdfDocument::CreateFont(char const*, bool, PoDoFo::PdfEncoding
const*, PoDoFo::PdfFontCache::EFontCreationFlags, bool)'
collect2: error: ld returned 1 exit status
make: *** [output/pdf-dump] Error 1


lib/report/ReportBaseClass-pdf.cpp:58:15: error: 'const class
PoDoFo::PdfError' has no member named 'what'
._txt (err.what());
   ^

lib/report/state/Generic-SUTA-pdf.cpp: In member function 'double
Report_Generic_SUTA::_pdf_rpt_header(PoDoFo::PdfMemDocument*,
PoDoFo::PdfPainter, double) const':
lib/report/state/Generic-SUTA-pdf.cpp:182:7: error: 'class
PoDoFo::PdfPainter' has no member named 'DrawRect'
  pntr.DrawRect (x1, y, w1, h1, r1, r1);
   ^

lib/pdf/pdf-tools.cpp: In function 'void
pdf_setAppearanceStreamCheckBox(PoDoFo::PdfCheckBox*)':
lib/pdf/pdf-tools.cpp:113:10: error: 'class PoDoFo::PdfPainter' has no
member named 'FillRect'
  painter.FillRect (0, xObjOff.GetPageSize().GetHeight(),
xObjOff.GetPageSize().GetWidth(), xObjOff.GetPageSize().GetHeight());
  ^




On Sun, Jun 15, 2014 at 9:44 PM, Dennis Jenkins dennis.jenkins...@gmail.com
 wrote:

 SVN rev 1640 fails to build on my 64-bit Gentoo Linux system (building
 from SVN src, not from Gentoo portage).

 Until this evening, I was using SVN rev 1600.  When 1640 failed to build
 for me, I began a binary search to narrow down when the build first
 failed.  SVN rev 1612 builds for me, but with lots of warnings.  Rev 1613
 fails with some errors, but not like the errors, nor the amount of errors,
 as seen in the 1640 rev build.

 Please let me know if I can help you further.

 My testing methodology:

 djenkins@ostara ~/src/podofo/podofo-head $ svn info . | grep ^URL
 URL: http://svn.code.sf.net/p/podofo/code/podofo/trunk

 djenkins@ostara ~/src/podofo/podofo-head $ svn up -r 1613

 djenkins@ostara ~/src/podofo/podofo-head $ make clean  cmake .  make
 -j4 all test



 SVN REV 1640 build log:

 Linking CXX executable CreationTest
 CMakeFiles/CreationTest.dir/CreationTest.cpp.o: In function
 `CreateUnicodeAnnotationFreeText(PoDoFo::PdfPage*, PoDoFo::PdfDocument*)':
 CreationTest.cpp:(.text+0x409): undefined reference to
 `PoDoFo::PdfDocument::CreateFont(char const*, bool, PoDoFo::PdfEncoding
 const*, PoDoFo::PdfFontCache::EFontCreationFlags, bool)'
 CMakeFiles/CreationTest.dir/CreationTest.cpp.o: In function
 `LineTest(PoDoFo::PdfPainter*, PoDoFo::PdfPage*, PoDoFo::PdfDocument*)':
 CreationTest.cpp:(.text+0xc76): undefined reference to
 `PoDoFo::PdfDocument::CreateFont(char const*, bool, bool, bool,
 PoDoFo::PdfEncoding const*, PoDoFo::PdfFontCache::EFontCreationFlags, bool,
 char const*)'
 CreationTest.cpp:(.text+0xd33): undefined reference to
 `PoDoFo::PdfString::PdfString(wchar_t const*, long)'
 CreationTest.cpp:(.text+0xda6): undefined reference to
 `PoDoFo::PdfString::PdfString(wchar_t const*, long)'
 CreationTest.cpp:(.text+0xe95): undefined reference to
 `PoDoFo::PdfPainter::Rectangle(double, double, double, double, double,
 double)'
 CreationTest.cpp:(.text+0xffa): undefined reference to
 `PoDoFo::PdfDocument::CreateFont(char const*, bool, bool, bool,
 PoDoFo::PdfEncoding const*, PoDoFo::PdfFontCache::EFontCreationFlags, bool,
 char const*)'
 CreationTest.cpp:(.text+0x127a): undefined reference to
 `PoDoFo::PdfDocument::CreateFont(char const*, bool, bool, bool,
 PoDoFo::PdfEncoding const*, PoDoFo::PdfFontCache::EFontCreationFlags, bool,
 char const*)'
 CreationTest.cpp:(.text+0x1510): undefined reference to
 `PoDoFo::PdfPainter::SetStrokeStyle(PoDoFo::EPdfStrokeStyle, char const*,
 bool, double, bool)'
 CreationTest.cpp:(.text+0x15af): undefined reference to
 `PoDoFo::PdfPainter::SetStrokeStyle(PoDoFo::EPdfStrokeStyle, char const*,
 bool, double, bool)'
 CreationTest.cpp:(.text+0x164e): undefined reference to
 `PoDoFo::PdfPainter::SetStrokeStyle(PoDoFo::EPdfStrokeStyle, char const*,
 bool, double, bool)'
 CreationTest.cpp:(.text+0x16ed): undefined reference to
 `PoDoFo::PdfPainter::SetStrokeStyle(PoDoFo::EPdfStrokeStyle, char const*,
 bool, double, bool)'
 CreationTest.cpp:(.text+0x178c): undefined reference to
 `PoDoFo::PdfPainter::SetStrokeStyle(PoDoFo::EPdfStrokeStyle, 

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

2014-06-16 Thread zyx
On Mon, 2014-06-16 at 11:00 -0500, Dennis Jenkins wrote:
 
/home/djenkins/code/capybara/t1/tools/pdf-dump.cpp:100: undefined 
 reference to `PoDoFo::PdfDocument::CreateFont(char const*, bool, 
 PoDoFo::PdfEncoding const*, 
 PoDoFo::PdfFontCache::EFontCreationFlags, bool)'
 collect2: error: ld 
 returned 1 exit status
 make: *** [output/pdf-dump] Error 1

This one is new to me. The CreateFont API was changed, it contains 
'bIsSymbol' bool now, to be set to 'true' when the font contains 
symbol characters, rather than, well, latin characters (inaccurate 
name, I'm sorry).
 lib/report/ReportBaseClass-pdf.cpp:58:15: error: 'const class 
 PoDoFo::PdfError' has no member named 'what'
 ._txt (err.what());
^

Hi,
the above is caused by change of the PdfError class, it doesn't 
inherit from std::exception anymore.


 lib/report/state/Generic-SUTA-pdf.cpp: In member function 'double 
 Report_Generic_SUTA::_pdf_rpt_header(PoDoFo::PdfMemDocument*, 
 PoDoFo::PdfPainter, double) const':
 lib/report/state/Generic-SUTA-pdf.cpp:182:7: error: 'class 
 PoDoFo::PdfPainter' has no member named 'DrawRect'
   pntr.DrawRect (x1, y, w1, h1, r1, r1);
^
  
 lib/pdf/pdf-tools.cpp: In function 'void 
 pdf_setAppearanceStreamCheckBox(PoDoFo::PdfCheckBox*)':
 lib/pdf/pdf-tools.cpp:113:10: error: 'class PoDoFo::PdfPainter' has no member 
 named 'FillRect'
   painter.FillRect (0, xObjOff.GetPageSize().GetHeight(), 
 xObjOff.GetPageSize().GetWidth(), xObjOff.GetPageSize().GetHeight());
   ^

Caused by drawing API change.

Bye,
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 Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users


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, it 
ends at revision 1639. The zyx_integration branch is dead now.

I'll give the trunk some testing during the next week, then I'd guess 
it'll be ready for the 0.9.3 release. Any pre-release testing of the 
svn trunk [1] will be appreciated.
Bye,
zyx

[1] A svn command to get latest trunk code of PoDoFo is:
    $ svn co https://svn.code.sf.net/p/podofo/code/podofo/trunk podofo-trunk


-- 
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 Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users


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

2014-06-15 Thread Dennis Jenkins
SVN rev 1640 fails to build on my 64-bit Gentoo Linux system (building from
SVN src, not from Gentoo portage).

Until this evening, I was using SVN rev 1600.  When 1640 failed to build
for me, I began a binary search to narrow down when the build first
failed.  SVN rev 1612 builds for me, but with lots of warnings.  Rev 1613
fails with some errors, but not like the errors, nor the amount of errors,
as seen in the 1640 rev build.

Please let me know if I can help you further.

My testing methodology:

djenkins@ostara ~/src/podofo/podofo-head $ svn info . | grep ^URL
URL: http://svn.code.sf.net/p/podofo/code/podofo/trunk

djenkins@ostara ~/src/podofo/podofo-head $ svn up -r 1613

djenkins@ostara ~/src/podofo/podofo-head $ make clean  cmake .  make
-j4 all test



SVN REV 1640 build log:

Linking CXX executable CreationTest
CMakeFiles/CreationTest.dir/CreationTest.cpp.o: In function
`CreateUnicodeAnnotationFreeText(PoDoFo::PdfPage*, PoDoFo::PdfDocument*)':
CreationTest.cpp:(.text+0x409): undefined reference to
`PoDoFo::PdfDocument::CreateFont(char const*, bool, PoDoFo::PdfEncoding
const*, PoDoFo::PdfFontCache::EFontCreationFlags, bool)'
CMakeFiles/CreationTest.dir/CreationTest.cpp.o: In function
`LineTest(PoDoFo::PdfPainter*, PoDoFo::PdfPage*, PoDoFo::PdfDocument*)':
CreationTest.cpp:(.text+0xc76): undefined reference to
`PoDoFo::PdfDocument::CreateFont(char const*, bool, bool, bool,
PoDoFo::PdfEncoding const*, PoDoFo::PdfFontCache::EFontCreationFlags, bool,
char const*)'
CreationTest.cpp:(.text+0xd33): undefined reference to
`PoDoFo::PdfString::PdfString(wchar_t const*, long)'
CreationTest.cpp:(.text+0xda6): undefined reference to
`PoDoFo::PdfString::PdfString(wchar_t const*, long)'
CreationTest.cpp:(.text+0xe95): undefined reference to
`PoDoFo::PdfPainter::Rectangle(double, double, double, double, double,
double)'
CreationTest.cpp:(.text+0xffa): undefined reference to
`PoDoFo::PdfDocument::CreateFont(char const*, bool, bool, bool,
PoDoFo::PdfEncoding const*, PoDoFo::PdfFontCache::EFontCreationFlags, bool,
char const*)'
CreationTest.cpp:(.text+0x127a): undefined reference to
`PoDoFo::PdfDocument::CreateFont(char const*, bool, bool, bool,
PoDoFo::PdfEncoding const*, PoDoFo::PdfFontCache::EFontCreationFlags, bool,
char const*)'
CreationTest.cpp:(.text+0x1510): undefined reference to
`PoDoFo::PdfPainter::SetStrokeStyle(PoDoFo::EPdfStrokeStyle, char const*,
bool, double, bool)'
CreationTest.cpp:(.text+0x15af): undefined reference to
`PoDoFo::PdfPainter::SetStrokeStyle(PoDoFo::EPdfStrokeStyle, char const*,
bool, double, bool)'
CreationTest.cpp:(.text+0x164e): undefined reference to
`PoDoFo::PdfPainter::SetStrokeStyle(PoDoFo::EPdfStrokeStyle, char const*,
bool, double, bool)'
CreationTest.cpp:(.text+0x16ed): undefined reference to
`PoDoFo::PdfPainter::SetStrokeStyle(PoDoFo::EPdfStrokeStyle, char const*,
bool, double, bool)'
CreationTest.cpp:(.text+0x178c): undefined reference to
`PoDoFo::PdfPainter::SetStrokeStyle(PoDoFo::EPdfStrokeStyle, char const*,
bool, double, bool)'
CMakeFiles/CreationTest.dir/CreationTest.cpp.o:CreationTest.cpp:(.text+0x182b):
more undefined references to
`PoDoFo::PdfPainter::SetStrokeStyle(PoDoFo::EPdfStrokeStyle, char const*,
bool, double, bool)' follow
CMakeFiles/CreationTest.dir/CreationTest.cpp.o: In function
`RectTest(PoDoFo::PdfPainter*, PoDoFo::PdfPage*, PoDoFo::PdfDocument*)':
CreationTest.cpp:(.text+0x1ac9): undefined reference to
`PoDoFo::PdfDocument::CreateFont(char const*, bool, PoDoFo::PdfEncoding
const*, PoDoFo::PdfFontCache::EFontCreationFlags, bool)'
CreationTest.cpp:(.text+0x1c7e): undefined reference to
`PoDoFo::PdfPainter::Rectangle(double, double, double, double, double,
double)'
CreationTest.cpp:(.text+0x1dff): undefined reference to
`PoDoFo::PdfPainter::Rectangle(double, double, double, double, double,
double)'
CreationTest.cpp:(.text+0x1efb): undefined reference to
`PoDoFo::PdfPainter::Rectangle(double, double, double, double, double,
double)'
CreationTest.cpp:(.text+0x1fe9): undefined reference to
`PoDoFo::PdfPainter::Rectangle(double, double, double, double, double,
double)'
CreationTest.cpp:(.text+0x2100): undefined reference to
`PoDoFo::PdfPainter::Rectangle(double, double, double, double, double,
double)'
CreationTest.cpp:(.text+0x2114): undefined reference to
`PoDoFo::PdfPainter::FillAndStroke(bool)'
CreationTest.cpp:(.text+0x2224): undefined reference to
`PoDoFo::PdfPainter::Rectangle(double, double, double, double, double,
double)'
CreationTest.cpp:(.text+0x2238): undefined reference to
`PoDoFo::PdfPainter::FillAndStroke(bool)'
CreationTest.cpp:(.text+0x23d4): undefined reference to
`PoDoFo::PdfPainter::Fill(bool)'
CMakeFiles/CreationTest.dir/CreationTest.cpp.o: In function
`TextTest(PoDoFo::PdfPainter*, PoDoFo::PdfPage*, PoDoFo::PdfDocument*)':
CreationTest.cpp:(.text+0x2614): undefined reference to
`PoDoFo::PdfDocument::CreateFont(char const*, bool, PoDoFo::PdfEncoding
const*, PoDoFo::PdfFontCache::EFontCreationFlags, bool)'

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

2014-06-05 Thread Palmer Zent
Hi zyx,

I am working on a small patch that adds partial support for Type3 fonts (it 
will at least be usable for text searching features). It should be ready by the 
beginning of next week. Is it okay with you if I commit it then or is it going 
to mess up your merge?

-- 
Palmer Zent

On June 5, 2014 at 11:18:42 AM, zyx (z...@litepdf.cz) wrote:

Hello all,  
I'd like to give a heads-up that I'll be merging changes from  
zyx_integration branch, which are also changing drawing API - to get  
more freedom when drawing. I will skip the change which hid inline  
functions from headers, because it was not accepted.  

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).  

I hope we get test results from OS X meanwhile, whether the current  
trunk builds properly there. If I'm not mistaken, then that's the last  
thing which should be done 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 O'Reilly Book  
Graph Databases is the definitive new guide to graph databases and their  
applications. Written by three acclaimed leaders in the field,  
this first edition is now available. Download your free book today!  
http://p.sf.net/sfu/NeoTech  
___  
Podofo-users mailing list  
Podofo-users@lists.sourceforge.net  
https://lists.sourceforge.net/lists/listinfo/podofo-users  
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech___
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users


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

2014-06-05 Thread zyx
On Thu, 2014-06-05 at 11:28 -0400, Palmer Zent wrote:
 It should be ready by the beginning of next week. Is it okay with you
 if I commit it then or is it going to mess up your merge?

Hi,
I cannot tell for sure, I changed many things, also around fonts. You
can see the changes in the zyx_integration branch and check the files
you touch whether they are changed in a way which would cause trouble.
The branch is available in podofo's svn, under
   podofo/branches/_dev/zyx_integration

By the way, I plan to merge the changes commit by commit. It'll make
more sense, also because 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 new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users


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

2014-06-05 Thread Leonard Rosenthol
Is the set of changes easily reviewable?

On 6/5/14, 11:17 AM, zyx z...@litepdf.cz wrote:

   Hello all,
I'd like to give a heads-up that I'll be merging changes from
zyx_integration branch, which are also changing drawing API - to get
more freedom when drawing. I will skip the change which hid inline
functions from headers, because it was not accepted.

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).

I hope we get test results from OS X meanwhile, whether the current
trunk builds properly there. If I'm not mistaken, then that's the last
thing which should be done 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 O'Reilly Book
Graph Databases is the definitive new guide to graph databases and
their 
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users


--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users


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

2014-06-05 Thread zyx
On Fri, 2014-06-06 at 01:11 +, Leonard Rosenthol wrote:
 Is the set of changes easily reviewable?

Hi,
I guess so. As I said, it's in the branch:
   podofo/branches/_dev/zyx_integration
If it was not understood, then it is in SourceForge's svn. The changes
start at commit 1526 [1]. You 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://svn.code.sf.net/p/podofo/code/podofo/branches/_dev/zyx_integration

-- 
http://www.litePDF.cz i...@litepdf.cz


--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users