As far as the path for the images make sure you use the absolute path (without the "file:"). Remember it's case sensitive as well.

<fo:external-graphic src="url('/Users/shoe/opt/fop/test.jpg')"/>

I'm going to look into the font issue later (I'm still working on some test stylesheets right now). I'll post what I find out about the fonts later if someone doesn't beat me too it.


Derrick

On Jun 28, 2004, at 8:17 PM, Paul Tremblay wrote:

On Mon, Jun 28, 2004 at 02:48:11PM -0700, David Shevitz wrote:
From: David Shevitz <[EMAIL PROTECTED]>

1. I cannot figure out how to create the necessary metrics files for my
fonts. The fonts on OS X are in a font suitcase, and I can't find out
what extension they are, so I don't know what command to use from FOP to
create the files.

So far as I know, you cannot generate a font metrics file directly from a Mac suitcase. There are some utilitites floating around that let you convert a suitcase to the more standard font file. I have not used any of them.


2. When I generate the PDF, I get a number of errors stating that my images aren't in a directory. I don't have the exact error in front of me (I'm back on my PC laptop) but it's similar to: [ERROR] file:/imagename.jpg No such directory. (That's not exactly right. I'll look up the exact error as soon as I am able.)


I will have to try this on my girlfriend's Mac and see if I get a similiary problem. Most likely there is some confusion with the path seperator. In the old Mac, the seperator was ":"; in OS X, it is "/".

Paul

--

************************
*Paul Tremblay         *
[EMAIL PROTECTED]
************************

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




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



Reply via email to