PdfContentByte.createGraphicsShapes() does exactly that. All the drawString is internally converted to TextLayout.draw.
Best Regards, Paulo Soares > -----Original Message----- > From: Yishai Steinhart [SMTP:[EMAIL PROTECTED] > Sent: Monday, August 04, 2003 18:09 > To: [EMAIL PROTECTED] > Subject: RE: [iText-questions] FW: Hebrew support > > Ok. Here is another thing I found that might help anyone with the same > problem. > > You will get this problem when you draw your text using g.drawString > (string, x, y) > > It will work fine if you draw your text using layout.draw((g, x, y); > The second option will produce jaggy text. However, the resolution is > there, > and as you zoom in the PDF you'll see the text getting better. It will > print > nice on a printer. > > > -Yishai > > > > > -----Original Message----- > > From: Paulo Soares [mailto:[EMAIL PROTECTED] > > Sent: Saturday, August 02, 2003 2:27 AM > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > > Subject: Re: [iText-questions] FW: Hebrew support > > > > > > Create the Graphics2D with PdfContentByte.createGraphicsShapes(). The > text > > is converted to shapes but it's the only way to make it work. > > > > Best Regards, > > Paulo Soares > > > > ----- Original Message ----- > > From: "Yishai Steinhart" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, August 01, 2003 17:54 > > Subject: [iText-questions] FW: Hebrew support > > > > > > > > > > Hi > > > > > > I try to create a document that use Hebrew text. I use the > PdfGraphics2D > > > class to draw my text into. All roman text shows well. Hebrew text is > > > dropped. This will happen if I use a Roman font (like Ariel) or a > Hebrew > > > font. Any ideas? > > > > > > Thanks > > > > > > -Yishai > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > > Data Reports, E-commerce, Portals, and Forums are available now. > > > Download today and enter to win an XBOX or Visual Studio .NET. > > > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 > > > /01 > > > _______________________________________________ > > > iText-questions mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/itext-questions > > > > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/0 > 1 > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
