W3C home > Mailing lists > Public > www-xsl-fo@w3.org > October 2001

How to specify userconfig file with Driver

From: Rohit <rsharma@nicusa.com>
Date: Wed, 3 Oct 2001 15:25:08 +0530
Message-ID: <006e01c14bf1$7fa6bd80$110a960a@rohits>
To: <www-xsl-fo@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:08 GMT