Re: Unkown font error driving me crazy
Jerry Sheehan wrote: but everytime i run the xsl:fo I get an error that the font is unkown, so it appears that this userconfig file is not being called and I don't understand what I need to do to call it. I found this link, http://xml.apache.org/fop/embedding.html#config-external Close. See http://xml.apache.org/fop/configuration.html#general-available And please, please, *please* don't use this obnoxious web mailer for your next post, or at least keep it short. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Unkown font error driving me crazy
Hi Everyone, I have searched in vain, but found the search difficult. I have a third party appplication that I'm using that calls this batch file, @ECHO OFF rem %~dp0 is the expanded pathname of the current script under NTset LOCAL_FOP_HOME=if "%OS%"=="Windows_NT" set LOCAL_FOP_HOME=%~dp0 set LIBDIR=%LOCAL_FOP_HOME%libset LOCALCLASSPATH=%LOCAL_FOP_HOME%build\fop.jarset LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xml-apis.jarset LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xercesImpl-2.2.1.jarset LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.4.1.jarset LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\batik.jarset LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\avalon-framework-cvs-20020806.jarset LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jimi-1.0.jarset LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jai_core.jarset LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jai_codec.jarjava -cp "%LOCALCLASSPATH%" org.apache.fop.apps.Fop %1 %2 %3 %4 %5 %6 %7 %8 I have added several new fonts to my system and I'm attempting to use the userconfig.xml file as shown below:font> font> font> fonts> configuration> but everytime i run the xsl:fo I get an error that the font is unkown, so it appears that this userconfig file is not being called and I don't understand what I need to do to call it. I found this link, http://xml.apache.org/fop/embedding.html#config-external But I don't know where that information goes. Thanks Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard
Re: image in table header overlapping table body <-- possible ? [additional info]
> > > -Original Message- > > > From: Roland Neilands [mailto:[EMAIL PROTECTED] > > > > > > Roland, > > > > > > Use nested tables: > > > > That is what i tried yesterday, too. Thanks anyway. > > It's a solution to get the image in the first header of the table. But i > > still end up with the problem having it repeated after a page break. > > Aaah... you *don't* need the image repeated across pages. Ooops ... no sorry. One of these situations, my lack of practice with the english language shows up. I *absolutely need* it to be repeated. Thanks again, Roland - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: image in table header overlapping table body <-- possible ? [additional info]
> -Original Message- > From: Roland Schroth [mailto:[EMAIL PROTECTED] > > > > -Original Message- > > From: Roland Neilands [mailto:[EMAIL PROTECTED] > > > > Roland, > > > > Use nested tables: > > That is what i tried yesterday, too. Thanks anyway. > It's a solution to get the image in the first header of the table. But i > still end up with the problem having it repeated after a page break. Aaah... you *don't* need the image repeated across pages. > The text header will be repeated as there is data in its table-body being > continued after the page break. But there is no data in the > table-body that So, the image would actually belong to the table-body, and only the text belongs to table-header (? correct?). In that case my proposal could work, if it were not for the complication described below. > There occur line breaks in the rows (mostly generated within FOP caused by > hyphenation), that i cannot calculate that easy. Therefore i cannot set a > fixed row height and i do not know how many rows there will be on > a page. I > tried to calculate these linebreaks according to the amount of text in the > fields but that's quite dirty (and not completely functioning at all ...) > Very dirty indeed... Imagine having to deal with a situation like this and having to base your calculations on the metrics of the particular font being used. (for fixed-width fonts this would be a bit less complicated since you can just take the number of chars and multiply that by the charwidth). > I think i will try to get some other things working first and come back to > this one next week. Sometimes a weekend of doing nothing helps more than > days of thinking ;-) > Very wise indeed! Cheerz, Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: image in table header overlapping table body <-- possible ? [additional info]
> -Original Message- > From: Roland Neilands [mailto:[EMAIL PROTECTED] > > Roland, > > Use nested tables: That is what i tried yesterday, too. Thanks anyway. It's a solution to get the image in the first header of the table. But i still end up with the problem having it repeated after a page break. The text header will be repeated as there is data in its table-body being continued after the page break. But there is no data in the table-body that belongs to the image header so there is no reason for FOP to repeat the header (the image) on the next page. And with this problem in mind i come to the idea of Andreas. > - Original Message - > From: "Andreas L. Delmelle" <[EMAIL PROTECTED]> > I see a remote possiblity in performing some XSL trickery (resting on the > assumption that the rows in the table body are generated by XML elements). > If you define a row height globally in your stylesheet, as well as the > region-body height... You know in advance how many rows will fit on a > page... ( $regbh div $rowh ). And here we have my next problem ... There occur line breaks in the rows (mostly generated within FOP caused by hyphenation), that i cannot calculate that easy. Therefore i cannot set a fixed row height and i do not know how many rows there will be on a page. I tried to calculate these linebreaks according to the amount of text in the fields but that's quite dirty (and not completely functioning at all ...) > For the moment, however, it's the closest thing to a solution I can come up > with... I agree. I think i will try to get some other things working first and come back to this one next week. Sometimes a weekend of doing nothing helps more than days of thinking ;-) Thanks to both of you and have a nice weekend, Roland - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: image in table header overlapping table body <-- possible ?
Apologies, code should have been: ... Cheers, Roland > I need to build a table with a header line containing an image and a single > line of text. The problem is the image beeing to high to fit into the header > line which causes the header line to be resized vertically to match the > height of the image. > > But i need the image to overflow the bottom of the header line (leaving its > height unchanged) so that it flows right into the body area. The problem is > that the overflow property isn't supported yet and a number-rows-spanned > does not seem to work here because header and body rows obviously cannot be > mixed. > > > I try to draw what i want to get (view with fixed-width font): > > > > xsl-fo-area / in PDF it should look like that > __/ > / > / > / +-+ > table-header / | | Some header text ... > / | header- | > / | image | first row of table-body > / | | second row of table-body > table-body/ +-+ third row of table-body > / . > / . > / . > / . > / > > > (i hope that makes my problem clear) > > > As i generate the fo code and the PDF at runtime from different data in a > database, there may occur page breaks cutting the table into several pieces > and the header absolutely has to appear above each piece. > I also tried to use position="relative" with the top and left properties set > but did not get it working although i am sure this should work with the > actual version. Mabe i just don't see the forest for the trees ... > > Does anyone have an idea of how to achieve this? > I would really appreciate any hint. > > Thanks in advance, > Roland > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: image in table header overlapping table body <-- possible ?
> > Use nested tables: > Only problem I still see is how's he going to make the contents of the > table-body flow alongside the image in the header. It's a separate table with a separate header. Try it & see ;) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: image in table header overlapping table body <-- possible ?
> -Original Message- > From: Roland Neilands [mailto:[EMAIL PROTECTED] > > Roland, > > Use nested tables: > Cool! There goes my attempt ... :) Only problem I still see is how's he going to make the contents of the table-body flow alongside the image in the header. Greetz, Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: image in table header overlapping table body <-- possible ?
Roland, Use nested tables: ... Cheers, Roland > I need to build a table with a header line containing an image and a single > line of text. The problem is the image beeing to high to fit into the header > line which causes the header line to be resized vertically to match the > height of the image. > > But i need the image to overflow the bottom of the header line (leaving its > height unchanged) so that it flows right into the body area. The problem is > that the overflow property isn't supported yet and a number-rows-spanned > does not seem to work here because header and body rows obviously cannot be > mixed. > > > I try to draw what i want to get (view with fixed-width font): > > > > xsl-fo-area / in PDF it should look like that > __/ > / > / > / +-+ > table-header / | | Some header text ... > / | header- | > / | image | first row of table-body > / | | second row of table-body > table-body/ +-+ third row of table-body > / . > / . > / . > / . > / > > > (i hope that makes my problem clear) > > > As i generate the fo code and the PDF at runtime from different data in a > database, there may occur page breaks cutting the table into several pieces > and the header absolutely has to appear above each piece. > I also tried to use position="relative" with the top and left properties set > but did not get it working although i am sure this should work with the > actual version. Mabe i just don't see the forest for the trees ... > > Does anyone have an idea of how to achieve this? > I would really appreciate any hint. > > Thanks in advance, > Roland > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]