Well, this is a very common problem. If the pdf has embedded fonts, many
software can not extract the font correctly - especially if the embedded
font has custom encoding.
I am interested in a solution for changing the font of the pdf document as
well, programatically.
The only solution I found, is to use pdflib TET, to extract word based - or
glyph based info from the pdf, and use itext to form, a new, restructured
pdf document. depending on the detail of the original pdf your milage might
vary.
Best.
On Mon, Jun 2, 2008 at 11:19 AM, Kathy Lo <[EMAIL PROTECTED]> wrote:
> 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
> >
>
>
> --
> 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
>
-------------------------------------------------------------------------
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