[reportlab-users] embedding standard fonts

Nigel Heron reportlab-users@reportlab.com
Mon, 31 Mar 2003 12:38:31 -0500


Andy Robinson wrote:

> > Hi,
> > is there a way to embed the standard fonts into the pdf? The pdf i'm
> > creating needs to embed all it's fonts.
> >
>
> Why would it need to embed things like Helvetica, which is
> present in every Acrobat Reader in the world?
>

i'm sending the pdf to a newspaper print house, they aren't been viewed in
acrobat. Their joboptions for pdf files requires all fonts to be embedded.

They also required only Grayscale objects, with minor changes i got that
to work.

>
> > can i use pdfmetrics.EmbeddedType1Face() or will the names clash?
>
> I honestly don't know.  Have you tried it ? :-)
>

not yet, don't have the proper .afm files, I have the .pfb and .pfm files
that came with acrobat, and i have the "pfm2afm" program, so i'll try
that.
>From reading the code, EmbeddedType1Face() should load them, but
registerTypeFace() and maybe others need to be changed.

--
Nigel Heron