Re: [SLUG] Embedding fonts in pdf documents
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
Re: [SLUG] Embedding fonts in pdf documents
At Mon, 12 Jan 2004 00:45:19 +1100, Tom Massey wrote: I'm looking for a way to embed fonts in pdf documents so that I can be sure that they look exactly as intended wherever viewed. Using OOo 1.1 beta 2, or kword 1.1.1, I'm able to create pdf files, but the fonts aren't embedded, and although I've searched through all the menus I can't seem to find a way of doing it. Same for printing to a ps file and then using ps2pdf. Googling doesn't seem to give me any hints on this. 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) -- 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. Which font in particular are you having trouble with? Personally, I always produce pdfs with pdfTeX (through ConTeXt, pdfLaTeX or pdfJadeTeX) and it embeds fonts quite nicely ;) -- - Gus -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Embedding fonts in pdf documents
* 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
[SLUG] Embedding fonts in pdf documents
Hi all, I'm looking for a way to embed fonts in pdf documents so that I can be sure that they look exactly as intended wherever viewed. Using OOo 1.1 beta 2, or kword 1.1.1, I'm able to create pdf files, but the fonts aren't embedded, and although I've searched through all the menus I can't seem to find a way of doing it. Same for printing to a ps file and then using ps2pdf. Googling doesn't seem to give me any hints on this. Is there a way to embed fonts in a pdf file created on Linux? Tom -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html