Help embeding fonts

2010-04-15 Thread bonekrusher

Hi,

I am using the following in my fop.xconf to embed fonts. Everything works on
my PC, but when I run on a different machine, the fonts are not found:

fop.xconf

















I have converted the font matrix with org.apache.fop.fonts.apps.TTFReader to
xml and placed them in a folder "file:///C:/Program Files
(x86)/fop-0.95/fonts"

FOP reports:

Apr 13, 2010 2:05:47 PM org.apache.fop.fonts.FontInfo notifyFontReplacement
WARNING: Font 'Arial,normal,700' not found. Substituting with
'any,normal,700'.

The file structure is the same on both machines...

Any thoughts?

Thanks,


-- 
View this message in context: 
http://old.nabble.com/Help-embeding-fonts-tp28254961p28254961.html
Sent from the FOP - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Help embeding fonts

2010-04-15 Thread Peter Hancock
Hi Bonekrusher,
The  element has to be contained in the  element- see
http://xmlgraphics.apache.org/fop/0.95/fonts.html for the configuration
documentation.

You may need to include file:///C:/Program Files(x86)/fop-0.95/fonts in the
base-uri attribute, or in the  element of your fop.xconf

Pete


On Thu, Apr 15, 2010 at 2:02 PM, bonekrusher  wrote:

>
> Hi,
>
> I am using the following in my fop.xconf to embed fonts. Everything works
> on
> my PC, but when I run on a different machine, the fonts are not found:
>
> fop.xconf
>
> 
>
>
>
>
> weight="normal"/>
>
>
>
>
>
>
>
>
> 
>
> I have converted the font matrix with org.apache.fop.fonts.apps.TTFReader
> to
> xml and placed them in a folder "file:///C:/Program Files
> (x86)/fop-0.95/fonts"
>
> FOP reports:
>
> Apr 13, 2010 2:05:47 PM org.apache.fop.fonts.FontInfo notifyFontReplacement
> WARNING: Font 'Arial,normal,700' not found. Substituting with
> 'any,normal,700'.
>
> The file structure is the same on both machines...
>
> Any thoughts?
>
> Thanks,
>
>
> --
> View this message in context:
> http://old.nabble.com/Help-embeding-fonts-tp28254961p28254961.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
>
>


Re: Help embeding fonts

2010-04-15 Thread bonekrusher

Thanks for the help. 

I added 
.

to the .xconf file, but get the same message and the fonts are not
embedding. 

Is my markup correct in the xconf file?

Thanks,
-- 
View this message in context: 
http://old.nabble.com/Help-embeding-fonts-tp28254961p28255545.html
Sent from the FOP - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Help embeding fonts

2010-04-15 Thread Peter Hancock
It should be file:///C:/Program Files(x86)/fop-0.95/fonts.
base-uri is an attribute of 

Pete

On Thu, Apr 15, 2010 at 2:51 PM, bonekrusher  wrote:

>
> Thanks for the help.
>
> I added
> .
>
> to the .xconf file, but get the same message and the fonts are not
> embedding.
>
> Is my markup correct in the xconf file?
>
> Thanks,
> --
> View this message in context:
> http://old.nabble.com/Help-embeding-fonts-tp28254961p28255545.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
>
>


Re: Help embeding fonts

2010-04-15 Thread bonekrusher

Awesome. Thx
-- 
View this message in context: 
http://old.nabble.com/Help-embeding-fonts-tp28254961p28257449.html
Sent from the FOP - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org