Thank you very much ...
 
is It possible to refer metrics-file attribute for one directory, and embed-file attribute for another directory?
 
for example  ...
I have metrics xml file in c:\my\metrics-base\dir\fontmetrics1.xml and ttf file in c:\my\embed-base\dir\arial.ttf

org.apache.fop.configuration.Configuration.put("baseDir","C:/my/metrics-base/dir");
org.apache.fop.configuration.Configuration.put("fontBaseDir","C:/my/embed-base/dir");
<font metrics-file="fontmetrics1.xml" kerning="yes"
embed-file="arial.ttf">
     <font-triplet name="Arial" style="normal" weight="normal"/>
  </font>
 
--- Varadha
 
 
Chris Bowditch <[EMAIL PROTECTED]> wrote:

Just specify relative paths in the font metrics or embed file attributes in
the userconfig.xml file and the relative paths will be resolved against the
base directory. So for example, if you want to reference a metrics file at
c:\my\base\dir\fontmetrics1.xml and ttf file c:\my\base\dir\arial.ttf then specify

org.apache.fop.configuration.Configuration.put("fontBaseDir","/my/base/dir");

and in the userconfig.xml

<font metrics-file="fontmetrics1.xml" kerning="yes"
embed-file="arial.ttf">
     <font-triplet name="Arial" style="normal" weight="normal"/>
  </font>


Chris


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


Do you Yahoo!?
Yahoo! Mail - Now with 25x more storage than before!

Reply via email to