8.2 seems to break my embedded fonts

Having trouble installing Oxygen? Got a bug to report? Post it all here.
scourtney2000
Posts: 3
Joined: Wed May 23, 2007 8:02 pm

8.2 seems to break my embedded fonts

Post 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>
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: 8.2 seems to break my embedded fonts

Post 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
scourtney2000
Posts: 3
Joined: Wed May 23, 2007 8:02 pm

Post by scourtney2000 »

I will try this today.

Thanks,
Sean
scourtney2000
Posts: 3
Joined: Wed May 23, 2007 8:02 pm

Post by scourtney2000 »

Sorin!

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

Thanks,
Sean
Post Reply