Are you using FOP-1.0? Your example should work with FOP-1.1 and trunk,
but it does not work with FOP-1.0. If the issue is not the version, do
you get any error or warning when you generate your PostScript.
On 2/15/13 3:39 PM, Christian Pestel wrote:
Hi,
Is Fop support TrueType fonts for Postscript renderer ?
My PS file is not well rendered with Compart viewer.
Is TrueType font embeded into PS file ?
Is this above configuration correcty ?
<fop version="2.0">
<renderers>
<renderer mime="application/postscript">
<auto-rotate-landscape>false</auto-rotate-landscape>
<language-level>3</language-level>
<optimize-resources>false</optimize-resources>
<safe-set-page-device>false</safe-set-page-device>
<dsc-compliant>true</dsc-compliant>
<rendering>quality</rendering>
<fonts>
<!-- Verdana -->
<font kerning="yes" embed-url="file:///C:/Windows/Fonts/Verdana.ttf">
<font-triplet name="Verdana" style="normal" weight="normal"/>
</font>
<font kerning="yes" embed-url="file:///C:/Windows/Fonts/Verdanab.ttf">
<font-triplet name="Verdana" style="normal" weight="bold"/>
</font>
<font kerning="yes" embed-url="file:///C:/Windows/Fonts/Verdanaz.ttf">
<font-triplet name="Verdana" style="italic" weight="bold"/>
</font>
<font kerning="yes" embed-url="file:///C:/Windows/Fonts/Verdanai.ttf">
<font-triplet name="Verdana" style="italic" weight="normal"/>
</font>
</fonts>
</renderer>
</renderers>
</fop>
Christian Pestel
[email protected] <mailto:[email protected]>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]