[Podofo-users] Font API on Apple

2016-02-17 Thread Peter Petrov
Hello! On Unix PoDoFo uses fontconfig. Unfortunately, starting from Mac OSX 10.9+ Apple avoided X11 subsystem (including fontconfig library). You can optionally install XQuartz package - http://www.xquartz.org But out from the box the modern Mac OSX (10.9+) doesn't

Re: [Podofo-users] Font API on Apple

2016-02-18 Thread Peter Petrov
On 18.02.2016 11:59, zyx wrote: > On Thu, 2016-02-18 at 10:55 +0300, Peter Petrov wrote: >> But out from the box the modern Mac OSX (10.9+) doesn't have >> fontconfig installed. > Hi, > fontconfig is an optional dependency, PoDoFo can be built without it. > Would th

Re: [Podofo-users] Font API on Apple

2016-02-18 Thread Peter Petrov
r font handling but that was removed a > while back when Apple dropped the Carbon support. > > Leonard > > > > > On 2/18/16, 6:45 AM, "zyx" <z...@litepdf.cz> wrote: > >> On Thu, 2016-02-18 at 13:18 +0300, Peter Petrov wrote: >>> Thank you for the quick ans

Re: [Podofo-users] Font API on Apple

2016-02-18 Thread Peter Petrov
Yes, you are right. Sorry. On 18.02.2016 17:04, Leonard Rosenthol wrote: > Are you sure? Last I checked FreeType was pre-installed on Mac OS X. > > > > > On 2/18/16, 7:43 AM, "Peter Petrov" <pe...@pdf3d.com> wrote: > >> I just would like to not

Re: [Podofo-users] Font API on Apple

2016-02-18 Thread Peter Petrov
On 18.02.2016 14:45, zyx wrote: > Hi, > it's freetype library, which is used for manipulation of fonts. My > Windows build doesn't have fontconfig, and it can embed "any" TTF font > provided by GDI. > > I think this is the case when it's better to try than to guess. Mac > builds can work

Re: [Podofo-users] Font API on Apple

2016-02-18 Thread Peter Petrov
s installed on Mac OSX by default. But libfontconfig is not installed. On 18.02.2016 17:32, Peter Petrov wrote: > On 18.02.2016 14:45, zyx wrote: >> Hi, >> it's freetype library, which is used for manipulation of fonts. My >> Windows build doesn't have fontconfig, and

[Podofo-users] podofosign compile errors under MSVC

2017-02-28 Thread Peter Petrov
Hello PoDoFo community! Revision 1830 gives compilation errors under MSVC 2015. This is because fseeko and ftello functions are missing. Instead of that MS proposes to use _fseeki64 and _ftelli64 functions. I've attached diff file. -- Cheers, Peter Index: tools/podofosign/podofosign.cpp

Re: [Podofo-users] podofosign compile errors under MSVC

2017-03-01 Thread Peter Petrov
+0300, Peter Petrov wrote: I've attached diff file. Hi, thanks for the patch. I missed that, due to fseeko()/ftello() being used in the code directly. I found that it's due to it being taken care of in src/base/PdfCompilerCompatPrivate.h in a slightly different way. I copied that part