Re: [iText-questions] Custom Chinese font file

2007-06-29 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Leonard Rosenthol > Sent: Friday, June 29, 2007 5:14 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] Custom Chinese font file > > Ac

Re: [iText-questions] Custom Chinese font file

2007-06-29 Thread Leonard Rosenthol
Actually, embedding is BETTER for Identity-H... Leonard On Jun 29, 2007, at 9:03 AM, remgeo wrote: > > But isnt it true that if I use the encoding BaseFont.IDENTITY_H, > the font > will not be embedded even if I tell it to embed the font.. > > Thanks, Remgeo > > > > Leonard Rosenthol wrote: >>

Re: [iText-questions] Custom Chinese font file

2007-06-29 Thread Paulo Soares
gt; To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Custom Chinese font file > > > So, Paulo, > Is there some criteria that I can give to my clients to say > what TT fonts > are possible? > > Thanks, Rema > > > > Paulo Soares wrote:

Re: [iText-questions] Custom Chinese font file

2007-06-29 Thread remgeo
gt;> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On >> Behalf Of remgeo >> Sent: Friday, June 29, 2007 3:32 PM >> To: itext-questions@lists.sourceforge.net >> Subject: Re: [iText-questions] Custom Chinese font file >&

Re: [iText-questions] Custom Chinese font file

2007-06-29 Thread Paulo Soares
gt; To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Custom Chinese font file > > > Hi Paulo, > > But this IS a true type font, isnt it. It has a TTF extension.. > > Thanks, Rema > > > > > > > > > > Paulo Soar

Re: [iText-questions] Custom Chinese font file

2007-06-29 Thread remgeo
[EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On >> Behalf Of remgeo >> Sent: Friday, June 29, 2007 2:02 PM >> To: itext-questions@lists.sourceforge.net >> Subject: Re: [iText-questions] Custom Chinese font file >> >> >> Hi Paulo, >>

Re: [iText-questions] Custom Chinese font file

2007-06-29 Thread Paulo Soares
.net > Subject: Re: [iText-questions] Custom Chinese font file > > > Hi Paulo, > > I've attached the font file I am using. > http://www.nabble.com/file/p11359847/HDZB_27.TTF HDZB_27.TTF > > Here's the code > BaseFont bfComic = > BaseFont.create

Re: [iText-questions] Custom Chinese font file

2007-06-29 Thread remgeo
But isnt it true that if I use the encoding BaseFont.IDENTITY_H, the font will not be embedded even if I tell it to embed the font.. Thanks, Remgeo Leonard Rosenthol wrote: > > I would also recommend that you embed the font, since it is a custom > font and some/most/all of the recipients o

Re: [iText-questions] Custom Chinese font file

2007-06-29 Thread remgeo
nt for inspection. > > Paulo > >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On >> Behalf Of remgeo >> Sent: Friday, June 29, 2007 11:49 AM >> To: itext-questions@lists.sourceforge.net >> Subject: [iText-

Re: [iText-questions] Custom Chinese font file

2007-06-29 Thread Leonard Rosenthol
I would also recommend that you embed the font, since it is a custom font and some/most/all of the recipients of the PDF won't have it. Leonard On Jun 29, 2007, at 6:49 AM, remgeo wrote: > > Hello, > > I am trying to use a custom font file to display Chinese characters. > This is how I am crea

Re: [iText-questions] Custom Chinese font file

2007-06-29 Thread Paulo Soares
o: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Custom Chinese font file > > > Hello, > > I am trying to use a custom font file to display Chinese characters. > This is how I am creating the font. > > BaseFont bfComic = > BaseFont.createFont("c:

[iText-questions] Custom Chinese font file

2007-06-29 Thread remgeo
Hello, I am trying to use a custom font file to display Chinese characters. This is how I am creating the font. BaseFont bfComic = BaseFont.createFont("c:\\windows\\fonts\\HDZB_86.TTF", BaseFont.IDENTITY_H, BaseFont.NOT_EMBEDDED); String text1 = "\u6F22\u9F0E\u7E41\u7425\u73C0"; But in the P