At Wed, 4 Feb 2004 00:28:43 +1100, Tom Massey wrote:
> * Angus Lees <[EMAIL PROTECTED]> [2004-02-03 21:17]:
> > At Mon, 12 Jan 2004 00:45:19 +1100, Tom Massey wrote:
> > > Is there a way to embed fonts in a pdf file created on Linux?
> > ps2pdf can't embed a font it doesn't know about.  You could tell
> > ghostscript about your font (if you were using Debian, you'd register
> > your font with Defoma)
> OK, something to look into. I haven't added any fonts to the system
> beyond the standard fonts in OOo, kword, abiword, etc. Do I need to
> register them?

"perhaps".  Defoma isn't quite ready to be made a requirement for
Debian packages just yet - so not all font-providing packages will do
the correct registration.  If you care, run dfontmgr(1) and drag+drop
a font onto it.

This won't help you here, however - see below.

> > Which font in particular are you having trouble with?
> When I print to a ps file and use ps2pdf, uploading to lulu.com
> gives the error:
> 
>   You have not embedded certain fonts in your document, which may
>   cause display or printing issues.
>   Font "Type Times-Bold is not embedded.
>   Font "Type Times-Roman is not embedded.
>   Font "Type Times-BoldItalic is not embedded.
>   Font "Type Times-Italic is not embedded.
> 
> That's with OOo 1.1 Beta. 1.0.3 gives similar errors, though complains
> for each time the font changes so repeats fonts. Same for kword.

aha.

PostScript (and thus PDF) is allowed to "assume" the existence of the
"14 base fonts" -- "Times" is one of these.  Its perfectly fine (a
good idea even) for an otherwise enthusiastically font-embedding
program to not embed these fonts (it makes the PDF file smaller).

The problem is that not all Times are created equal and paranoid
publishing companies (or people who run PitStop with options they
don't understand) insist on embedding *all* fonts, including those in
the base 14.

There is probably a way to make OOo do this, but it might not be
exposed in the GUI.  I'd suggest asking on a OOo list.


From reading the docs, I believe "ps2pdf -dPDFSETTINGS=/prepress" will
do what you want (I haven't tried it though).

To make pdfTeX do this, you need to run
  updmap --setoption pdftexDownloadBase14 true

The "pdffonts" command that comes with xpdf is very good for finding
out what fonts are in a PDF and if they're embedded - see the "emb" column.



> > Personally, I always produce pdfs with pdfTeX (through ConTeXt,
> > pdfLaTeX or pdfJadeTeX) and it embeds fonts quite nicely ;)
> Mmm, I suspect learning TeX would be useful. The document I'm
> experimenting with started out in Emacs. Only moved to OOoo as a
> quick means of making it look nice.

It takes a bit of work to learn, but I'm confident you'll be impressed
with the results.  When you feel ready to start learning, there are
several people here on the slug list who'd be eager to help.  (Its not
that hard - very similar to any other markup language, eg HTML)

-- 
 - Gus

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to