I have a version (somewhere) that gets rid of Carbon, but still uses ATS (since
it was assumed to be running on Mac, not iOS).
How much of Poppler do you need? Could you simply comment out the support for
FreeType and still use all the other parts or are you using the text features
in Poppler?
Leonard
From: Matias Piipari [mailto:[email protected]]
Sent: Wednesday, September 15, 2010 7:52 AM
To: [email protected]
Subject: [Podofo-users] PoDoFo for iPhone: how to get rid of the ATS font
system?
Hi there
I've tried unsuccessfully to compile PoDoFo for the iPhone SDK. Looks like this
is due to problems with font loading in PdfFontMetrics.cpp. More specifically,
some Carbon legacy specific file reference structs are used (FSSpec -- easy to
replace), as well as the ATS font system. ATSFont.h is unfortunately not
available in the iPhone SDK (not on the device anyways -- it is on the
simulator). Leonard was suggesting in an earlier discussion (*) that he could
help with cleaning up the font code. Is the offer still on? :-) I'm all up for
suggestions on how to replace references to ATSFont.h with those defined in
CTFont.h (CoreText.framework) which is now supplied with the iPhone SDK 4.x.
Best wishes
Matias
- - - - - - - - - - -
Matias Piipari
http://twitter.com/mz2
http://www.thecosmokid.com
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users