Dirk Bromberg was able to help me earlier today with a typo in my font metrics url address. I have evrything workkng now. However, I am not sure how to get relative addressing to work. I can succeed with absolute addressing since I control where the files are placed. I would feel better, though, if I could get the relative address to succeed.

Right now, I have both the fop.xconf file and the ttfcm.xml file in the same folder conf, under the main application folder SoundEvaluation. From within my program, I can get the configuration file with cfg = cfgBuilder.buildFromFile("conf/fop.xconf");

The sample configuration file includes comments that say that relative config url's will be resolved relative to the location of this file. My first assumption was that the font metrcis url would therefore be:
<font metrics-url="file:///ttfcm.xml"/> but that did not work.

I have tried other paths, building up to the absolute path which finally does work <font metrics-url="file:///C:/eclipse/workspace/SoundEvaluation/conf/ttfcm.xml">

I must be missing something about the sytax or format of the relative path. Can someone guide me?

Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to