By Date: <-- -->
By Thread: <-- -->

Storing a PdfContentByte state ?



Mark Storer wrote:

Poking around in the PDF Reference I don't see anything specifically stating that text state commands like 'Tf' (aka setFontAndSize()) are illegal outside BT/ET.

No, it's not illegal, but I prefer my text operators inside a text block.
It helps if you want to debug a PDF page by reading the content stream ;-)
Of course if you have different text blocks, you could define the font and size
up front, outside a BT/ET sequence.
br,
Bruno



------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ iText-questions mailing list iText-questions (at) lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions