On Nov 8, 2007, at 7:30 AM, Bryce Lohr wrote:


Rick Gigger wrote:
The PDF renderer needs to map the text it is trying to render to an available font. Unfortunately none of the standard PDF fonts are unicode fonts. So if you want to be able to actually put unicode text in and have it understood then you have to (if I am reading the spec correctly) embed the unicode font right into the PDF . Licensing issues aside entire unicode fonts are about 10-20 Mb. Most of the PDFs I generate are under 50 Kb so that's certainly not going to work. So what I am left with is to determine the language of each block of text and convert it to a local encoding that the PDF spec will happily accept. That seems a little tricky.
I'm no PDF expert, but for some reason I thought you could embed partial fonts. Meaning, you would only have to embed the glyphs you actually used in the document. Seemingly, you could do that with the Unicode font to drastically bring down the size requirement.

Oh yeah. That is one other possibility. So that just leaves the problem of how to do that. :) I think I will investigate that options as well.

Reply via email to