I don't know what dtSearch means by "Unicode file" (a latin winansi is not Unicode either) but "MSung-Light" with "UniCNS-UCS2-H" encoding fully determines the character position in the Unicode Table. In other words, dtSearch was lazy and didn't implement what they should have. If you're stuck with them it all depends on what they expect. A simple addition of a ToUnicode cmap may be enough or not. If it's not enough you'll have to change the content stream and that's a lot of very very specialized work that can't be explained in a mailing list.
Paulo ----- Original Message ----- From: "Kathy Lo" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" <[email protected]> Sent: Monday, June 02, 2008 9:19 AM Subject: Re: [iText-questions] How to change font encoding in existing PDF >I already checked with dtSearch that their engine can only index > Unicode file. And, our system already uses dtSearch engine so we want > to change the encoding of PDF instead of changing the engine. > > On 6/2/08, Paulo Soares <[EMAIL PROTECTED]> wrote: >> I think that you should first ask dtSearch why they don't support those >> PDFs. >> >> Paulo >> >> ----- Original Message ----- >> From: "Kathy Lo" <[EMAIL PROTECTED]> >> To: <[email protected]> >> Sent: Monday, June 02, 2008 3:00 AM >> Subject: [iText-questions] How to change font encoding in existing PDF >> >> >> > Dear all, >> > >> > I use iText to generate PDF file with traditional Chinese character >> > using "MSung-Light" in "UniCNS-UCS2-H" encoding provided in iTextAsian >> > Java package. >> > >> > But, I found that I cannot use dtSearch engine to index this kind of >> > Chinese character. >> > >> > Then, I found that if I use "MS Gothic" TrueType font with >> > "Identity-H" encoding, the search engine can index this kind of >> > Chinese character. >> > >> > So, now, I want to change "MSung-Light" font to "MS Gothic" font in >> > the PDF file generated before. >> > >> > How can I do? >> > >> > -- >> > Kathy Lo ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Do you like iText? Buy the iText book: http://www.1t3xt.com/docs/book.php Or leave a tip: https://tipit.to/itexttipjar
