35

My paper has the font TimesNewRomanPS-BoldMT not embedded in itself, and therefore fails the IEEE submission check.

I am able to embed it with Acrobat by printing the PDF. However, I find it changes the colors of my paper a bit.

So I wish for a direct way to produce a PDF that already embeds all the fonts with pdflatex.

As this answer suggests, the pdftexDownloadBase14 settings in the updmap.cfg file is indeed set to true. However, it is still not embedding it.

How may I fix this?

I am using Texmaker under Window, if that matters.

  • 1
    A working answer given by egreg –  Dec 12 '13 at 20:14
  • 1
    You may also use gs for that: http://stackoverflow.com/questions/2670809/how-to-get-ghostscript-to-use-embedded-fonts-in-pdf – math Apr 04 '14 at 12:59
  • Note that this issue is usually caused when you include a PDF (e.g. with \includegraphics) in your document, and that PDF has not embedded its fonts. Ismet5's answer will work for this, but you can also ensure that the included PDF has embedded fonts. – thomas88wp Apr 22 '20 at 12:57
  • I just tried to test fonts in XeLaTeX and they obviously get embedded automatically, because when I used an obscure font and then displayed the PDF on another computer that didn't have the font, the PDF was displayed correctly. This is how i set main font: \usepackage{fontspec} \setmainfont[Ligatures=TeX]{CMU Serif Roman} – edison23 Nov 13 '15 at 11:29

4 Answers4

20

I feel your pain I was in the same situation a minute ago for an IEEE conference. There doesn't seem to be a clear or easy answer anywhere on this. I wonder why they don't make this easier to do.

This worked for me and I hope it works for you:

  1. open your pdf file,
  2. select file -> print
  3. set your printer to be Adobe printer (assuming you already installed it)
  4. click on properties
  5. click the tab "Adobe PDF Settings"
  6. uncheck "Rely on system fonts only; do not use document fonts"
  7. click on the Edit... after Default Settings
  8. click on Fonts, add those missing fonts to "Always Embed" (It is recommended to save the properties as a new setting.)
  9. print the pdf file with the new settings, and your new pdf file should be good to go.

Tip: when (or if) it asks you to save the PDF settings file, save it in the suggested Adobe settings folder

Source: Click Here

Ismet5
  • 211
  • 1
  • 2
  • 4
    Thanks a lot, but it may not be an answer candidate, as I am looking for a way of embedding all the fonts DURING COMPILATION. However, I do now solve the problem using this method, so +1. – Sibbs Gambling Dec 22 '13 at 15:18
  • Super clear instructions relevant for uploading a thesis to a repository when a non-embedded font was lurking in a figure somewhere - thank you. I was able to download a free trial version of Adobe Acrobat Pro to do this. – L Platts Sep 08 '14 at 17:39
  • It changes the coloring of PDF a bit from black to grayscale somehow. How to retain the same color? – Faizan Zaheer Oct 31 '18 at 05:56
  • 1
    Those who have mac but not Adobe Acrobat Pro. On Mac, there is an easier way to do this. Just open the pdf in Preview app, and do Export As PDF...

    For other OS, some ways are listed here https://kbpdfstudio.qoppa.com/how-to-embed-fonts-in-a-pdf-document/

    – AvinashK Dec 28 '19 at 00:57
11

If you are using TeXStudio in Windows, Go to Options-> Configure TeXstudio->Commands->Ps2Pdf. In that field, just paste

ps2pdf.exe -dPDFSETTINGS#/prepress -dEmbedAllFonts#true -dMaxSubsetPct#100 -dCompatibilityLevel#1.3 %.ps

This will directly embed all fonts while compiling itself.

You can manually do this from windows command prompt. In windows command prompt, navigate to the location of the .ps file and paste

ps2pdf -dPDFSETTINGS#/prepress -dEmbedAllFonts#true -dMaxSubsetPct#100 -dCompatibilityLevel#1.3 file_name.ps file_name.pdf

I guess, for linux machine, you just have to use "=" in the place of "#"

10

Though I was not able to embed fonts while compiling, I found this solution.

Generate your pdf, turn it into a postscript file with pdf2ps, and then turn it back into a pdf while embedding the fonts. commands in linux: pdf2ps doc.pdf ps2pdf14 -dPDFSETTINGS=/prepress doc.ps doc2.pdf

vaibhav
  • 201
1

There is a preflight function of Adobe Acrobat Pro you could leverage. IMHO, this is the easiest method. Here are the tutorial: https://www.youtube.com/watch?v=9SdIVy2D4b4

william007
  • 4,781