On Jul 27, 2004, at 8:57 PM, Varadharajan Sethuraman wrote:
my problem is that I don't want to specify the absolute path for the font-metrics or embed-file attribute (C:\Fop_0.20.5\fonts\ or C:\windows\fonts\) in the userconfig.xml to support the fonts. Because it will cause the portablity problem.

Anybody knows the solution for this issue kindly mail me ...

or is there any way to set or pass the value for font-metrics or embed-file attribute dynamically .

-Varadha

According to the FOP Fonts Page[1]:

* Starting with FOP version 0.20.5 you can use URLs for the paths to the font files. Relative URLs are resolved relative to the fontBaseDir property (or baseDir) if available. See FOP: Configuration[2] for more information.

[1]
http://xml.apache.org/fop/fonts.html

[2]
http://xml.apache.org/fop/configuration.html

In addition, if you must port this to another system, you should be able to modify the fontBaseDir only once. Does this solve your dilemma?

Web Maestro Clay


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



Reply via email to