xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Pestel" <christian.pes...@orange.fr>
Subject Re: TrueType fonts with Fop Postscript
Date Sun, 17 Feb 2013 23:42:05 GMT


 

Christian Pestel

christian.pestel@orange.fr


From: Christian Pestel 
Sent: Monday, February 18, 2013 12:41 AM
To: fop-users@xmlgraphics.apache.org 
Subject: Re: [?? Probable Spam] Re: TrueType fonts with Fop Postscript

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.pestel@orange.fr


From: Luis Bernardo 
Sent: Saturday, February 16, 2013 12:10 AM
To: 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.pestel@orange.fr

   

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

Mime
View raw message