Thursday, March 6, 2014

To fix the problem of "fonts not embedded" in WinEdt

When I was about to upload a manuscript to EDAS, the problem regarded as "fonts not embedded" was showing up.
I had been spending several minutes to eventually meet a solution to the problem.

The solution for WinEdt 6.0 worked, I was using WinEdt 8.0 with gswin64c.exe though.

WinEdt 6.0:

  • Open WinEdt
  • Select: Options, Execution Modes
  • Select ps2pdf
  • Click on "Browse for Executable" (lower left corner)
  • Browse to the gswin32c.exe executable in C:\Program Files\gs\gs9.02\bin

  • (you might have another version than 9.02, so please adjust this number) and select it.
  • Enter the following switches:
     
    -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -r600 -dCompatibilityLevel=1.4 
    -dPDFSETTINGS=/printer -dMaxSubsetPct=100 -dSubsetFonts=true 
    
  • Enter the following parameters:
     
    -sOutputFile="%N.pdf" "%N.ps"
    

WinEdt 5.5:

  • Open WinEdt
  • Select: Options, Execution Modes
  • Select ps2pdf
  • The Command Line Switches for gswin32c.exe are
     
    -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -r600 -dCompatibilityLevel=1.4
    
    Add the following switches to this line:
     
    -dPDFSETTINGS=/printer -dMaxSubsetPct=100 -dSubsetFonts=true 
    -dEmbedAllFonts=true
    
From now on PS2PDF will embed all fonts.
TeXify-> DVI to PS (DVIPS)->PS to PDF (ps2pdf)

Reference:
http://inside.mines.edu/~djyang/embeddedfont-WinEdt.html