Re: PCL renderer limitations
checkout www.netlingo.com -- David B. Bitton[EMAIL PROTECTED]www.codenoevil.com Code Made Fresh Daily - Original Message - From: Art Welch To: '[EMAIL PROTECTED]' Sent: Friday, April 26, 2002 2:59 PM Subject: RE: PCL renderer limitations If the PDFRenderer centers the image properly and the PCLRenderer does not then it is probably a bug in FOP (likely the PCLRenderer) not a problem with the FO code. Art -Original Message-From: Bruno Verachten [mailto:[EMAIL PROTECTED]]Sent: Friday, April 26, 2002 2:11 PMTo: [EMAIL PROTECTED]Subject: Re: PCL renderer limitations [EMAIL PROTECTED] type="cite"> If the image is totally off center, then the problem is probably not related to scaling. "IIRC images", sorry I should have included a comma in there as in: "If I remember correctly, images..." It seems a bit odd to me that the PDF renderer would center the image properly and the PCL renderer would not center it at all. I have not looked at the code in a long time, but I thought that FOP did all the layout before calling the renderer. So it should just be saying "put the image here" and supplying the appropriate coordinates to the renderer. But it is entirely possible that this had changed - or perhaps even more likely - I am not remembering correctly. I have not looked at FOP code much since the redesign started. Okay... If you have time on your hands next week, I can send my fo code to the list.I have to leave now (8pm here), so ... have a nice week-end.Thanks for the answers, including the ones about shorthands ;-)Bruno Verachten.
RE: PCL renderer limitations
If the PDFRenderer centers the image properly and the PCLRenderer does not then it is probably a bug in FOP (likely the PCLRenderer) not a problem with the FO code. Art -Original Message-From: Bruno Verachten [mailto:[EMAIL PROTECTED]]Sent: Friday, April 26, 2002 2:11 PMTo: [EMAIL PROTECTED]Subject: Re: PCL renderer limitations [EMAIL PROTECTED]" type="cite"> If the image is totally off center, then the problem is probably not related to scaling. "IIRC images", sorry I should have included a comma in there as in: "If I remember correctly, images..." It seems a bit odd to me that the PDF renderer would center the image properly and the PCL renderer would not center it at all. I have not looked at the code in a long time, but I thought that FOP did all the layout before calling the renderer. So it should just be saying "put the image here" and supplying the appropriate coordinates to the renderer. But it is entirely possible that this had changed - or perhaps even more likely - I am not remembering correctly. I have not looked at FOP code much since the redesign started. Okay... If you have time on your hands next week, I can send my fo code to the list.I have to leave now (8pm here), so ... have a nice week-end.Thanks for the answers, including the ones about shorthands ;-)Bruno Verachten.
Re: PCL renderer limitations
[EMAIL PROTECTED]"> If the image is totally off center, then the problem is probably not related to scaling. "IIRC images", sorry I should have included a comma in there as in: "If I remember correctly, images..." It seems a bit odd to me that the PDF renderer would center the image properly and the PCL renderer would not center it at all. I have not looked at the code in a long time, but I thought that FOP did all the layout before calling the renderer. So it should just be saying "put the image here" and supplying the appropriate coordinates to the renderer. But it is entirely possible that this had changed - or perhaps even more likely - I am not remembering correctly. I have not looked at FOP code much since the redesign started. Okay... If you have time on your hands next week, I can send my fo code to the list. I have to leave now (8pm here), so ... have a nice week-end. Thanks for the answers, including the ones about shorthands ;-) Bruno Verachten.
RE: PCL renderer limitations
Yeah, Bruno- you've got nothing to worry about with your English. I didn't even once assume English wasn't your first language. Stuff like IIRC and AFAIK ("as far as I know") are just shorthand ways of writing common phrases that some of us seem to have picked up from being on usenet too much. -Original Message-From: Art Welch [mailto:[EMAIL PROTECTED]]Sent: Friday, April 26, 2002 1:51 PMTo: '[EMAIL PROTECTED]'Subject: RE: PCL renderer limitations Sorry, I'm American and my grammar is pretty bad. I think that your english is probably still better than mine... -Original Message-From: Bruno Verachten [mailto:[EMAIL PROTECTED]]Sent: Friday, April 26, 2002 1:11 PMTo: [EMAIL PROTECTED]Subject: Re: PCL renderer limitationsRhett Aultman wrote: [EMAIL PROTECTED]"> IIRC == "If I recall correctly." The statement would thus read, "If I recall correctly, images are placed by the upper left corner..."Oopss... Sorry, I'm french AND my english is pretty bad...Thanks for your necesseray help ;-)Later,Bruno Verachten
RE: PCL renderer limitations
Sorry, I'm American and my grammar is pretty bad. I think that your english is probably still better than mine... -Original Message-From: Bruno Verachten [mailto:[EMAIL PROTECTED]]Sent: Friday, April 26, 2002 1:11 PMTo: [EMAIL PROTECTED]Subject: Re: PCL renderer limitationsRhett Aultman wrote: [EMAIL PROTECTED]" type="cite"> IIRC == "If I recall correctly." The statement would thus read, "If I recall correctly, images are placed by the upper left corner..."Oopss... Sorry, I'm french AND my english is pretty bad...Thanks for your necesseray help ;-)Later,Bruno Verachten
RE: PCL renderer limitations
If the image is totally off center, then the problem is probably not related to scaling. "IIRC images", sorry I should have included a comma in there as in: "If I remember correctly, images..." It seems a bit odd to me that the PDF renderer would center the image properly and the PCL renderer would not center it at all. I have not looked at the code in a long time, but I thought that FOP did all the layout before calling the renderer. So it should just be saying "put the image here" and supplying the appropriate coordinates to the renderer. But it is entirely possible that this had changed - or perhaps even more likely - I am not remembering correctly. I have not looked at FOP code much since the redesign started. Art -Original Message-From: Bruno Verachten [mailto:[EMAIL PROTECTED]]Sent: Friday, April 26, 2002 1:01 PMTo: [EMAIL PROTECTED]Subject: Re: PCL renderer limitationsArt Welch wrote: [EMAIL PROTECTED]" type="cite"> Hmmm. These are interesting. On the table problem, could it be that the part that appears to not be printing is actually outside of the printer's printable area?Maybe... [EMAIL PROTECTED]" type="cite"> How much is the image off center? Totally ;-) [EMAIL PROTECTED]" type="cite"> If it just appears to be a little off center it may be because the PCLRenderer only supports images scaled in discrete steps. FOP's layout is unaware of this, so it may be placing the image based on what it thinks the actual scaled size is - not the size the PCLRenderer will produce. IIRC images are placed by the upper left corner - so this could cause an image to appear off center.I'm sorry, but what are IIRC images? Here is the fo code I have:Thanks.Bruno Verachten
Re: PCL renderer limitations
Rhett Aultman wrote: [EMAIL PROTECTED]"> IIRC == "If I recall correctly." The statement would thus read, "If I recall correctly, images are placed by the upper left corner..." Oopss... Sorry, I'm french AND my english is pretty bad... Thanks for your necesseray help ;-) Later, Bruno Verachten
RE: PCL renderer limitations
IIRC == "If I recall correctly." The statement would thus read, "If I recall correctly, images are placed by the upper left corner..." -Original Message-From: Bruno Verachten [mailto:[EMAIL PROTECTED]]Sent: Friday, April 26, 2002 1:01 PMTo: [EMAIL PROTECTED]Subject: Re: PCL renderer limitationsArt Welch wrote: [EMAIL PROTECTED]" type="cite"> Hmmm. These are interesting. On the table problem, could it be that the part that appears to not be printing is actually outside of the printer's printable area?Maybe... [EMAIL PROTECTED]" type="cite"> How much is the image off center? Totally ;-) [EMAIL PROTECTED]" type="cite"> If it just appears to be a little off center it may be because the PCLRenderer only supports images scaled in discrete steps. FOP's layout is unaware of this, so it may be placing the image based on what it thinks the actual scaled size is - not the size the PCLRenderer will produce. IIRC images are placed by the upper left corner - so this could cause an image to appear off center.I'm sorry, but what are IIRC images? Here is the fo code I have:Thanks.Bruno Verachten
Re: PCL renderer limitations
Art Welch wrote: [EMAIL PROTECTED]"> Hmmm. These are interesting. On the table problem, could it be that the part that appears to not be printing is actually outside of the printer's printable area? Maybe... [EMAIL PROTECTED]"> How much is the image off center? Totally ;-) [EMAIL PROTECTED]"> If it just appears to be a little off center it may be because the PCLRenderer only supports images scaled in discrete steps. FOP's layout is unaware of this, so it may be placing the image based on what it thinks the actual scaled size is - not the size the PCLRenderer will produce. IIRC images are placed by the upper left corner - so this could cause an image to appear off center. I'm sorry, but what are IIRC images? Here is the fo code I have: Thanks. Bruno Verachten
RE: PCL renderer limitations
Hmmm. These are interesting. On the table problem, could it be that the part that appears to not be printing is actually outside of the printer's printable area? How much is the image off center? If it just appears to be a little off center it may be because the PCLRenderer only supports images scaled in discrete steps. FOP's layout is unaware of this, so it may be placing the image based on what it thinks the actual scaled size is - not the size the PCLRenderer will produce. IIRC images are placed by the upper left corner - so this could cause an image to appear off center. HTH, Art -Original Message-From: Bruno Verachten [mailto:[EMAIL PROTECTED]]Sent: Friday, April 26, 2002 5:35 AMTo: [EMAIL PROTECTED]Cc: Art WelchSubject: Re: PCL renderer limitationsArt Welch wrote: [EMAIL PROTECTED]" type="cite"> I am the person who is mostly to blame for the PCLRenderer. Unfortunately I have not been able to work on it for a while - and I do not know when I will be able to do so. Of course anyone else is free to work on it - but I have not seen many others doing much on it. If there are some particular limitations that you find most onerous, perhaps I can take a look at them... especially if they are easy to fix. However the main limitations that I am aware of will require significant effort. These are restoring SVG support, adding font support, adding color support, etc. At present I think that it is unlikely that any significant limitations in the PCLRenderer will be addressed in the short term. It is quite possible that this could change. Next week I am planning on trying to get more resources committed to XML reporting at my employer. If successful, I may be able to spend more time on FOP.Well, that's fine ;-)Hi, I have problems too with the PCL renderer. The PDF renderer works fine for: -handling tables aligned right in the footer ("Page N°1/5" for exemple in a one cell table aligned right). -handling images centered inside a fo:block.I just can't do that with the PCL renderer, which doesn't produce the whole thing in the footer(stops to "Page N°" and then ... nothing more in the footer...). If I ever use a single fo:block aligned right, this does work... Si this problem is not really urgent for me.But the image centering is quite important, and I still haven't found a new way of getting it centered.Can you help?Thanks a lot!Bruno Verachten.
Re: PCL renderer limitations
Art Welch wrote: [EMAIL PROTECTED]"> I am the person who is mostly to blame for the PCLRenderer. Unfortunately I have not been able to work on it for a while - and I do not know when I will be able to do so. Of course anyone else is free to work on it - but I have not seen many others doing much on it. If there are some particular limitations that you find most onerous, perhaps I can take a look at them... especially if they are easy to fix. However the main limitations that I am aware of will require significant effort. These are restoring SVG support, adding font support, adding color support, etc. At present I think that it is unlikely that any significant limitations in the PCLRenderer will be addressed in the short term. It is quite possible that this could change. Next week I am planning on trying to get more resources committed to XML reporting at my employer. If successful, I may be able to spend more time on FOP. Well, that's fine ;-) Hi, I have problems too with the PCL renderer. The PDF renderer works fine for: -handling tables aligned right in the footer ("Page N°1/5" for exemple in a one cell table aligned right). -handling images centered inside a fo:block. I just can't do that with the PCL renderer, which doesn't produce the whole thing in the footer (stops to "Page N°" and then ... nothing more in the footer...). If I ever use a single fo:block aligned right, this does work... Si this problem is not really urgent for me. But the image centering is quite important, and I still haven't found a new way of getting it centered. Can you help? Thanks a lot! Bruno Verachten.
RE: PCL renderer limitations
Hi Yvonne, I am the person who is mostly to blame for the PCLRenderer. Unfortunately I have not been able to work on it for a while - and I do not know when I will be able to do so. Of course anyone else is free to work on it - but I have not seen many others doing much on it. If there are some particular limitations that you find most onerous, perhaps I can take a look at them... especially if they are easy to fix. However the main limitations that I am aware of will require significant effort. These are restoring SVG support, adding font support, adding color support, etc. At present I think that it is unlikely that any significant limitations in the PCLRenderer will be addressed in the short term. It is quite possible that this could change. Next week I am planning on trying to get more resources committed to XML reporting at my employer. If successful, I may be able to spend more time on FOP. Art -Original Message-From: Moebius, Yvonne [mailto:[EMAIL PROTECTED]]Sent: Tuesday, April 23, 2002 5:19 AMTo: Fop Dev (E-Mail)Subject: PCL renderer limitations Hi, can you tell me if the PCL renderer will be improved? There are a lot of limitations, will they (or some of them) be abolished in the next release? Can you make a rough estimate how long it will take to abolish all these PCL-renderer limitations? Y. Moebius