On Jul 30, 2004, at 7:53 AM, Chris Bowditch wrote:
Varadharajan Sethuraman wrote:
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

Yes this is possible. Suppose the fontBaseDir is c:\my\metrics-base\dir then font entry in userconfig.xml would be:


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


So every path to do with fonts is resolved *relative* to the fontBaseDir setting.

<snip/>

Chris

From the 'more than 1-way-to-accomplish-your-task" dept., ... you could also set the fontBaseDir higher (i.e., to c:\my) and then use relative paths like this:


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


Web Maestro Clay


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



Reply via email to