It's possible to include symbol fonts. Send me privately the font and a
small runnable program using the font.

Best Regards,
Paulo Soares

> -----Original Message-----
> From: Peter Soelter [SMTP:[EMAIL PROTECTED]
> Sent: Wednesday, September 10, 2003 16:29
> To:   [EMAIL PROTECTED]
> Subject:      RE: [iText-questions] wrong fontname generated at embedding
> text
> 
> Hello everybody,
> I have a problem similar to that of Tamakoshi Hiroki.
> I try to create a PDF with an embedded font. The only implemented
> encoding of this font is "Symbol Character Set".
> 
> It's a TTF - Font  that seems to be identical to the "Symbol.ttf" - Font 
> from Windows when I look at the font properties with 
> "Microsoft Font Properties Extension" (the included symbols are different,
> 
> of course).
> 
> I can't find out, which encoding string to use in the 
> method BaseFont.createFont().
> All encodings implemented in iText - Basefont don't seem to 
> work (WINANSI, CP1252 etc.).
> 
> The PDF is generated in Version 1.4. Acrobat reader says it 
> can't extract the font with a name composed from the random string 
> and the fonts name.
> 
> I have no idea any more, even after looking at the PDF-spec.
> Is it possible to embed a symbol-like font with iText?
> 
> Thanks in advance,
> Peter
> 
> 
> 
> > Thank you very much, paulo.
> > I'll read the PDF reference.
> > sorry for my wrong estimation.
> > 
> > best regards.
> > 
> > > -----Original Message-----
> > > From: Paulo Soares [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, September 10, 2003 7:15 PM
> > > To: '??'; [EMAIL PROTECTED]
> > > Subject: RE: [iText-questions] wrong fontname generated at embedding
> > > text
> > >
> > >
> > > iText does the right thing. If you want explanations read the PDF
> > > reference
> > > in the fonts chapter.
> > > Your particular problem is that your document was generated for
> > > Acrobat 3.0
> > > and this version does not support TrueType fonts with Identity-H. If
> you
> > > change the encoding to winansi it will work. If you want it to work
> > > regardless of the original pdf version use:
> > >
> > > PdfStamper stamper = new PdfStamper(originalPDF, os,
> > > PdfWriter.VERSION_1_4);
> > >
> > > to bump up the version.
> > >
> > > Best Regards,
> > > Paulo Soares
> > >
> > > > -----Original Message-----
> > > > From:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]
> > > > Sent:   Wednesday, September 10, 2003 10:59
> > > > To:     Paulo Soares; [EMAIL PROTECTED]
> > > > Subject:        RE: [iText-questions] wrong fontname generated at
> embedding
> > > > text
> > > >
> > > > My question is:
> > > >
> > > > 1. Why the prefix of the font name is randomly generated?
> > > > 2. or, why itext generates random prefix, which must not be
> > neccessary.
> > > >
> > > > I embedded texts with the comic font, not with randomly
> > > generated prefix +
> > > > comic font.
> > > >
> > > > > -----Original Message-----
> > > > > From: Paulo Soares [mailto:[EMAIL PROTECTED]
> > > > > Sent: Wednesday, September 10, 2003 6:51 PM
> > > > > To: '??'; [EMAIL PROTECTED]
> > > > > Subject: RE: [iText-questions] wrong fontname generated at
> embedding
> > > > > text
> > > > >
> > > > >
> > > > > Doesn't it work? The subset prefix (the AEGVPX+ part) is randomly
> > > > > generated
> > > > > as it should otherwise you wouldn't be able to insert pages
> > > in Acrobat.
> > > > >
> > > > > Best Regards,
> > > > > Paulo Soares
> > > > >
> > > > > > -----Original Message-----
> > > > > > From:       [EMAIL PROTECTED]
> [SMTP:[EMAIL PROTECTED]
> > > > > > Sent:       Wednesday, September 10, 2003 10:02
> > > > > > To: [EMAIL PROTECTED]
> > > > > > Subject:    [iText-questions] wrong fontname generated
> > > at embedding text
> > > > > >
> > > > > > Some PDFs cannot be dealed with itext-1.00.
> > > > > >
> > > > > > Attached stamper.java is a simple program to embed text into an
> > > > existing
> > > > > > PDF.
> > > > > > If attached test0910.pdf is processed by the program, the
> > > > > embedded text is
> > > > > > rendered by
> > > > > > AEGVPX+ComicSansMS font.
> > > > > >
> > > > > > The part 'AEGVPX+' is differ from processing to processing.
> > > > > > This may be a bug of itext.
> > > > > >
> > > > > > best regards.
> > > > > >
> > > > > > --
> > > > > > Tamakoshi Hiroki, Planet Computer, Inc.
> > > > > > $B6L1[(B $BBg51(B    $B!J3t!K%W%i%M%C%H%3%s%T%e!<%?(B
> > > > > >
> >
> $B")(B113-0033$B!!El5~ETJ85~6hK\6?(B4-2-5$B!!(BMA$B%S%k(B5F$B!JEl
> 5~%*%U%#%9!K(B
> > > > > > TEL:03-5840-6233  FAX:03-5840-6234
> > > > > >
> $B")([EMAIL PROTECTED],8);0Eg;TIgMVBf#1CzL\#6HV#2#29f!JK\<R!K(B
> > > > > > TEL:0559-99-0133  FAX:0559-99-0122
> > > > > > mailto:[EMAIL PROTECTED], http://www.planetcomp.com/ <<
> > File:
> > > > > > stamper.java >>  << File: test0910.pdf >>
> > 
> > 
> > 
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > iText-questions mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/itext-questions
> > 
> 
> -- 
> COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
> --------------------------------------------------
> 1. GMX TopMail - Platz 1 und Testsieger!
> 2. GMX ProMail - Platz 2 und Preis-Qualit�tssieger!
> 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8.
> e-Post
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to