Re: svg/PDFGraphics2D.java between version 1.7 and 1.8

2001-07-10 Thread Thieler Jens
Thanks for your help Keiron. I've been mistaken. There had been no break in functionality between version 1.7 and 1.8. My previous test cases just didn't include text. Unfortunately, there is still an error message, though it's now the Acrobat Reader that is complaining about font problems. (The

Re: svg/PDFGraphics2D.java between version 1.7 and 1.8

2001-07-09 Thread Keiron Liddle
It should be setup up properly now, providing you specify textAsShapes to be false. On Mon, 09 Jul 2001 09:53:07 Thieler Jens wrote: > I wanted to export a Java Graphics2D component to PDF > and did something like this: > >PDFDocumentGraphics2D pdfGenerator = > new PDFDocumentGraphics

Re: svg/PDFGraphics2D.java between version 1.7 and 1.8

2001-07-09 Thread Thieler Jens
I wanted to export a Java Graphics2D component to PDF and did something like this: PDFDocumentGraphics2D pdfGenerator = new PDFDocumentGraphics2D(true, stream, (int)width, (int)height); pdfGenerator.setSVGDimension(w, h); ((Graphics2D)pdfGenerator).setClip(0, 0, (int)width, (int)he

Re: svg/PDFGraphics2D.java between version 1.7 and 1.8

2001-07-09 Thread Keiron Liddle
On Fri, 06 Jul 2001 15:30:59 Thieler Jens wrote: > Hi, > > I'm a great fan of org.apache.svg.PDFTranscoder > or rather > org.apache.svg.PDFDocumentGraphics2D. > > PDFDocumentGraphics2D initializes with >super(textAsShapes) > > So the FontState in the superclass PDFGraphics2D > is not initi

svg/PDFGraphics2D.java between version 1.7 and 1.8

2001-07-06 Thread Thieler Jens
Hi, I'm a great fan of org.apache.svg.PDFTranscoder or rather org.apache.svg.PDFDocumentGraphics2D. PDFDocumentGraphics2D initializes with super(textAsShapes) So the FontState in the superclass PDFGraphics2D is not initialized. After the augmentation of method PDFGraphics2D.drawString(...)