Page 1 of 1

8.2 seems to break my embedded fonts

Posted: Wed May 23, 2007 8:08 pm
by scourtney2000
hello,

it appears that 8.2 breaks my embedded fonts. when trying to transform my documents to pdf it actually breaks on when trying to embed the font. has anyone else noticed this? i recreated the metrics files for the fonts and i remade the config file. below is the configuration file for the built in FOP.

any suggestions?

thanks,
sean

<?xml version="1.0"?>
<fop version="1.0">
<base>.</base>
<renderers>
<renderer mime="application/pdf">
<fonts>
<font metrics-url="myriad_roman.xml" kerning="yes" embed-url="c:/docbook-projects/ttf/M/Myriad Roman.ttf">
<font-triplet name="MyriadRoman" style="normal" weight="normal"/>
</font>

<font metrics-url="myriad_bold.xml" kerning="yes" embed-url="c:/docbook-projects/ttf/M/Myriad Bold.ttf">
<font-triplet name="MyriadRoman" style="normal" weight="bold"/>
</font>

<font metrics-url="myriad_italic.xml" kerning="yes" embed-url="c:/docbook-projects/ttf/M/Myriad Italic.ttf">
<font-triplet name="MyriadRoman" style="italic" weight="normal"/>
</font>
</fonts>
</renderer>
</renderers>
</fop>

Re: 8.2 seems to break my embedded fonts

Posted: Thu May 24, 2007 5:28 pm
by sorin_ristache
Hello,
scourtney2000 wrote:<base>.</base>
...
<font metrics-url="myriad_roman.xml" ...
...
<font metrics-url="myriad_bold.xml" ...
...
<font metrics-url="myriad_italic.xml" ...
Do you store the font metrics files in the oXygen start folder? If not you should set the folder containing the metrics files in the <base> element, for example: file:/c:/FOP-0.93/font-files/


Regards,
Sorin

Posted: Thu May 24, 2007 8:31 pm
by scourtney2000
I will try this today.

Thanks,
Sean

Posted: Thu May 24, 2007 10:51 pm
by scourtney2000
Sorin!

That worked for me! All my metrics files work again!

Thanks,
Sean