How to specify userconfig file with Driver

Hi,

When one uses additional true type fonts with Fop, one has to generate the font matrix file from the .ttf file and make an entry for it in the conf/userconfig.xml file. Then, one has to start Fop with "-c conf/userconfig.xml" option and it works. So far so good and it works. However, I am not clear as to how one achieves the same result when one is embedding Fop in another application. In other words, how does one specify the userconfig.xml to the Driver class, so that Driver can recognize the additional fonts?

Any pointers are welcome,

Thanks in advance,

Rohit

Received on Wednesday, 3 October 2001 05:48:01 UTC