Friends,
Wow, this is really awesome!

I was totally successful creating the PDF.

I embedded only the fonts I wanted, etc.

Thanks so much!

-Mike



----- Original Message ----
From: Pascal Sancho <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, August 19, 2008 4:43:55 AM
Subject: RE: config file embedding issues

Mike,

> -----Message d'origine-----
> De : Mike Ferrando [mailto:[EMAIL PROTECTED] 
> Envoyé : lundi 18 août 2008 22:45
> 
> Pascal,
> fo:page-sequence does not have a "font-family" or "font-size" 
> attribute?

In theory, yes... But I guess that since they are inherited properties, you can 
specify them for any ancestor fo:object (to be confirmed by dev team).
So, you can choose any of (fo:root, fo:page-sequence) for that purpose.

> Can you give me a code example?

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";
    xmlns:fox="http://xmlgraphics.apache.org/fop/extensions";>
  <fo:layout-master-set>
    <fo:simple-page-master master-name="masterpage">
      <fo:region-body margin="1cm"/>
    </fo:simple-page-master>
  </fo:layout-master-set>
  <fo:page-sequence master-reference="masterpage"
      font-family="CODE2000" font-size="20pt">
    <fo:flow flow-name="xsl-region-body">
      <fo:block>some text</fo:block>
    </fo:flow>
  </fo:page-sequence>
</fo:root>

> Thanks,
> -Mike
> 
> ----- Original Message ----
> From: Pascal Sancho <[EMAIL PROTECTED]>
> To: [email protected]
> 
> Hi Mike,
> 
> Helvetica is required because this is the default font for 
> the fo:page-sequence element.
> If you want to use specific font, you should explicitely 
> define it for each fo:page-sequence.
> 
> Pascal
> 
> > -----Message d'origine-----
> > De : Mike Ferrando [mailto:[EMAIL PROTECTED] 
> > Envoyé : vendredi 15 août 2008 21:08
> > 
> > Friends,
> > I can't figure out what is wrong.
> > 
> > I am trying to generate a PDF/A-1b using FOP 0.94.
> > 
> > No matter how I write my userconfig file, I get an error 
> > message that Helvetica must be embedded.
> > 
> > I include my useconfig below.
> > 
> > I have added CODE 2000 into the fonts for testing purposes only.
> > 
> > -Mike

Pascal


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to