Re: how do I embed all fonts using pdflatex on windows?
On Thursday 15 May 2008 01:46, Nathan Miller wrote: I'm checking whether the fonts are embedded using Acrobat (properties) and pdffonts. There are a scary number of fonts (~100) and most are not embedded. This isn't responsive to your question, but why 100 fonts? You're right -- that is scary. How many typefaces are you using? SteveT Steve Litt Books written in LyX: Troubleshooting Techniques of the Successful Technologist Twenty Eight Tales of Troubleshooting Troubleshooting: Just the Facts
Re: how do I embed all fonts using pdflatex on windows?
On Thursday 15 May 2008, Nathan Miller wrote: I'm checking whether the fonts are embedded using Acrobat (properties) and pdffonts. There are a scary number of fonts (~100) and most are not embedded. In my experience most non-embedded fonts with LyX documents come from figures in the document in Postscript/EPS or PDF format. If the application which generated these figures did not embed the fonts, and they differ from those your LyX document uses, they will show up in the PDF document as not embedded. The solution is to fix the original figure, or, if you can't do that, convert it to a raster image at a suitable resolution for the final document. -- Les ~~ Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html
Re: how do I embed all fonts using pdflatex on windows?
On Thursday 15 May 2008, Les Denham wrote: The solution is to fix the original figure, or, if you can't do that, convert it to a raster image at a suitable resolution for the final document. With a few minutes research, I noted the following from the ps2pdf documentation: ps2pdf will sometimes convert text to high-resolution bitmapped fonts rather than to embedded outline fonts. This will occur when the PostScript file uses Type 3, CIDFontType 1, or CIDFontType 4 fonts, or Type 0 fonts that reference any of these; it may also occur in some cases if the input file uses fonts with non-standard encodings, or in some other rare cases. The default setting of EmbedAllFonts for ps2pdf is true, so using ps2pdf to convert to PDF should embed everything if these font types are avoided. Of course, this may be a problem with non-Roman character sets, which are likely to be available as CID fonts only. -- Les ~~ Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html
Re: how do I embed all fonts using pdflatex on windows?
I think you are right, Les. The huge number of fonts must be from the figures, which is worrisome b/c I have over 100 figures. Most figures are saved as pdf from matlab, while the rest are printed from powerpoint and tinycad using pdfcreator. For most figures, I use a script to automatically calculate the bounding box, which uses pdftops, ps2eps, and finally epstopdf. Maybe a solution would be to see whether any of those 3 programs can be set to embed all fonts. Using pdffonts, I have ~100 type 1 fonts (most not embedded), 10 truetype fonts (all embedded), ~10 type 3 fonts (all embedded), ~3 type 1c fonts (embedded), and 1 CID truetype font (embedded). So Les, if I'm understanding you correctly, I should only potentially have trouble with the type3 and CID1 fonts becoming bitmapped if I use ps2pdf. As a first try, I will use pdflatex, then pdf2ps, then ps2pdf to see how it looks, since it's easier than redoing all my figures. I know basically nothing about all this font business, but naively it seems like some program should just be able to see which fonts are not embedded, and then add them to the pdf. Is there a basic reason this wouldn't work? -- View this message in context: http://www.nabble.com/how-do-I-embed-all-fonts-using-pdflatex-on-windows--tp17246337p17256501.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: how do I embed all fonts using pdflatex on windows?
On Thursday 15 May 2008 10:54:44 am Nathan Miller wrote: I know basically nothing about all this font business, but naively it seems like some program should just be able to see which fonts are not embedded, and then add them to the pdf. Is there a basic reason this wouldn't work? I think ps2pdf does this as best it can. I'd suggest running each of your figures (which are now in PDF format) through pdf2ps then through ps2pdf, then open it in Acrobat Reader (or xpdf, etc.) and look at the document properties to see if the fonts in that figure are embedded. If they aren't, anything you do with the output from pdflatex won't work. If that happens to a particular figure, you can convert it to a bitmap (I'd suggest PNG) using Gimp, ImageMagick or other image editor, and specify the bitmap in your LyX document. LyX will handle it automatically. Les
Re: how do I embed all fonts using pdflatex on windows?
Got it to work! I followed Les' advice and fixed each figure pdf file. Since I already converted each figure pdf to ps then eps then pdf, I figured it wouldn't hurt anything to do it again. But this time I added some ghostview commands to epstopdf. Originally I had: epstopdf --nocompress input.eps which I changed to: epstopdf --nocompress --gsopt=-dPDFSETTINGS=/prepress -dSubsetFonts=true -dEmbedAllFonts=true input.eps All fonts are now embedded and my thesis was accepted! ps - I don't remember why I originally decided to use epstopdf instead of eps2pdf for the conversion. -- View this message in context: http://www.nabble.com/how-do-I-embed-all-fonts-using-pdflatex-on-windows--tp17246337p17264446.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: how do I embed all fonts using pdflatex on windows?
On Thursday 15 May 2008 01:46, Nathan Miller wrote: I'm checking whether the fonts are embedded using Acrobat (properties) and pdffonts. There are a scary number of fonts (~100) and most are not embedded. This isn't responsive to your question, but why 100 fonts? You're right -- that is scary. How many typefaces are you using? SteveT Steve Litt Books written in LyX: Troubleshooting Techniques of the Successful Technologist Twenty Eight Tales of Troubleshooting Troubleshooting: Just the Facts
Re: how do I embed all fonts using pdflatex on windows?
On Thursday 15 May 2008, Nathan Miller wrote: I'm checking whether the fonts are embedded using Acrobat (properties) and pdffonts. There are a scary number of fonts (~100) and most are not embedded. In my experience most non-embedded fonts with LyX documents come from figures in the document in Postscript/EPS or PDF format. If the application which generated these figures did not embed the fonts, and they differ from those your LyX document uses, they will show up in the PDF document as not embedded. The solution is to fix the original figure, or, if you can't do that, convert it to a raster image at a suitable resolution for the final document. -- Les ~~ Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html
Re: how do I embed all fonts using pdflatex on windows?
On Thursday 15 May 2008, Les Denham wrote: The solution is to fix the original figure, or, if you can't do that, convert it to a raster image at a suitable resolution for the final document. With a few minutes research, I noted the following from the ps2pdf documentation: ps2pdf will sometimes convert text to high-resolution bitmapped fonts rather than to embedded outline fonts. This will occur when the PostScript file uses Type 3, CIDFontType 1, or CIDFontType 4 fonts, or Type 0 fonts that reference any of these; it may also occur in some cases if the input file uses fonts with non-standard encodings, or in some other rare cases. The default setting of EmbedAllFonts for ps2pdf is true, so using ps2pdf to convert to PDF should embed everything if these font types are avoided. Of course, this may be a problem with non-Roman character sets, which are likely to be available as CID fonts only. -- Les ~~ Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html
Re: how do I embed all fonts using pdflatex on windows?
I think you are right, Les. The huge number of fonts must be from the figures, which is worrisome b/c I have over 100 figures. Most figures are saved as pdf from matlab, while the rest are printed from powerpoint and tinycad using pdfcreator. For most figures, I use a script to automatically calculate the bounding box, which uses pdftops, ps2eps, and finally epstopdf. Maybe a solution would be to see whether any of those 3 programs can be set to embed all fonts. Using pdffonts, I have ~100 type 1 fonts (most not embedded), 10 truetype fonts (all embedded), ~10 type 3 fonts (all embedded), ~3 type 1c fonts (embedded), and 1 CID truetype font (embedded). So Les, if I'm understanding you correctly, I should only potentially have trouble with the type3 and CID1 fonts becoming bitmapped if I use ps2pdf. As a first try, I will use pdflatex, then pdf2ps, then ps2pdf to see how it looks, since it's easier than redoing all my figures. I know basically nothing about all this font business, but naively it seems like some program should just be able to see which fonts are not embedded, and then add them to the pdf. Is there a basic reason this wouldn't work? -- View this message in context: http://www.nabble.com/how-do-I-embed-all-fonts-using-pdflatex-on-windows--tp17246337p17256501.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: how do I embed all fonts using pdflatex on windows?
On Thursday 15 May 2008 10:54:44 am Nathan Miller wrote: I know basically nothing about all this font business, but naively it seems like some program should just be able to see which fonts are not embedded, and then add them to the pdf. Is there a basic reason this wouldn't work? I think ps2pdf does this as best it can. I'd suggest running each of your figures (which are now in PDF format) through pdf2ps then through ps2pdf, then open it in Acrobat Reader (or xpdf, etc.) and look at the document properties to see if the fonts in that figure are embedded. If they aren't, anything you do with the output from pdflatex won't work. If that happens to a particular figure, you can convert it to a bitmap (I'd suggest PNG) using Gimp, ImageMagick or other image editor, and specify the bitmap in your LyX document. LyX will handle it automatically. Les
Re: how do I embed all fonts using pdflatex on windows?
Got it to work! I followed Les' advice and fixed each figure pdf file. Since I already converted each figure pdf to ps then eps then pdf, I figured it wouldn't hurt anything to do it again. But this time I added some ghostview commands to epstopdf. Originally I had: epstopdf --nocompress input.eps which I changed to: epstopdf --nocompress --gsopt=-dPDFSETTINGS=/prepress -dSubsetFonts=true -dEmbedAllFonts=true input.eps All fonts are now embedded and my thesis was accepted! ps - I don't remember why I originally decided to use epstopdf instead of eps2pdf for the conversion. -- View this message in context: http://www.nabble.com/how-do-I-embed-all-fonts-using-pdflatex-on-windows--tp17246337p17264446.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: how do I embed all fonts using pdflatex on windows?
On Thursday 15 May 2008 01:46, Nathan Miller wrote: > I'm checking whether the fonts are embedded using Acrobat (properties) and > pdffonts. There are a scary number of fonts (~100) and most are not > embedded. This isn't responsive to your question, but why 100 fonts? You're right -- that is scary. How many typefaces are you using? SteveT Steve Litt Books written in LyX: Troubleshooting Techniques of the Successful Technologist Twenty Eight Tales of Troubleshooting Troubleshooting: Just the Facts
Re: how do I embed all fonts using pdflatex on windows?
On Thursday 15 May 2008, Nathan Miller wrote: > I'm checking whether the fonts are embedded using Acrobat (properties) and > pdffonts. There are a scary number of fonts (~100) and most are not > embedded. In my experience most non-embedded fonts with LyX documents come from figures in the document in Postscript/EPS or PDF format. If the application which generated these figures did not embed the fonts, and they differ from those your LyX document uses, they will show up in the PDF document as not embedded. The solution is to fix the original figure, or, if you can't do that, convert it to a raster image at a suitable resolution for the final document. -- Les ~~ Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html
Re: how do I embed all fonts using pdflatex on windows?
On Thursday 15 May 2008, Les Denham wrote: > The solution is to fix the original figure, or, if you can't do > that, convert it to a raster image at a suitable resolution for the final > document. With a few minutes research, I noted the following from the ps2pdf documentation: "ps2pdf will sometimes convert text to high-resolution bitmapped fonts rather than to embedded outline fonts. This will occur when the PostScript file uses Type 3, CIDFontType 1, or CIDFontType 4 fonts, or Type 0 fonts that reference any of these; it may also occur in some cases if the input file uses fonts with non-standard encodings, or in some other rare cases." The default setting of EmbedAllFonts for ps2pdf is "true", so using ps2pdf to convert to PDF should embed everything if these font types are avoided. Of course, this may be a problem with non-Roman character sets, which are likely to be available as CID fonts only. -- Les ~~ Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html
Re: how do I embed all fonts using pdflatex on windows?
I think you are right, Les. The huge number of fonts must be from the figures, which is worrisome b/c I have over 100 figures. Most figures are saved as pdf from matlab, while the rest are printed from powerpoint and tinycad using pdfcreator. For most figures, I use a script to automatically calculate the bounding box, which uses pdftops, ps2eps, and finally epstopdf. Maybe a solution would be to see whether any of those 3 programs can be set to embed all fonts. Using pdffonts, I have ~100 type 1 fonts (most not embedded), 10 truetype fonts (all embedded), ~10 type 3 fonts (all embedded), ~3 type 1c fonts (embedded), and 1 CID truetype font (embedded). So Les, if I'm understanding you correctly, I should only potentially have trouble with the type3 and CID1 fonts becoming bitmapped if I use ps2pdf. As a first try, I will use pdflatex, then pdf2ps, then ps2pdf to see how it looks, since it's easier than redoing all my figures. I know basically nothing about all this font business, but naively it seems like some program should just be able to see which fonts are not embedded, and then add them to the pdf. Is there a basic reason this wouldn't work? -- View this message in context: http://www.nabble.com/how-do-I-embed-all-fonts-using-pdflatex-on-windows--tp17246337p17256501.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: how do I embed all fonts using pdflatex on windows?
On Thursday 15 May 2008 10:54:44 am Nathan Miller wrote: > I know basically nothing about all this font business, but naively it seems > like some program should just be able to see which fonts are not embedded, > and then add them to the pdf. Is there a basic reason this wouldn't work? I think ps2pdf does this as best it can. I'd suggest running each of your figures (which are now in PDF format) through pdf2ps then through ps2pdf, then open it in Acrobat Reader (or xpdf, etc.) and look at the document properties to see if the fonts in that figure are embedded. If they aren't, anything you do with the output from pdflatex won't work. If that happens to a particular figure, you can convert it to a bitmap (I'd suggest PNG) using Gimp, ImageMagick or other image editor, and specify the bitmap in your LyX document. LyX will handle it automatically. Les
Re: how do I embed all fonts using pdflatex on windows?
Got it to work! I followed Les' advice and fixed each figure pdf file. Since I already converted each figure pdf to ps then eps then pdf, I figured it wouldn't hurt anything to do it again. But this time I added some ghostview commands to epstopdf. Originally I had: epstopdf --nocompress input.eps which I changed to: epstopdf --nocompress --gsopt="-dPDFSETTINGS=/prepress -dSubsetFonts=true -dEmbedAllFonts=true" input.eps All fonts are now embedded and my thesis was accepted! ps - I don't remember why I originally decided to use epstopdf instead of eps2pdf for the conversion. -- View this message in context: http://www.nabble.com/how-do-I-embed-all-fonts-using-pdflatex-on-windows--tp17246337p17264446.html Sent from the LyX - Users mailing list archive at Nabble.com.
how do I embed all fonts using pdflatex on windows?
I've used Lyx for writing my thesis and it has been wonderful! Everything works beautifully and I'm ready to submit my final pdf file. However, I just realized I need to embed all the fonts in the pdf, and I haven't been able to figure out how to do this. I've found lots of information on using ps2pdf, but at this point with a 150 page document, I'm worried about the conversion from pdf - ps - pdf. Is there a way to embed the fonts with pdflatex, which is what I'm already using in Lyx? I'm checking whether the fonts are embedded using Acrobat (properties) and pdffonts. There are a scary number of fonts (~100) and most are not embedded. I found instructions about pdflatex here: http://do.whileloop.org/soft/tricks/pdflatex-fonts.php but it seemed like my pdftex config file is already set to *pdftexDownloadBase14 true *but I tried anyway and used the command *initexmf --edit-config-file updmap* to edit updmap.cfg and added the following lines: *pdftexDownloadBase14 true dvipsPreferOutline true dvipsDownloadBase35 true dvipdfmDownloadBase14 true* But the added lines seem to have no affect on the embedded pdf fonts. Any help is much appreciated. (using Windows XP Pro with Lyx 1.5.5, Miktex 2.7 with all updated packages)
how do I embed all fonts using pdflatex on windows?
I've used Lyx for writing my thesis and it has been wonderful! Everything works beautifully and I'm ready to submit my final pdf file. However, I just realized I need to embed all the fonts in the pdf, and I haven't been able to figure out how to do this. I've found lots of information on using ps2pdf, but at this point with a 150 page document, I'm worried about the conversion from pdf - ps - pdf. Is there a way to embed the fonts with pdflatex, which is what I'm already using in Lyx? I'm checking whether the fonts are embedded using Acrobat (properties) and pdffonts. There are a scary number of fonts (~100) and most are not embedded. I found instructions about pdflatex here: http://do.whileloop.org/soft/tricks/pdflatex-fonts.php but it seemed like my pdftex config file is already set to *pdftexDownloadBase14 true *but I tried anyway and used the command *initexmf --edit-config-file updmap* to edit updmap.cfg and added the following lines: *pdftexDownloadBase14 true dvipsPreferOutline true dvipsDownloadBase35 true dvipdfmDownloadBase14 true* But the added lines seem to have no affect on the embedded pdf fonts. Any help is much appreciated. (using Windows XP Pro with Lyx 1.5.5, Miktex 2.7 with all updated packages)
how do I embed all fonts using pdflatex on windows?
I've used Lyx for writing my thesis and it has been wonderful! Everything works beautifully and I'm ready to submit my final pdf file. However, I just realized I need to embed all the fonts in the pdf, and I haven't been able to figure out how to do this. I've found lots of information on using ps2pdf, but at this point with a 150 page document, I'm worried about the conversion from pdf -> ps -> pdf. Is there a way to embed the fonts with pdflatex, which is what I'm already using in Lyx? I'm checking whether the fonts are embedded using Acrobat (properties) and pdffonts. There are a scary number of fonts (~100) and most are not embedded. I found instructions about pdflatex here: http://do.whileloop.org/soft/tricks/pdflatex-fonts.php but it seemed like my pdftex config file is already set to *pdftexDownloadBase14 true *but I tried anyway and used the command *initexmf --edit-config-file updmap* to edit updmap.cfg and added the following lines: *pdftexDownloadBase14 true dvipsPreferOutline true dvipsDownloadBase35 true dvipdfmDownloadBase14 true* But the added lines seem to have no affect on the embedded pdf fonts. Any help is much appreciated. (using Windows XP Pro with Lyx 1.5.5, Miktex 2.7 with all updated packages)