Re: embedded font for PCL

2006-04-28 Thread Camilakill
://www.nabble.com/embedded-font-for-PCL-t1511151.html#a4140284 Sent from the FOP - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: embedded font for PCL

2006-04-28 Thread Jeremias Maerki
You can't use PSGraphics2D like that. PSGraphics2D is for use in an externally set up PS document. What you need is PSDocumentGraphics2D. There is also an EPSDocumentGraphics2D which can be used to create EPS files. For that, an example exists: http://svn.apache.org/viewcvs.cgi/xmlgraphics/commons/

Re: embedded font for PCL

2006-04-28 Thread Camilakill
;, Font.PLAIN, 18); psG2d.setFont(title); psG2d.drawString("camila testing again",1,1); psG2d.dispose(); out.close(); cheers, Camila -- View this message in context: http://www.nabble.com/embedded-font-for-PCL-t1511151.html#a413

Re: embedded font for PCL

2006-04-27 Thread Jeremias Maerki
On 27.04.2006 12:08:59 Camilakill wrote: > > alright! So, in my case, it's not going to work because I need TureType > fonts! > I will come back to the "image approach"!!! Except if you decide to implement TrueType font embedding for PostScript and send a patch. :-) > I've instaled the FOP 0.92

Re: embedded font for PCL

2006-04-27 Thread Camilakill
ave to create images dinamically, it would be a piece of work to store it and identify unically the files etc. -- View this message in context: http://www.nabble.com/embedded-font-for-PCL-t1511151.html#a4118171 Sent from the FOP - Users

Re: embedded font for PCL

2006-04-27 Thread Jeremias Maerki
FOP 0.92beta supports embedding of Type 1 fonts, but not TrueType fonts, for PostScript output. FOP 0.20.5 doesn't support font embedding for PostScript output. More info: http://xmlgraphics.apache.org/fop/0.92/fonts.html#embedding On 27.04.2006 10:51:34 Camilakill wrote: > I was wondering if the

Re: embedded font for PCL

2006-04-27 Thread Camilakill
edded-font-for-PCL-t1511151.html#a4116966 Sent from the FOP - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: embedded font for PCL

2006-04-27 Thread Jeremias Maerki
Uhm, no I actually won't fix it. It's in FOP 0.20.5 after all. :-) On 27.04.2006 09:06:38 Jeremias Maerki wrote: > Hmm, level "INFO" for this message is probably overkill. It simply says > that normally JAI (another image library) is usually preferred over the > older Jimi library. I'll fix that a

Re: embedded font for PCL

2006-04-27 Thread Jeremias Maerki
Hmm, level "INFO" for this message is probably overkill. It simply says that normally JAI (another image library) is usually preferred over the older Jimi library. I'll fix that and you can just ignore this. On 26.04.2006 16:50:17 Camilakill wrote: > > I installed Jimi!! And now it worked. Thanks

Re: embedded font for PCL

2006-04-26 Thread Camilakill
I installed Jimi!! And now it worked. Thanks! But why is it logging this: [INFO] JAI support was not installed (read: not present at build time). Trying to use Jimi instead -- View this message in context: http://www.nabble.com/embedded-font-for-PCL-t1511151.html#a4102746 Sent from the FOP

Re: embedded font for PCL

2006-04-26 Thread Jeremias Maerki
On 26.04.2006 16:20:50 Chris Bowditch wrote: > Camilakill wrote: > > > I now tested it using png and it doesn't work. > > > > [ERROR] Error while creating area : Error creating FopImage object > > (file:C:/Project/D42/workspace/FOPProject/xml/image/img.png) : Jimi image > > library not available

Re: embedded font for PCL

2006-04-26 Thread Camilakill
alright! As long as I find out a way of converting a bufferedImage to bmp I will be happy! Do you know how I can do that? Thanks a lot! -- View this message in context: http://www.nabble.com/embedded-font-for-PCL-t1511151.html#a4102248 Sent from the FOP - Users forum at Nabble.com

Re: embedded font for PCL

2006-04-26 Thread Chris Bowditch
Camilakill wrote: I now tested it using png and it doesn't work. [ERROR] Error while creating area : Error creating FopImage object (file:C:/Project/D42/workspace/FOPProject/xml/image/img.png) : Jimi image library not available It works with bmp... I am trying to find out how I convert a Buffe

Re: embedded font for PCL

2006-04-26 Thread Camilakill
o bmp. any clue? Thanks, Camila -- View this message in context: http://www.nabble.com/embedded-font-for-PCL-t1511151.html#a4101905 Sent from the FOP - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: embedded font for PCL

2006-04-26 Thread Jeremias Maerki
Well, the easiest is probably to write out a temporary PNG file (since you already have a bitmap you're satisfied with) and use that with 0.20.5 with the wrapper FO. The approach I would take would be to use JPS to print directly. On 26.04.2006 15:05:48 Camilakill wrote: > > No problem!! > > S

Re: embedded font for PCL

2006-04-26 Thread Camilakill
No problem!! So, what do you reckon I should do? Cheers, camila -- View this message in context: http://www.nabble.com/embedded-font-for-PCL-t1511151.html#a4100875 Sent from the FOP - Users forum at Nabble.com. - To

Re: embedded font for PCL

2006-04-26 Thread Jeremias Maerki
Grr, again I forgot something: No PCL Renderer in FOP 0.92beta! :-( I'm currently writing it but it's not ready, yet. I'm sorry to have sent you on the wrong track! On 26.04.2006 14:53:06 Camilakill wrote: > > Ok I am downloading the 0.92beta version. > > Do you have any code example using this

Re: embedded font for PCL

2006-04-26 Thread Camilakill
Ok I am downloading the 0.92beta version. Do you have any code example using this URIResolver? Cheers, Camila -- View this message in context: http://www.nabble.com/embedded-font-for-PCL-t1511151.html#a4100689 Sent from the FOP - Users forum at Nabble.com

Re: embedded font for PCL

2006-04-26 Thread Jeremias Maerki
Uhm, I should have thought about that earlier. FOP is not able to decompress the JPEG image. Not even FOP 0.92beta can do that. It is supposed to be embedded as is in the target format which PCL cannot do. You'll need to save to PNG or TIFF instead of JPEG. On 26.04.2006 14:32:50 Camilakill wrote:

Re: embedded font for PCL

2006-04-26 Thread Jeremias Maerki
On 26.04.2006 14:10:59 Camilakill wrote: > > The problem is that I am not doing client-side printer.. I am actually > sending the file to a LPD proxy via Socket. You can do that with JPS, too, if you set up the printer in your operating system. > The other thing is that I am not saving the imag

Re: embedded font for PCL

2006-04-26 Thread Camilakill
ion: 707 at org.apache.fop.render.pcl.PCLRenderer.printBMP(PCLRenderer.java:390) at org.apache.fop.render.pcl.PCLRenderer.renderImageArea(PCLRenderer.java:465) .. Do you know what I might be doing wrong? Thanks, Camila -- View this message in context: http://www.nabble.com/embedded-

Re: embedded font for PCL

2006-04-26 Thread Camilakill
! Camila -- View this message in context: http://www.nabble.com/embedded-font-for-PCL-t1511151.html#a4100084 Sent from the FOP - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: embedded font for PCL

2006-04-26 Thread Jeremias Maerki
Maybe you can have that a lot simpler and just use the Java Printing System (JDK 1.4 and later) to print the document directly to the printer. The PCLRenderer is not really supposed to be used that way. Otherwise, just render a simple FO document referencing the JPEG image you create to PCL. On 26

Re: embedded font for PCL

2006-04-26 Thread Camilakill
I am strugling to understand how it works! Can you help me with that? Many thanks! Camila -- View this message in context: http://www.nabble.com/embedded-font-for-PCL-t1511151.html#a4099872 Sent from the FOP - Users forum at Nabbl

Re: embedded font for PCL

2006-04-26 Thread Chris Bowditch
Camilakill wrote: Hi, I am trying to use embedded fonts. When I run the class to render into PDF everything works fine. But when I run the class to render PCL it doesn't. Thats right. The PCL Renderer in FOP 0.20.5 has not been developed to the same extent as the PDF Renderer. There are a lo

embedded font for PCL

2006-04-26 Thread Camilakill
http://www.nabble.com/embedded-font-for-PCL-t1511151.html#a4099217 Sent from the FOP - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]