OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] How do I embed fonts in a PDF?


Thanks Bob ...

So on my command line I could do something like this ...

$ xsltproc --output MY.fo \
> --stringparam fop.extensions 1 \
> --stringparam ulink.footnotes 1 \
> --stringparam embed-url 1 \
> --stringparam admon.graphics 1  ./style_pdf.xsl ideal_bartender_g.xml

... right?  Or do I need to set embed-url to some like
file://somepath/that/Ihave/no/clue/somefontfile

Thanks again.

On 9/17/07, Bob Stayton <bobs@sagehill.net> wrote:
> Embedding of fonts is something that the XSL-FO processor does, not the
> stylesheet.   You will need to look at the documentation for the XSL-FO
> processor.  If you are using FOP, you can start here:
>
> http://xmlgraphics.apache.org/fop/0.93/fonts.html#embedding
>
> Font embedding can be done as a post-processing step too.  If you have
> Acrobat Standard, you can use Save As and select PostScript, then use
> Acrobat Distiller to open the PostScript file and save it as PDF again,
> this time specifying that all fonts should be embedded.  That isn't
> something you want to do very often, though.
>
> Bob Stayton
> Sagehill Enterprises
> DocBook Consulting
> bobs@sagehill.net
>
>
> ----- Original Message -----
> From: "Sheldon Plankton" <sheldon.plankton@gmail.com>
> To: <docbook-apps@lists.oasis-open.org>
> Sent: Saturday, September 15, 2007 2:12 PM
> Subject: [docbook-apps] How do I embed fonts in a PDF?
>
>
> > Hi,
> >
> > I generated my PDF book with docbook and tried to upload it to lulu.com.
> > Lulu.com reject my upload stating that ...
> >
> >
> > Your document could not be created: This font is not embedded:
> > Helvetica-Bold ( How do I embed fonts?) This font is not embedded:
> > Helvetica ( How do I embed fonts?)
> > This font is not embedded: Times-Roman ( How do I embed fonts?)
> >
> > ... what are they talking about and what can I do in my custom style
> > sheet to fix it?
> >
> > Thank you.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
> >
> >
> >
>
>
>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]