fontmatrix v0.9.0 — GPL v2 Licensed Oct 28, 2026

Fontmatrix

$ cat /etc/motd — A GPL'd font manager for Linux users

How to Identify a Font From an Image or Screenshot

Oct 19, 2026 · by Noah Vance · News
How to Identify a Font From an Image or Screenshot

To identify a font from an image, crop the picture down to a clear sample of the text, straighten and sharpen it, then compare its letter shapes against candidate typefaces, either with an automated recognition service or by eye. The most reliable clues are a handful of distinctive characters: how the lowercase “a” and “g” are built, the shape of the serifs (if there are any), the height of the lowercase letters relative to the capitals, and the contrast between thick and thin strokes.

Automated recognition gets you a shortlist. Careful comparison of letterforms tells you which candidate, if any, is actually right. This guide covers both, along with what to do when the text you’re looking at isn’t a font at all.

How font identification actually works

Every typeface is a set of design decisions repeated across its characters: the angle of a curve, where a stroke ends, how round the “o” is, how tall the lowercase letters stand. Identification means matching those decisions in your image against the decisions in known designs.

Recognition software does this by isolating individual letters, measuring their shapes and comparing them against a database of typefaces. The results depend heavily on two things: how cleanly the letters can be separated and measured, and whether the typeface is in that database at all. Neither is guaranteed. A blurry photo, connected script letters or custom lettering can defeat even good software.

Manual identification follows the same logic, only more slowly. You look at the most characteristic letters, narrow the field by style and confirm the match letter by letter. The two approaches work best together.

Font or typeface, and why it matters here

The words are often used interchangeably, but the distinction is useful when you search.

A typeface is the overall design, such as Garamond, Helvetica or Futura. A font is, strictly, a specific version of that design: a particular weight and style, such as Helvetica Bold Italic. In digital terms, each font is usually a separate file.

When you identify text in an image, you’re normally identifying the typeface first, then working out which weight and style is used. Two images in the same typeface can look surprisingly different if one uses a light weight and the other a heavy condensed style, and recognition software can sometimes return the right family with the wrong weight.

Check whether you need an image at all

Before working from a screenshot, check whether the original text is available in a form that reveals the font directly.

On a live web page, the font is usually stated in the page’s code. In Chrome or Edge, right-click the text, choose Inspect, then open the Computed tab; near the bottom, the Rendered Fonts section shows which font the browser actually used. Firefox’s Inspector has a dedicated Fonts panel that lists the fonts used on the selected element. This is far more reliable than image recognition, because it reports the font itself, not a visual guess. Bear in mind that the font named in a style sheet may be a fallback rather than the one shown, which is why the rendered font is the one to trust.

In a PDF, embedded fonts are often listed in the document’s properties. In Adobe Acrobat and Acrobat Reader, the Fonts tab under File > Properties shows them. Fonts may appear with subset prefixes, a string of letters before the name, but the family name is usually still readable.

In a document you have the editable file for, such as a Word or design file, selecting the text normally shows the font name directly, unless the text has been converted to outlines.

If none of these apply, because you only have a photograph, a flattened image or a logo, image-based identification is the next step.

Preparing an image for recognition

The quality of the sample largely determines the quality of the result. A few minutes of preparation often turns a useless set of suggestions into a correct one.

Crop to a single, clean line of text

Recognition works best on one line of text, horizontal and isolated from other elements. Crop out icons, photos, borders and other lines of text. A cluttered sample makes it harder for software to decide where letters begin and end, and it may mix in characters from a second typeface.

Include the most distinctive letters

If you can choose which part of the text to crop, prefer words that contain revealing letters: lowercase “a”, “g”, “e”, “k”, “t” and “y”, and capitals such as “R”, “G”, “Q” and “M”. A line made only of simple letters such as “l”, “i”, “o” and “n” gives very little to work with, because those shapes look similar in many sans serif typefaces.

Straighten and flatten perspective

Text photographed at an angle is distorted: letters further away appear narrower and shorter. Straighten the baseline, the invisible line the letters sit on, and, if your image editor allows it, correct the perspective so the letters appear as if seen head-on. Recognition software can misread perspective distortion as a different set of proportions.

Increase contrast and simplify the background

Dark letters on a plain light background are easiest to read. Convert the crop to greyscale, raise the contrast, and remove textured or patterned backgrounds where you can. For light text on a dark background, inverting the colours can help some recognition methods.

Use the largest, sharpest version available

Small text in a screenshot is softened by anti-aliasing, the grey pixels screens use to smooth edges, and JPEG compression adds blocky artefacts around curves. Both blur exactly the details that distinguish one typeface from another. If you can zoom into the original page before taking the screenshot, or find a higher-resolution version of the image, do that rather than enlarging a small image afterwards. Enlarging adds pixels, not detail.

Using recognition methods

There are three broad approaches, and they’re most effective in combination.

Automated image recognition. Upload a prepared crop to a recognition service, confirm which characters it has detected, and review its suggested matches. A font identification tool of this kind typically returns a ranked list of candidates, not a definitive answer. Treat the list as a starting point and check the top results against your sample letter by letter, not by overall impression.

Visual browsing by classification. If recognition fails, narrow the field by category: serif or sans serif, geometric or humanist, condensed or wide, script or display. Many font libraries let you filter by these characteristics, which makes manual comparison practical.

Asking people. Typography communities can often identify unusual or vintage typefaces that databases miss, especially when the sample is a logo, a historical poster or custom lettering. Provide the cleanest crop you have and any context, such as the brand, date or country the image comes from.

Comparing letter shapes

Whichever method gives you candidates, confirm them by comparing specific features. Look at enlarged samples of your image and the candidate side by side, focusing on one feature at a time.

The lowercase “a” and “g”

These two letters are among the most useful in typography, because they come in different basic structures.

A double-storey “a” has a bowl at the bottom and a curved stroke arching over the top, as in most text typefaces. A single-storey “a” is a simple round bowl with a vertical stem, as in Futura and many geometric designs. Similarly, the lowercase “g” can be double-storey, with an upper bowl, a closed or open lower loop and a small ear, as in many serif typefaces, or single-storey, with one bowl and a hooked tail.

If your image shows a single-storey “a” and a candidate uses a double-storey one, the candidate is wrong, however similar the rest of the text looks. Some typefaces also offer alternative versions of these letters as stylistic alternates, which is worth remembering if a match is close in every other respect.

Serifs

Serifs are the small strokes at the ends of letters. They can be:

  • Bracketed, curving smoothly into the main stroke, as in many traditional book faces.

  • Hairline, extremely thin and flat.

  • Slab, thick and blocky, with little or no bracket.

  • Absent, in sans serif typefaces.

The shape where a serif meets the stem often separates closely related designs.

Stroke contrast

Compare the thickest and thinnest parts of letters such as “o” and “e”. High-contrast typefaces, like the Didone styles used in fashion magazines, have very thin hairlines next to heavy main strokes. Low-contrast typefaces keep strokes nearly even. Also note where the thinnest points fall: in many traditional serifs the stress is diagonal, while in Didone designs it’s vertical.

X-height and proportions

The x-height is the height of lowercase letters without ascenders or descenders, such as “x”, “a” and “o”, relative to the capitals. A large x-height makes text look bigger and more open at the same point size; a small one gives a more classical appearance. Comparing the x-height ratio quickly rules out many candidates. Also compare overall width: is the “o” a near-perfect circle, an oval or a condensed rounded rectangle?

Terminals and distinctive capitals

Terminals are the ends of strokes that don’t have serifs, such as the top of a “c” or the tail of a “t”. They can be cut horizontally, vertically or at an angle, or end in a ball. Capitals often carry the most personality. Watch the leg of the “R”, the spur on the “G”, the tail of the “Q”, and whether the middle strokes of the “M” reach the baseline.

A practical example: Helvetica or Arial?

These two sans serifs are often confused, because Arial was designed with matching proportions. A few letters separate them reliably:

  • “R”: Helvetica’s leg drops close to vertical from the bowl, while Arial’s leg is diagonal and straighter.

  • “G”: Helvetica’s capital “G” has a clear spur at the bottom right. Arial’s does not.

  • “t”: The top of Arial’s “t” is cut at an angle. Helvetica’s is flat.

  • Stroke endings: Helvetica’s terminals, on letters such as “c”, “e” and “s”, tend to be horizontal, while Arial’s are angled.

The same method works for any pair of near-identical candidates: find the letters where they differ and check only those.

Spacing

Look at letter spacing and the space between words. Typefaces are designed with their own default spacing, but spacing is also easily adjusted by whoever set the text, so treat it as supporting evidence, not proof.

Identifying fonts from logos

Logos are often the hardest case, for a simple reason: many logos don’t use a font at all.

Brand lettering is frequently drawn by hand or created as custom lettering, then refined to work as a unique mark. Even when a logo starts from an existing typeface, designers often adjust it, joining letters, changing proportions, modifying a single character or tightening spacing far beyond the original. Large companies also commission custom typefaces that aren’t available for public licensing at all.

In these cases, recognition software may confidently return the closest typeface in its database, which can look similar while being a different design. If a logo matches in some letters but not others, it’s more likely modified or custom lettering than an unidentified font.

When you work with logos:

  • Separate the wordmark from any icon or symbol before trying recognition.

  • Compare individual letters rather than the whole word, since spacing and joins may be custom.

  • Look for official brand guidelines. Some organisations publish the typefaces they use for supporting text, even when the logo itself is custom.

  • Accept that the realistic goal may be a similar typeface rather than an exact match.

Why recognition fails

A failed or poor match doesn’t necessarily mean your method is wrong. Common causes include:

  • Distortion. Perspective, curved surfaces such as bottles or shirts, and stretching in an editor all change letter proportions.

  • Effects. Outlines, shadows, textures, glows and 3D treatments hide the edges recognition relies on.

  • Connected letters. Script and handwriting styles join characters, making it hard to separate them for measurement.

  • Compression and low resolution. Fine details such as serifs and thin hairlines can disappear entirely.

  • Missing from the database. New, obscure, regional or proprietary typefaces may not be included in a recognition service at all.

  • Custom or modified lettering. As with logos, the text may never have been a font.

When this happens, return to manual comparison by classification and distinctive letters, or ask a typography community.

Exact match versus similar alternative

It’s worth being clear about which result you’ve found.

An exact match shares every characteristic of your sample. The same letter structures, terminals, contrast, proportions and capitals appear in every character you can check. Ideally, you confirm this by setting the same words in the candidate font at a similar size and laying the result over your image.

A similar alternative shares the overall style but differs in details. For many uses, such as a mock-up, a presentation or a personal project, a close alternative is perfectly adequate and may be easier to obtain. Start from the features that matter most visually: classification, x-height, width and stroke contrast. Then prioritise the letters that appear most prominently in your own text.

Check the licence before using it

Identifying a typeface doesn’t give you the right to use it. Fonts are software, and their use is governed by licences.

Licences can differ for desktop use (designing printed materials), web embedding, apps, e-books and broadcast use, and some limit the number of users or devices. A font installed on your computer may be licensed only for use with the software it came with. Many open-source typefaces are released under the SIL Open Font License, which generally allows commercial use, but you should still read the terms of the specific font.

For any commercial project, obtain the font from its designer, foundry or an authorised distributor, and check that the licence covers your intended use. If the original is expensive or unavailable, a properly licensed alternative with similar characteristics is often the practical solution.

A quick workflow to keep in mind

  1. Check whether the original text can reveal the font directly, through browser developer tools, PDF properties or the source file.

  2. Crop a clean, straight, high-contrast line containing distinctive letters.

  3. Run recognition and treat the results as a shortlist.

  4. Confirm candidates by comparing the “a”, “g”, serifs, contrast, x-height, terminals and key capitals.

  5. Decide whether you need an exact match or a close alternative.

  6. Check the licence before using the font in a project.

Most text you encounter can be narrowed down to a small number of candidates this way. The cases that remain stubbornly unidentified are often lettering that was never a font in the first place.