Re: Metrics Files for OS X, and image errors

2004-06-29 Thread Paul Tremblay
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]



Re: Metrics Files for OS X, and image errors

2004-06-29 Thread Derrick Shoemake
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]


Re: Metrics Files for OS X, and image errors

2004-06-29 Thread Clay Leeds
On Jun 29, 2004, at 7:59 AM, Derrick Shoemake wrote:
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
I'll echo Derrick, and also add that url(' and ') aren't necessary. 
Works like a charm with my OS X system:

fo:external-graphic src=/Users/shoe/opt/fop/images/test.jpg/
In addition, 'relative' PATHs works as well as long as the 'images/' 
directory is a subdirectory of the XML source directory.

fo:external-graphic src=images/test.jpg/
Good luck!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Metrics Files for OS X, and image errors

2004-06-29 Thread John Root
On 6/28/04 2:48 PM, David Shevitz [EMAIL PROTECTED] wrote:

 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.

David,

You can't generate fonts for FOP from Mac encoded PostScript fonts. You must
use PC or Unix format PostScript font files or else TrueType format.


John

~~
John Root
Publishing Systems
[EMAIL PROTECTED]
~~



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



Re: Metrics Files for OS X, and image errors

2004-06-29 Thread David Shevitz
Thanks,
I did end up figuring it out. I used the TTF files for the fonts I 
needed (just didn't know where to find them).

Now, everything seems to be working well.
Many thanks for all the help, everyone!
Dave
John Root wrote:
On 6/28/04 2:48 PM, David Shevitz [EMAIL PROTECTED] wrote:
 

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.
   

David,
You can't generate fonts for FOP from Mac encoded PostScript fonts. You must
use PC or Unix format PostScript font files or else TrueType format.
John
~~
   John Root
Publishing Systems
[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]


Metrics Files for OS X, and image errors

2004-06-28 Thread David Shevitz
Hi all,
Well, I admit that I feel silly asking this, but I'm not having any luck 
with the documentation on the FOP Web site. It's probably just me, but 
any help would really be appreciated.

I would like to use FOP on OS X (I'm primarily a Windows user, but I 
frequently have projects that require me to use a Macintosh). I can get 
everything working, except for two things:

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.

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.)

Could anyone offer me some advice? Thank you!
Dave Shevitz
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]