I found out how character changes from program source to print-out. ------------------------------------------ String in program source: "\u266c" this character is musical note symbol. CID code is 12100 (0x2F44)
PDF source created by iText .... (/D) Tj .... Print-out /D ------------------------------------------ I tried two computers and two PS printer and get the same result. > The registry keys don't matter if the font is embedded. The format of the > strings also doesn't matter. It would be interesting to know if other users > have used CFF japanese fonts in Postscript printers. > > ----- Original Message ----- > From: "chieko kumata" <[EMAIL PROTECTED]> > To: "Paulo Soares" <[EMAIL PROTECTED]>; > <[email protected]> > Sent: Saturday, November 12, 2005 12:36 PM > Subject: Re: [iText-questions] Re: How to get a Hex string in contentstream > > > > I am looking for workaround to PS Printer output > > problem of CFF-OpenType-font-embeded-PDF that > > I posted before. > > > > The problem is that PDF can be printed normally > > to GDI printer but printed to PS Printer gives > > an error message. > > > > I found one mistake of CIDSystemInfo created by > > TrueTypeUnicode class. > > It creates: > > /REGISTRY (Adobe) > > /ORDERING (Identity) > > /SUPPLEMENT 0 > > But it should be: (when use Japanese Font) > > /REGISTRY (Adobe) > > /ORDERING (Japan1) > > /SUPPLEMENT 2 or 3 or 4... > > > > I fixed this and there was no error, but I got > > new problem. > > English characters are printed with incorrect > > font and Japanese characters are not printed. > > > > Then I started to compare PDF created by iText > > with PDF created by Ilustrator + Distiller. > > > > There are several differences between two. > > Out of these differences, I became curious about > > content stream. This is lay opinion though. > > Ilustrator-Distiller produces Hex string content > > stream. > > This is why I posted my question. > > > > > > > > > Why would you want to do that? There's no difference between the two > kind of > > > strings in the content, they both work well. > > > > > > ----- Original Message ----- > > > From: "chieko kumata" <[EMAIL PROTECTED]> > > > To: <[email protected]> > > > Sent: Saturday, November 12, 2005 11:25 AM > > > Subject: [iText-questions] Re: How to get a Hex string in content stream > > > > > > > > >> Thank you Paulo > > >> > > >> But it seems that my poor English made you > > >> misunderstood my question. > > >> > > >> I ask again. > > >> > > >> I would like to create PDF with content described > > >> with Hex string. > > >> > > >> KuMi > > >> > > >> > > >> iText can't parse content streams. > > >> > > >> ----- Original Message ----- > > >> From: "chieko kumata" > > >> To: > > >> Sent: Saturday, November 12, 2005 9:06 AM > > >> Subject: [iText-questions] How to get a Hex string in content stream > > >> > > >> > > >>> Hello all > > >>> > > >>> I would like to know how to get a Hex string > > >>> in content stream in PDF source. > > >>> I know there is a setWritingMode method in > > >>> PdfString class, but I can't figure out where > > >>> and when to use the method. > > >>> > > >>> Thanks in advance. > > >>> > > >>> KuMi > > >> > > >> > > >> > > >> ------------------------------------------------------- > > >> SF.Net email is sponsored by: > > >> Tame your development challenges with Apache's Geronimo App Server. > > > Download > > >> it for free - -and be entered to win a 42" plasma tv or your very own > > >> Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > > >> _______________________________________________ > > >> iText-questions mailing list > > >> [email protected] > > >> https://lists.sourceforge.net/lists/listinfo/itext-questions > > > > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
