Linux tips: How to check which font is used in PDF

Source: Internet
Author: User
Tags linux mint

Linux tips: How to check which font is used in PDF

Q: I want to know what fonts are used in the PDF file or what fonts are embedded. Is there a tool in Linux that can check which font is used in the PDF document?

To check whether the PDF file contains or uses any font, you can use the command line tool pdffonts, which is a PDF Font analysis tool. Pdffonts is a part of the Poppler PDF toolkit.

Install the PDF tool set to Linux

To install Poppler to Debian, Ubuntu or Linux Mint:

  1. $ Sudo apt-get install poppler-utils

To install a PDF tool set to Fedora, CentOS or RHEL:

  1. $ Sudo yum install poppler-utils
Check PDF Font

Pdffonts can list all fonts used in PDF documents. The basic usage of pdffonts is as follows.

  1. $ Pdffonts dockers

The pdffonts tool displays various information about each used font, such as the font name/type, or whether the font is embedded.

If a PDF document contains multiple pages, you can use the "-f" (homepage) and "-l" (last page) options to limit the font scan page range. For example, if you want to find out which font is used on 5-10 pages of a document, run the following command:

  1. $ Pdffonts-f 5-l 10 dockers

Download, install, and configure Ubuntu 14.04

Ubuntu 14.04 system:

Ubuntu 14.04 text tutorial on hard drive installation in Windows 7

This article permanently updates the link address:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.