PDF files created on iPad do not display correctly on Windows

My iPhone application creates PDF files (in Arial font). The simple version of iPhone 3.1.x works fine (except for the well-known problem that PDF files created on iPhone cannot be properly viewed in Google Docs or on BlackBerry).

Since I am updating my project for OS 3.2 and iPad, it works the same way, and PDF files still look great on iPhone, iPad, and Mac OS X (Preview app). But now on Windows (Vista), Acrobat 9.3.1 says, "Cannot extract the built-in font" XYZABC + ArialMT. "Some characters may not be displayed or printed correctly."

And in fact, Acrobat then uses some common font instead of Arial (or any other font I'm trying).

Quartz 3.2 seems to generate these “random” embedded font names each time it creates a PDF file (XYZABC changes each time). I can’t say if the problem is simply a bit of a weird “temporary” embedded font name with a plus sign or a way to include Quartz 3.2 fonts.

I tried my existing code (using functions CGPDFContext*), as well as newly supported functions UIGraphics*with the same results.

How can PDF files be created on iPad to display correctly on Windows?

+5
source share
4 answers

: iOS 4.2 Apple , ; PDF , Quartz iOS, . , iOS 4.2 .

Adobe Reader , , PDF. , : http://blog.nomzit.com/2010/08/18/annoying-bug-in-quartz-pdfcontext-font-handling/

, Adobe Reader , .

Apple

+3

Foxit Reader PDF Windows Adobe Reader. .

+1

, Windows (, Helvetica). PDF , Quartz, , Adobe Reader , PDF . iPhone/iPad , , - , PDF , .

In all the cases that I encountered, it was decided if the user installed Helvetica (or any other missing font) on his Windows machine, after which the PDF files will display correctly.

0
source

All Articles