Hi all,

that old code in src/doc/PdfFontMetrics.cpp uses the MacOS X Carbon Resource 
Manager, which is
deprecated in MacOS X 10.8 as part of Carbon Core, subframework of Core 
Services. Please see:
https://developer.apple.com/library/content/releasenotes/General/CarbonCoreDeprecations/index.html#//apple_ref/doc/uid/TP40012224-CH1-SW28

What I don't know if it will still be found is the even older FSpOpenResFile, 
so some cleanup
may be required ... Yuriy, what MacOS X version are you using? I don't have a 
Mac, so can't test.

Best regards, mabri

Leonard Rosenthol <lrose...@adobe.com> has written on 9 April 2017 at 16:56:
> 
> That’s some VERY old code in there that I don’t think will even work on 
> modern versions of Mac OS…
> 
> Leonard
> 
> On 4/9/17, 7:41 AM, "zyx" <z...@litepdf.cz> wrote:
> 
> On Mon, 2017-04-03 at 16:36 +0300, Yuriy Pryyma wrote:
> 
> > Is there any patches that handle this?
> 
> Hi,
>  I'm not aware of anything myself. Looking for the usage of the
>  "snippet you provided", shows that it's used only if:
> 
> #if defined(__APPLE_CC__) && !defined(PODOFO_HAVE_FONTCONFIG) && 
> !defined(PODOFO_NO_FONTMANAGER)
> 
> Which can make the difference (as otherwise PoDoFo relies on font
>  config and manager, as the code suggests), but I do not use Apple,
>  thus this is only after a quick code reading.
>  Bye,
>  zyx
> 
> --
>  
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.litePDF.cz&data=02%7C01%7C%7C24895508319441db13fb08d47f3d8776%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636273349626572327&sdata=QpkHinYRgUH8QDwrClPE2dvXKdRWb4pcnNlEsl79VuQ%3D&reserved=0
>  i...@litepdf.cz
> 
> ------------------------------------------------------------------------------
>  Check out the vibrant tech community on one of the world's most
>  engaging tech sites, Slashdot.org! 
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsdm.link%2Fslashdot&data=02%7C01%7C%7C24895508319441db13fb08d47f3d8776%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636273349626572327&sdata=IAOMFvFCRcC3VUM1SjQwEyfiJbbhN5bENN1SCA1eWLc%3D&reserved=0
> 
> _______________________________________________
>  Podofo-users mailing list
>  Podofo-users@lists.sourceforge.net
>  
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fpodofo-users&data=02%7C01%7C%7C24895508319441db13fb08d47f3d8776%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636273349626572327&sdata=6Ng%2FXIVwOg6Yk798Jza6AexsKkWMF5cK9cRlOxxSyYs%3D&reserved=0
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> 
> _______________________________________________
> Podofo-users mailing list
> Podofo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/podofo-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to