Thank you very much, paulo.
(BI'll read the PDF reference.
(Bsorry for my wrong estimation.
(B
(Bbest regards.
(B
(B> -----Original Message-----
(B> From: Paulo Soares [mailto:[EMAIL PROTECTED]
(B> Sent: Wednesday, September 10, 2003 7:15 PM
(B> To: '??'; [EMAIL PROTECTED]
(B> Subject: RE: [iText-questions] wrong fontname generated at embedding
(B> text
(B>
(B>
(B> iText does the right thing. If you want explanations read the PDF
(B> reference
(B> in the fonts chapter.
(B> Your particular problem is that your document was generated for
(B> Acrobat 3.0
(B> and this version does not support TrueType fonts with Identity-H. If you
(B> change the encoding to winansi it will work. If you want it to work
(B> regardless of the original pdf version use:
(B>
(B> PdfStamper stamper = new PdfStamper(originalPDF, os,
(B> PdfWriter.VERSION_1_4);
(B>
(B> to bump up the version.
(B>
(B> Best Regards,
(B> Paulo Soares
(B>
(B> > -----Original Message-----
(B> > From:       [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]
(B> > Sent:       Wednesday, September 10, 2003 10:59
(B> > To: Paulo Soares; [EMAIL PROTECTED]
(B> > Subject:    RE: [iText-questions] wrong fontname generated at embedding
(B> > text
(B> >
(B> > My question is:
(B> >
(B> > 1. Why the prefix of the font name is randomly generated?
(B> > 2. or, why itext generates random prefix, which must not be neccessary.
(B> >
(B> > I embedded texts with the comic font, not with randomly
(B> generated prefix +
(B> > comic font.
(B> >
(B> > > -----Original Message-----
(B> > > From: Paulo Soares [mailto:[EMAIL PROTECTED]
(B> > > Sent: Wednesday, September 10, 2003 6:51 PM
(B> > > To: '??'; [EMAIL PROTECTED]
(B> > > Subject: RE: [iText-questions] wrong fontname generated at embedding
(B> > > text
(B> > >
(B> > >
(B> > > Doesn't it work? The subset prefix (the AEGVPX+ part) is randomly
(B> > > generated
(B> > > as it should otherwise you wouldn't be able to insert pages
(B> in Acrobat.
(B> > >
(B> > > Best Regards,
(B> > > Paulo Soares
(B> > >
(B> > > > -----Original Message-----
(B> > > > From:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]
(B> > > > Sent:   Wednesday, September 10, 2003 10:02
(B> > > > To:     [EMAIL PROTECTED]
(B> > > > Subject:        [iText-questions] wrong fontname generated
(B> at embedding text
(B> > > >
(B> > > > Some PDFs cannot be dealed with itext-1.00.
(B> > > >
(B> > > > Attached stamper.java is a simple program to embed text into an
(B> > existing
(B> > > > PDF.
(B> > > > If attached test0910.pdf is processed by the program, the
(B> > > embedded text is
(B> > > > rendered by
(B> > > > AEGVPX+ComicSansMS font.
(B> > > >
(B> > > > The part 'AEGVPX+' is differ from processing to processing.
(B> > > > This may be a bug of itext.
(B> > > >
(B> > > > best regards.
(B> > > >
(B> > > > --
(B> > > > Tamakoshi Hiroki, Planet Computer, Inc.
(B> > > > $B6L1[(B $BBg51(B    $B!J3t!K%W%i%M%C%H%3%s%T%e!<%?(B
(B> > > > $B")(B113-0033$B!!El5~ETJ85~6hK\6?(B4-2-5$B!!(BMA$B%S%k(B5F$B!JEl5~%*%U%#%9!K(B
(B> > > > TEL:03-5840-6233  FAX:03-5840-6234
(B> > > > $B")([EMAIL PROTECTED],8);0Eg;TIgMVBf#1CzL\#6HV#2#29f!JK\mailto:[EMAIL PROTECTED], http://www.planetcomp.com/ << File:
(B> > > > stamper.java >>  << File: test0910.pdf >>
(B
(B
(B
(B-------------------------------------------------------
(BThis sf.net email is sponsored by:ThinkGeek
(BWelcome to geek heaven.
(Bhttp://thinkgeek.com/sf
(B_______________________________________________
(BiText-questions mailing list
(B[EMAIL PROTECTED]
(Bhttps://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to