I tried your example and I had no trouble. Maybe the issue is the URI. Try to specify it differently. You can also try embedding-mode="full".

On 2/17/13 11:41 PM, Christian Pestel wrote:
Hi Luis,
I use Fop-Trunk; no error during conversion fo2ps.
The ps file content seems correct, but Verdana font is not embeded in PS file.
I would like a PS file with font embeded.
Is there a special fop configuration to embed a TrueType font like CID-keys font in pdf ?
Thank for your reply.
GS
[1 0 0 1 70.85 70.85] CT
GS
BT
/Verdana 36 F
1 0 0 -1 0 29.154 Tm
(\003\004\005\006\001\005\006\001\007\b\t\n\013\f\013\001\r\016\f\003) t
1 0 0 -1 0 67.374 Tm
(\017\020\021\022) t
ET
GR
GR
showpage

**

Christian Pestel

christian.pes...@orange.fr <mailto:cpes...@bdoc.com>

*From:* Luis Bernardo <mailto:lmpmberna...@gmail.com>
*Sent:* Saturday, February 16, 2013 12:10 AM
*To:* fop-users@xmlgraphics.apache.org <mailto:fop-users@xmlgraphics.apache.org>
*Subject:* [?? Probable Spam] Re: TrueType fonts with Fop Postscript

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
christian.pes...@orange.fr <mailto:cpes...@bdoc.com>


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


Reply via email to