How to Identify and View Fonts and Font Sizes in a PDF
I want to know what fonts a PDF uses and what the font sizes are. You can first check the font information embedded in the file, then verify the font sizes by zooming in and measuring. For scanned documents, you can only rely on judging the glyph shapes. This article explains step by step when each method applies.
Key points of this article
- First, check the font information embedded in the file. Names containing "+" are usually subset fonts; the part after the plus sign is the actual font name.
- Font sizes have no uniform display position, so they must be judged by their actual size: estimate by comparing with common body text sizes, or measure the character height and convert.
- Scanned PDFs are images, so the file contains no font information. You can only tell whether a font is serif or sans-serif by its glyph shapes, and cannot recover the original font.
- After identifying the font, confirm whether it is installed on this machine; otherwise, editing the text may cause it to be replaced with another font.
Many people, when they receive a PDF, want to create a new document based on it or revise a few paragraphs, but they don't know what font the original uses or what size it is. Guessing from memory often leads to the wrong choice, and the edited paragraphs then don't match the surrounding text.
This article is written for people who need to recreate a layout, fill in missing content, or check typesetting. After reading it, you should be able to judge roughly what the font names and font sizes are in a PDF, and also know in which cases this information cannot be found and what methods to use instead.
It should be noted that unifying the font throughout the document is a separate issue; this article only covers recognition and viewing.
How to identify a PDF's fonts and font sizes? A one-sentence answer
Font names are preferably looked up from the font information embedded in the file, while font sizes must be estimated by measuring the actual size. Font information provides accurate names, but there is no standardized annotation for font size, so it can only be determined by comparison with measurements.
| Your situation | Recommended Practices | Cause |
|---|---|---|
| The document was exported from Word or another layout software, and the text can be selected. | First check the embedded font information in the document, then compare it against the source file. | When exporting, fonts are usually embedded, so the font names are highly reliable. |
| What font size is the body text roughly? | Display at actual size; convert by measuring the height of uppercase letters. | Exact figures aren't needed; an estimate is good enough. |
| Scanned PDF, text cannot be selected | Judge serif or sans-serif by letterforms alone; don't aim to identify the font name. | There is no font information in the image. |
| I plan to modify the text in it. | Confirm after recognition that the font is installed on this machine. | When a font is missing, the software switches to a substitute font, so the appearance is inconsistent before and after. |
| Large numbers of files need to be processed in a unified way. | List fonts with a command-line PDF toolkit | Manually opening them one by one is inefficient. |
Before You Begin: Confirm These Points
Before starting, a few things will affect the outcome of the judgment, and clarifying them first will save a lot of rework.
- Can the text be selected? If you can select the text, the font information may be present. If you cannot select it, and the whole block turns into a single image when you drag a selection, the file is a scan or an image. It usually contains no font names, so the methods below can only give a judgment based on glyph shapes.
- Source of the file. If the PDF was exported from Word, the fonts are generally embedded. If it was printed and then scanned, that information has been lost. When you can locate the source file, opening it directly and checking the font settings is the easier route.
- Whether the font is a subset. Many PDFs embed only the characters that are actually used. The font name then carries a prefix of six uppercase letters followed by a plus sign, for example a random letter combination added before the font name. This does not indicate a different font; it is simply a subset of the same font.
- Your purpose. If you only want to see the glyph shapes clearly, a rough judgment is enough. To reproduce the layout precisely, you need to confirm both the font name and the font size.
- Standard units. Font size is measured in points (pt), where 1 pt equals 1/72 inch. The Word size "Small 4" corresponds to 12 pt, which is a reference you can use directly for conversion.
Method for Viewing PDF Fonts and Font Sizes Step by Step
The steps below work for most PDFs whose text displays normally. After completing each step, you can use the next step to verify it.
- Confirm the file type. Try selecting a passage of body text with the mouse. If the text can be selected and highlighted, it is a text-based PDF, and you can continue to check the font information. If selecting produces only one large image block, switch to the approach for scanned documents.
- Open the document's font information. In a common PDF reader, find the document properties or a font-related information panel. The list will show the names and types of the fonts embedded in the file. Menu locations vary between readers, so just look for an entry such as "Properties" or "Fonts."
- Read the font names. A name that begins with six capital letters and a plus sign is a subset prefix; remove it and what remains is the font name. Common body-text fonts appear as names such as SimSun, SimHei, Times, or Arial, and headings and body text often use different fonts.
- Compare glyph shapes page by page. Randomly pick one passage each of body text, heading, and footnote, zoom in, and observe stroke thickness and whether there are serifs (the small strokes at the ends of letter strokes). If the list contains several fonts, match each one to the specific paragraphs where it is used.
- Display at actual size and measure the font size. Set the page to actual size and use a ruler or the on-screen measuring tool to measure the height of one capital letter. The ratio between cap height and font size differs among typefaces, so the result is only an estimate.
- Compare with common font sizes. If the measurement is close to 10.5 pt, 12 pt, or 14 pt, you can assume it is a common body-text or heading size. If it deviates clearly, take several measurements and average them to avoid errors from a single character.
- Test in the PDF editor of OmniDoc. Using the PDF editor in the OmniDoc desktop client, you can edit paragraph text directly. Comparing glyph shapes before and after editing lets you indirectly judge whether the original font is available. If the difference after replacement is obvious, the local machine may lack that font.
- Record your conclusions. Write down the font name, estimated font size, measurement method, and any uncertainties together. When you check again later, you can see at a glance which items have been confirmed and which are only estimates.
Verify each item after completion
After recognition is complete, it is advisable to check each item one by one, so that estimated results are not treated as definitive conclusions.
| Checklist items | How do you see it? | What should I do if I have a problem? |
|---|---|---|
| Is the font name complete? | Is there still a subset prefix before the name, and is only some of the font listed? | Remove the prefix and check again, or go back to the source file to confirm. |
| Are the fonts consistent across different paragraphs? | Body text, headings, and headers/footers, each in a side-by-side comparison | Record in paragraphs; don't apply one conclusion to the whole text. |
| Is font size estimation stable? | Are the results of multiple measurements close to each other? | Take the average of multiple locations, and label it as an estimate |
| Is this font installed on this machine? | Are the glyph shapes the same before and after modifying the text? | Install the corresponding font, or accept a substitute font and state so. |
| Text recognized from the scanned document | Check paragraph by paragraph against the original image. | OCR and machine translation can both make mistakes, so important content should be reviewed manually. |
📊 Core Comparison
Checking font and font size: there are three common approaches, each with its own applicable scenarios and limitations.
| Method | Applicable Scenarios | Limitations |
|---|---|---|
| Read embedded information from a file | Text-based PDF; I need the exact font names. | Font sizes still need to be estimated separately; scanned documents cannot be used. |
| Visually estimate and measure by actual size | Scanned document, or a file without a font list | Only an estimated result can be obtained; the font name cannot be determined. |
| Compare against the source file | Do you still have the Word or typesetting source files on hand? | Cannot be used when the source file is lost; it is necessary to confirm that the source file is consistent with the PDF version. |
❓ Frequently Asked Questions (FAQ)
1. Can fonts be found in scanned PDFs?
Usually it cannot be found. The scanned file is a full-page image, and the file contains no font information, so the only way to tell serif from sans-serif is by judging the glyph shapes. If you need searchable text, you can run OCR first. However, the fonts recognized by OCR are newly generated text and will not restore the original fonts, and the recognition results must also be checked manually.
2. What does the string of letters in front of a font name mean?
This is usually a marker for an embedded font subset. A PDF embeds only the characters the document actually uses, and to distinguish the different subsets, a random six-uppercase-letter tag followed by a plus sign is prefixed to the name. Remove this part, and what remains is the real font name.
3. Why does the glyph shape change when editing text after identifying the font?
In most cases the font is not installed on this machine, so the software can only fall back to a substitute font. Install the corresponding font first and then make the change, or after making the change, zoom in to compare and confirm there are no obvious differences.
4. How do you tell whether a font size is the common "Xiaosi" (small four) or "Wuhao" (size five)?
After displaying at actual size, measure the height of an uppercase letter, convert it to an estimated font size, and compare it with common values such as 12 pt or 10.5 pt. The result is for reference only; if you need an exact replica, it is recommended to locate the original source file.
5. Without any font information, what else can be done?
It can judge glyph characteristics, such as whether there are serifs and how thick the strokes are, and then choose a substitute font with a similar style. When substituting, state that this is an estimate and do not treat it as the original font.
📝 Summary
Identify PDF fonts and font sizes: first check the font information embedded in the file, then estimate the font size by measuring at the actual rendered size; for scanned documents, rely only on glyph shape judgment. Record the conclusion and the uncertainties at each step, so that you won't have to redo work when modifying or recreating the document because you guessed the font wrong.


