Hey Andreas, 2011/7/10 Andreas Baumann <abaum...@yahoo.com>: > With wt 3.1.10 I get a: > > wt-3.1.10/src/Wt/WPdfImage.C: In constructor 'Wt::WPdfImage::WPdfImage(const > Wt::WLength&, const Wt::WLength&, Wt::WObject*)': > wt-3.1.10/src/Wt/WPdfImage.C:74:30: / error: 'HPDF_UseUTFEncodings' was not > declared in this scope > make[2]: *** [src/CMakeFiles/wt.dir/Wt/WPdfImage.o] Error 1 > > As I see it, the API test there is wrong: > > -#if HPDF_VERSION_ID>=20200 > +#if HPDF_VERSION_ID>=20300 > if (trueTypeFonts_) > HPDF_UseUTFEncodings(pdf_); > #endif > > libharu has a HPDF_UseUTFEncodings in upcoming unrelease libharu 2.3.0, but > not in 2.2.1 yet.
Oops. I will need to figure out how that slipped through our build test ... If your are planning to use WPdfImage for anything but ASCII text, I would recommend to get the unicode libharu (my branch on github). Regards, koen ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest