Re: Unable to generate a PDF from textual data
Re: Unable to generate a PDF from textual data
- Subject: Re: Unable to generate a PDF from textual data
- From: "Michael Ash" <email@hidden>
- Date: Sat, 15 Nov 2008 00:34:44 -0500
On Fri, Nov 14, 2008 at 3:34 PM, Lee, Frederick (Ric)
<email@hidden> wrote:
> Thanks from a neophyte.
> Yes...
> I had hoped that I could 'magically' create a PDF from a text string.
> I noticed that you can select 'text' from a PDF document. I thought you
> could likewise create a PDF from text (NSString).
Well you certainly can create a PDF from text, just not with a single
text-to-PDF call like you were trying to do. The trick is that there's
not a single obvious way to convert text to PDF. PDF allows a lot of
choices in terms of page size, font, layout, and other decisions, and
you have to make those decisions when creating the PDF.
> BTW: My client wanted to render text as a PDF on his iPhone.
That seems like an odd choice. The nature of PDF (no ability to reflow
text, fixed page size) is such that it's a rather poor fit for the
iPhone. HTML would make a lot more sense to me, at least.
Mike
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden