* 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?

> -- but your best bet is to get OOo to do its
> job in the first place :P   Unfortunately I have no experience with
> OOo or kword, but I find it strange that its hard to embed fonts.

I think it may be that I'm not using the latest versions. Bit of
googling brought up a few pages that seemed to say that in kword
you can just tell it to export to pdf and check the 'Embed fonts'
box, but kword 1.1.1 doesn't seem to do this - gives the option to
export as pdf, but not to embed fonts. OOo 1.0.3 doesn't give the
'Export as pdf' option. 1.1 Beta does, but doesn't say anything about
embedding fonts. These are the latest versions I've found as deb
packages easily apt-gettable for Woody, searching apt-get.org. I
did think of moving to testing, but Sarge is meant to be out in a
few months. CD's are nicer than dialup, especially when your sister
starts complaining that the Internet is broken everytime you run
a dist-upgrade. Probably should look into throttling there.

> Which font in particular are you having trouble with?

I've been playing with <http://lulu.com>, a Publish On Demand site.
Basic idea is that you upload a text, people buy it, gets printed
out and posted to them. Lulu.com takes a percentage of the sale. You
can upload in a variety of formats, but I'd prefer to use pdf to make
sure it looks exactly as I want. 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.

> 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. I expect there's a moral in
that.


Thanks,

Tom
-- 
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