Absolute path of font file ...

2004-07-28 Thread Varadharajan Sethuraman
Hi, I am using Fop_0.20.5. And i have some issue with supporting fonts ... userconfig.xml fontsfont metrics-file="C:\Fop_0.20.5\fonts\arial.xml" kerning="yes" embed-file="c:\windows\fonts\arial.ttf" font-triplet name="Arial" style="normal" weight="normal"//font /fonts my problem is that I don't

Re: Absolute path of font file ...

2004-07-28 Thread Clay Leeds
On Jul 27, 2004, at 8:57 PM, Varadharajan Sethuraman wrote: my problem is that I don't want to specify the absolute path for the font-metrics or embed-file attribute (C:\Fop_0.20.5\fonts\ or C:\windows\fonts\) in the userconfig.xml to support the fonts. Because it will cause the portablity

Re: Absolute path of font file ...

2004-07-28 Thread Varadharajan Sethuraman
Hi, As per the http://xml.apache.org/fop/configuration.html and http://xml.apache.org/fop/embedding.htmldocument, we can set the baseDir and fontBaseDir using org.apache.fop.configuration.Configuration. Here is an example that sets the "baseDir" configuration in a Unix environment:

FOP hangs at Driver driver = new Driver(); line

2004-07-28 Thread Manfred Reuter
Hi, I'm using FOP (creating adhoc pdf reports)that is called from a servlet on a JRUN 3.1 machine (JDK 1.4.1) and have trouble to initialize the "Driver" class. Actually it seems as it would hang at this point ... no exception, no error message ... I tried already adding if (cl == null){

Re: FOP hangs at Driver driver = new Driver(); line

2004-07-28 Thread Manfred Reuter
there was a spelling mistake in my previous email:org.java.fop.apps.Driver.javashould be org.apache.fop.apps.Driver.java - Original Message - From: Manfred Reuter To: [EMAIL PROTECTED] Sent: Tuesday, July 27, 2004 11:03 PM Subject: FOP hangs at Driver driver =

Re: table height problem

2004-07-28 Thread Chris Bowditch
Chandrasekhar Sanku wrote: snip/ I am creating a pdf using fop. In the generated pdf, the height of the table is stretched very long even the content is small. Why this happened? Does anybody faced this problem? No, I havent seen this problem. To help us help you, please post a *small*

Re: FOP hangs at Driver driver = new Driver(); line

2004-07-28 Thread Glen Mazza
Take a look at the examples on our embedding page (http://xml.apache.org/fop/embedding.html) to make sure you're following the general syntax needed. I assume you're using current production 0.20.5, our sample servlet

Re: Absolute path of font file ...

2004-07-28 Thread Chris Bowditch
Varadharajan Sethuraman wrote: snip/ org.apache.fop.configuration.Configuration.put(baseDir,/my/base/dir); Here is another that sets baseDir in a Windows environment: org.apache.fop.configuration.Configuration.put(baseDir,C:\my\base\dir); How do I use that values for /font-metrics or embed-file

RE: LPI and CPI vs line-height and font-size

2004-07-28 Thread Zaleski, Matthew \(M.E.\)
Hrmm. What version of Acrobat are you running? I have Acrobat Standard 6.0 (the one you pay for) and Ctrl-U does nothing. I wandered through the preferences and menus and found nothing to give me a grid. -Original Message- From: john farrow [mailto:[EMAIL PROTECTED] Sent: Tuesday,

Re: FOP hangs at Driver driver = new Driver(); line

2004-07-28 Thread Manfred Reuter
Hi Glen, Thanks for the information. I followed the sample when I created the servlet ... and yes I use version 0.20.5. The thing is: the servlet is running perfectly on our development environment, but the problem occurs when I deploy the code to our staging system. I have checked the class

Re: FOP hangs at Driver driver = new Driver(); line

2004-07-28 Thread Manfred Reuter
Hi, I was able to narrow it down where the problem in Driver.java is: Somehow the program stops when the Driver adds the Element Mapping of org.apache.fop.svg.SVGElementMapping. Thanks and regards, Manfred From: Manfred Reuter [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: FOP hangs at Driver driver = new Driver(); line

2004-07-28 Thread Clay Leeds
On Jul 28, 2004, at 11:06 AM, Manfred Reuter wrote: Hi, I was able to narrow it down where the problem in Driver.java is: Somehow the program stops when the Driver adds the Element Mapping of org.apache.fop.svg.SVGElementMapping. Thanks and regards, Manfred This may not be related, but are the

Re: FOP hangs at Driver driver = new Driver(); line

2004-07-28 Thread Glen Mazza
Something else to look at whenever something inexplicable is occurring is make sure that the same versions of xalan.jar and xerces.jar are being activated on both machines--some versions of the two don't work well with Fop. Glen --- Clay Leeds [EMAIL PROTECTED] wrote: On Jul 28, 2004, at

Re: Border issue

2004-07-28 Thread J.Pietschmann
Zaleski, Matthew (M.E.) wrote: Look at the line with the light blue background. The borders on extreme left are right edge are getting overwritten by the background color. (the background color is bleeding on the top as well.) I'm doing nested tables for layout purposes. I've tried having

RE: Border issue

2004-07-28 Thread Zaleski, Matthew \(M.E.\)
Thanks for the answer. What is the proper workaround for not using padding? I need to keep space between my blocks and the borders of the cells. Some of the cells have single blocks, some have multiple blocks (like the header row). -Original Message- From: J.Pietschmann [mailto:[EMAIL

Re: Absolute path of font file ...

2004-07-28 Thread J.Pietschmann
Varadharajan Sethuraman wrote: we can set the *baseDir and fontBaseDir* using org.apache.fop.configuration.Configuration. Unless I'm greatly mistaken, you can set fontBaseDir, baseDir and baseURL in the userconfig.xml file too. J.Pietschmann

Re: FOP hangs at Driver driver = new Driver(); line

2004-07-28 Thread J.Pietschmann
Manfred Reuter wrote: I was able to narrow it down where the problem in Driver.java is: Somehow the program stops when the Driver adds the Element Mapping of org.apache.fop.svg.SVGElementMapping. That's most likely an issue with X server access. Try the headless option, as advised. J.Pietschmann

Re: Border issue

2004-07-28 Thread J.Pietschmann
Zaleski, Matthew (M.E.) wrote: Thanks for the answer. What is the proper workaround for not using padding? I need to keep space between my blocks and the borders of the cells. Some of the cells have single blocks, some have multiple blocks (like the header row). Enclose the content in yet

Re: LPI and CPI vs line-height and font-size

2004-07-28 Thread john farrow
I'm using Acrobat 6.0 Professional, maybe the grid is not in the standard edition. John Visual Programming Ltd mail PO Box 22-222, Khandallah, Wellington, New Zealand site Level 2, 2 Ganges Road, Khandallah, Wellington, New Zealand phone +64 4 479 1738 fax +64 4 479 1294 web