pdffonts
The pdffonts
command line tool is a part of the Poppler Utilities, which is a suite of tools for working with PDF documents. It is used to analyze and display information about the fonts used in a PDF file. When the pdffonts
command is executed with a specific PDF file as an argument, it retrieves the font information and presents it in tabular format. The information includes the font name, type, encoding, embedded status, and whether the font is subsetted or not. It also displays the number of pages in the PDF file and the total number of fonts used, providing an overview of the font usage in the document. The tool can be used to identify which fonts are present in the PDF, whether they are embedded or not, and their properties, such as permissions and restrictions. Additionally, pdffonts
can be helpful in troubleshooting font-related issues and compatibility problems when viewing or printing PDF files. It supports various font types, including TrueType, Type 1, and OpenType fonts. The tool is generally available for UNIX-like systems, including Linux and macOS, and can be accessed from the command line interface. The pdffonts
command line tool is a valuable utility for PDF analysis, font inspection, and diagnosing font-related problems.
List of commands for pdffonts:
-
pdffonts:tldr:1c2e4 pdffonts: Print PDF file fonts information.$ pdffonts ${filename-pdf}try on your machineexplain this command
-
pdffonts:tldr:3e31d pdffonts: Print additional information on location of the font that will be used when the PDF file is converted to PostScript.$ pdffonts -locPS ${filename-pdf}try on your machineexplain this command
-
pdffonts:tldr:be677 pdffonts: Specify user password for PDF file to bypass security restrictions.$ pdffonts -upw ${password} ${filename-pdf}try on your machineexplain this command
-
pdffonts:tldr:d8d68 pdffonts: Print additional information on location of the font that will be used when the PDF file is rasterized.$ pdffonts -loc ${filename-pdf}try on your machineexplain this command
-
pdffonts:tldr:e67f9 pdffonts: Specify owner password for PDF file to bypass security restrictions.$ pdffonts -opw ${password} ${filename-pdf}try on your machineexplain this command