Some time ago for a project I needed to generate PDF documents. Unfortunately, I’m stuck with a version of Xojo that doesn’t support everything I needed to create PDF documents. This is why I made a plugin which wrap libharu library (http://libharu.org) although this code is in an abandon state. I though it could be useful for some people. Beware this version is for the time being only compiled for OS X 64 and hasn’t documentation. Also included you’ll find some examples taken from the original C code and rewritten in Xojo. This should partially replace the lack of documentation. You can take also a look here : Home · libharu/libharu Wiki · GitHub. The method names of the Xojo classes match more or less to those found in the official documentation.You will notice that some functions have been translated to properties.
Be aware that this version is not final, has not been tested intensively and is probably far from a professional work. For the related project this is not really a problem. In case you need something professional I suggest you look at Björn or Christian plugins
Are there any system requirements beside the fact it only works for macOS 64-bit App? The demo project crashes on macOS 10.13.6 (64-bit with the following “error”:
Dyld Error Message:
Symbol not found: ____chkstk_darwin
Referenced from: /Users/USER/Downloads/*/xPDF Demo.debug.app/Contents/Frameworks/xPDF.dylib (which was built for Mac OS X 10.15)
Expected in: /usr/lib/libSystem.B.dylib
Thanks, works now. Can you please include a sample, how to use Emojis? There’s a DocPDF.UseUTFEncodings method. What does the method do? How to use it?