Hi Varadharajan,
You create the userconfig.xml
file. And the add the following code in your program…
String str_userconfig = "userconfig.xml";
File fl_userconfig = new File(str_userconfig);
ConfigurationReader reader = new ConfigurationReader(new InputSource(new FileInputStream(fl_userconfig)));
reader.start();
you
just include this code before initiating the driver. i.e. before the following
code.
Driver driver = new Driver();
And
look at the userconfig file attached.
Regards,
Chandrasekhar
Sanku.
-Original Message-
From: Varadharajan Sethuraman
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, July
14, 2004 9:14 AM
To: FOP-USER;
[EMAIL PROTECTED]
Subject: linking the font (not
embeded font) with pdf
Hi All,
I have a problem with linking the font (not embeded font) with
pdf.
In the userconfig.xml file I have specified only metric-file
attribute. I haven't specified
embed-file attribute value.
Following highlighted paragraph from taken from http://xml.apache.org/fop/fonts.html
It says that particular font file should be there in the local system.
Yes, Its there. But eventhough it is not working...
The "kerning" and "embed-file"
attributes are optional. Kerning is currently not used at all. If embedding is
off, the output will position the text correctly (from the metrics file), but
it will not be displayed or printed correctly unless the viewer has the
applicable font available to their local system.
If any one knows about Linking font with pdf using FOP.
Kindly help me
Regards
Varadharajan S
Do you Yahoo!?
New
and Improved Yahoo! Mail - Send 10MB messages!
Confidentiality Notice
The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately
and destroy all copies of this message and any attachments.
baseDir
fontBaseDir
C:/Program Files/eclipse/workspace/data/PDFGENERATION/fonts
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]