Re: Absolute path of font file ...

2004-07-30 Thread Varadharajan Sethuraman
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 specifyorg.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"/ /fontChris-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!

Re: Absolute path of font file ...

2004-07-30 Thread Chris Bowditch
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
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Absolute path of font file ...

2004-07-30 Thread Clay Leeds
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]


created pdf via FOP, try to load via https and get unsafe ActiveX control msg

2004-07-30 Thread Robert . Walker
hi all, I am creating pdfs via FOP, they look awesome!!!

I really like FOP and appreciate all the hard work that went into it, anyhow

the pdfs are stored in tomcat webapp, I unabled https and try to hit a url
like
https://box:8443/rss/reports/BillInvoice.pdf

in mozilla, I pops right up, wish our company would make mozilla the
standard :-(

in IE I get

This page provides potentially unsafe information to an ActiveX control.
Your current security settings prohibit running controls in themanner. As a
result, this page may not display correctly.

and of course they do not display at all, just a blank page pops up.  LOL

I cannot ask users to change settings in IE cause the company has locked
down
the desktops in thier anal-ness

is there ActiveX in the resultant pdf FOP generated?

I am real weak when it comes to MS crap and especially ActiveX so not sure
whats happening here

any help would be appreciated

thanks


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



Re: created pdf via FOP, try to load via https and get unsafe ActiveX control msg

2004-07-30 Thread J.Pietschmann
[EMAIL PROTECTED] wrote:
is there ActiveX in the resultant pdf FOP generated?
IEx uses ActiveX for integrating content handlers, including
for displaying PDFs.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]