PDF files created on iPad dont display correctly on Windows

Posted by user286028 on Stack Overflow See other posts from Stack Overflow or by user286028
Published on 2010-04-07T02:32:18Z Indexed on 2010/04/07 3:23 UTC
Read the original article Hit count: 538

Filed under:
|
|
|

My iPhone app creates PDF files (in Arial font). The plain iPhone 3.1.x version works great (other than the known issue that PDFs created on the iPhone cant be viewed correctly in Google Docs or the BlackBerry).

As I am updating my project for OS 3.2 and the iPad, it works just the same, and the PDFs still look great on the iPhone, iPad and MacOS (Preview app). But now on Windows (Vista), Acrobat 9.3.1 says "Cannot extract the embedded font 'XYZABC+ArialMT'. Some characters may not display or print correctly".

And in fact Acrobat then uses some generic font instead of Arial (or whatever other font I try).

Quartz 3.2 seems to generate these "random" embedded font names each time it creates a PDF (the XYZABC changes around each time). I can't tell whether the problem is just the somewhat strange "temporary" embedded font name with the plus sign, or the way Quartz 3.2 is embedding fonts.

I have tried my existing code (using CGPDFContext* funtions), and also the newly supported UIGraphics* functions, with the same results.

Has anyone else tried creating PDFs on the iPad yet and gotten them to display correctly on Windows?

© Stack Overflow or respective owner

Related posts about ipad

Related posts about fonts