Hi
I am using fop version 0.20.4, i am a new bee in this arena.
I want to use arial font in my PDF, I had made a post earlier in this mailing
group and based on that i had referred a URL and had done the following steps.
1. I created a arial.xml file pointing to the arial.ttf file in my system using
the following command.
java -cp fop.jar;avalon-framework.jar;xml-apis.jar;xercesImpl.jar;xalan.jar
org.apache.fop.fonts.apps.TTFReader C:\WINDOWS\fonts\arial.ttf arial.xml
2. Then i unzip my FOP jar file and change the userconfig.xml ( I doubt if i am
doing something wrong here)
3. The changed entries in userconfig are below :
<font metrics-file="file:C:/arial.xml" kerning="yes"
embed-file="file:C:/arial.ttf">
<font-triplet name="arial" style="normal" weight="normal"/>
</font>
4. Now i place both the ttf and the xml files in the corresponding locations
and unzip the fop folder back.
5. Now i place the FOP jar in the necessary location and run my application, i
still get a error stating that
[ERROR] : unknown font arail,normal,normal defaulting to any.
What is the mistake i am doing???
Could someone please help me in sorting out this???
I know that there are many new version of FOP but i am helpless i have to stick
to 0.20.4.
I know i am doing some basic mistake, please guide me.
Thanks in Advance
Rakesh
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are
not to copy, disclose, or distribute this e-mail or its contents to any other
person and any such actions are unlawful. This e-mail may contain viruses.
Infosys has taken every reasonable precaution to minimize this risk, but is not
liable for any damage you may sustain as a result of any virus in this e-mail.
You should carry out your own virus checks before opening the e-mail or
attachment. Infosys reserves the right to monitor and review the content of all
messages sent to or from this e-mail address. Messages sent to or from this
e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]