Compress PDF and replace font in PDF by Windows system fonts

   It is known that some PDF can not be viewed normally for some reason they won't swap for other fonts. When you open the PDF you may get the message "Cannot find or create the font xxxxx. Some characters may not display or print correctly."  When you meet this kind of PDF file, you can try to replace font in it by the Window system fonts. In this article, I will show you one method of replacing fonts in PDF and compress it.

Step 1. Download VeryDOC PDF Compressor

  • This software is command line version, when downloading finishes, there will be an zip file. Please extract it to some folder then you can call the executable file in MS Dos Windows.
  • And if you need to know more about this software, please visit homepage of VeryDOC PDF Compressor.

Step 2. Compress PDF and replace fonts in it by Windows system fonts.

  • When you run the conversion, please refer to the usage and examples.
  • Usage:        pdfcompressor [options] <pdf-file> [<out-pdf>]
  • When compress PDF and replace fonts in PDF, please refer to the following command line templates.
    pdfcompressor.exe -embedallfonts -subsetfonts -compressfonts C:\in.pdf C:\out.pdf
    By this command line, you can embed all the fonts  and subset all the fonts in PDF for compression.
    pdfcompressor.exe -winfont -embedallfonts -subsetfonts -compressfonts C:\in.pdf C:\out.pdf
    By this command line, we can replace fonts in PDF by the Windows system fonts and subset fonts in PDF.
    pdfcompressor.exe -subsetfonts C:\in.pdf C:\out.pdf
    Now let us check the related parameters:
  • -winfont               : this parameter can help you use Windows fonts to replace Base14 fonts
    -embedallfonts         :this parameter can help you embed all fonts in PDF file.
    -subsetfonts           : when you need to subset fonts in PDF, please add this parameter.
    -compressfonts         : when you need to compress fonts in PDF, please add this parameter.

When you use those parameters and those functions, please check the PDF properties first. Please make sure input PDF is test based then those functions can be reached. If the PDF is image based, the compression will fail. As to how to check, here are some tips: open PDF file, please try to copy text in PDF file. If you can copy, it is test based. If you can not copy, it is image based.

If the PDF file is image based, please compress PDF by the method of compressing image like downsample color images, set Monochrome Image Resolution and others. Please check more parameters in the readme.txt file.

By this method, you can reach two goals: compress PDF and replace fonts in PDF. During the using, if you have any question, please contact us as soon as possible.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!