----- Original Message ----- 
From: "Brian McKeever" <[EMAIL PROTECTED]>
To: "Post all your questions about iText here" 
<[email protected]>
Sent: Monday, April 02, 2007 6:19 PM
Subject: Re: [iText-questions] Generating 'Enhanced' PDF from 
Image-basedPDFs using iText


>> > Now what I am attempting to
>> > do is to read each word and its coordinate from the  text file and
>> > place that particular word in the image-based PDF document at the
>> > location specified by the coordinates of that word.
>
>> Yes, what you are doing is the right way to approach the problem.
>> Using direct content to place text (be sure to use Render Mode 3, and
>> place it BEHIND the image) and then add whatever else you want.
>
> I am trying to do something similar, and have gotten it working fine
> for English text.  However, I have to add international support
> (specifically CJK and Arabic).  Since none of the base 14 fonts cover
> these characters (right?) I believe I have to embed a unicode font.
> But, since I'm not interested in actually rendering the characters (as
> they are behind the image), it seems like I could avoid embedding an
> entire font (like arialuni) -- this would be desirable as the font
> seems to add about 65kb to the size of every pdf.  As I figure it, the
> only properties of the font that I require are the encoding and the
> width information.
>
> Can I avoid embedding a large font?  Or is there better way to go about 
> this?

It's in my to-do list to implement unicode fonts without embedding but I 
don't know if or when it will be done.

Paulo 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to