If you don't embed a font when you create a PDF file, it may cause different styles on different PDF browsers and operating systems. Fonts may also be missing when printing documents, so in PDF It is necessary to embed fonts in the file. The following small series will introduce you to the method of embedding all the fonts of LaTex in PDF files under Linux.
Question: I generated a PDF document by compiling the LaTex source file. However, I noticed that not all fonts are embedded in the PDF document. How can I ensure that all fonts are embedded in a PDF document generated by LaTex?
Answer: When you create a PDF file, it is a good idea to embed the font in the PDF file. If you don't embed fonts, the PDF browser can use something else instead of fonts on your computer. This will result in files being rendered in different styles on different PDF browsers or operating system platforms. The missing font is a problem when you print out the document.
When you generate PDF documents from LaTex (eg with pdflatex or dvipdfm), may not all fonts are embedded in a PDF document. For example, the output below pdffonts suggests missing fonts (such as Helvetica) in the PDF document.
In order to avoid such a problem, here is how to embed all fonts in LaTex compile time.
$ latex document.tex$ dvips -Ppdf -G0 -t letter -o document.ps document.dvi$ ps2pdf -dPDFSETTINGS=/prepress \\-dCompatibilityLevel=1.4 \\-dAutoFilterColorImages=false \\-dAutoFilterGrayImages=false \\-dColorImageFilter=/FlateEncode \\-dGrayImageFilter=/FlateEncode \\-dMonoImageFilter=/FlateEncode \\-dDownsampleColorImages=false \\-dDownsampleGrayImages=false \\document.ps document.pdf
Now you can see all the fonts It is embedded in the PDF. Methods
The above is embedded in the PDF file under Linux LaTex all fonts should be noted that, when to PDF files with embedded fonts best of all fonts, missing part could cause problems font.
Some users may have a better understanding of Ubuntu 12.04 via VNC Remote Desktop, but this method o
During Linux system operation, periodically deleting expired files can free up space memory and avoi
In Ubuntu system operation, when using sudo, sudo:source:command not found error me
jiffies are global variables in Linux systems, which are related to time. What is t
What should I do if the device id of the Linux virtual machine does not match the drive letter?
Linux system expect command operation example
Linux changes the capacity of VirtualBox disk
How Linux uses Crontab to schedule daily work
How to use the sync command on Linux
After the Ubuntu program is updated, the WiFi icon is not displayed properly. How to solve it?
Summary of how to completely delete Linux files
Linux to create file or directory soft links, hard link skills
How to use the Linux system top command
Ubuntu uses SHA256 to verify instances of iso image integrity
PSPR Green Edition easily retrieves Windows system login password
Win10 Mobile official version 10586.218 update content summary
How to open the Win8 administrator account
Retrieving files from the Windows.old folder
Win8 adjusts the display refresh rate to solve the phenomenon of image jitter
Win7 32-bit system prompts "Win7*.Vxd file not found" how to do
Win7 sound suddenly big and small how to do
Supply chain said PCs began to turn Android R&D resources to Win8
Next year Chrome browser will no longer support Windows XP system