Skip to main content

Disclaimer

This is a fork of https://github.com/googlefonts/fontreport

The original repository was archived by the owner on October 19, 2023. This version has been updated to compile correctly with Python 3 and includes additional information about the unicode block names and formatting improvements for better PDF output visualization.

FontReport

FontReport is a tool that allows the user to generate a report about a given font (TTF or OTF) listing its features in the plain-text (default) or PDF format. It is useful in quickly identifying such things as the Unicode coverage of the font, what glyphs are in it, what Open Type features it supports, available ligatures, and glyph substitutions.

Requirements

Install TeX Live following installation instructions for your platform. (Text Live is needed because FontReport uses xetex to generate PDF from .tex source.) Also, make sure python setuptools are installed.

Ubuntu

apt-get install python-setuptools texlive-xetex texlive-latex-recommended

Mac OS X

Setuptools are pre-installed for MacOS-X. To set up TeX Live, download and run MacTeX installation package at http://tug.org/cgi-bin/mactex-download/MacTeX.pkg

Other platforms

See http://www.tug.org/texlive/

Build

python -m build

Install

pip install dist/fontreport-2.0-py3-none-any.whl

or

pipx install dist/fontreport-2.0-py3-none-any.whl

Usage samples

Generate a PDF report

fontreport NotoSansMalayalam-Regular.ttf Malayalam.pdf

Resulting report: NotoSansMalayalam-Regular.pdf

fontreport NotoKufiArabic-Regular.ttf NotoKufiArabic-Regular.pdf

Resulting report: NotoKufiArabic-Regular.pdf

Generate a plain-text report

fontreport NotoSansMalayalam-Regular.ttf Malayalam.txt

Resulting report: NotoSansMalayalam-Regular.txt

Find out if a given Unicode character is included in what fonts in a directory

for file in *.ttf; do fontreport "$file" | grep U+XXXX > temp.txt && echo $file && cat temp.txt; done > summary.txt

Find language-specific substitutions defined in a font

fontreport NotoKufiArabic-Regular.ttf | grep locl

The output is:

locl  Localized Forms arab-URD  1
   1  locl                  uni0667 -> uni06F7.urdu
   1  locl                  uni06F4 -> uni06F4.urdu
   1  locl                  uni06F6 -> uni0666

Report Content

Currently a report consists of several tables:

  • Unicode coverage
  • Glyphs coverage
  • OpenType Features
  • Ligatures
  • Substitutions

Metadata

Release files for fontreport 2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fontreport 2.0
File Size Uploaded Provenance Actions
fontreport-2.0.tar.gz 1.2 MB Without provenance Details for fontreport-2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fontreport 2.0
File Interpreter ABI Platform Actions
fontreport-2.0-py3-none-any.whl Python 3 none any Details for fontreport-2.0-py3-none-any.whl

Total release size: 1.2 MB

Release files / fontreport-2.0.tar.gz

Download URL fontreport-2.0.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
95d04212a314fbb620123c2084d3e90322f19987c8c696b7ac1f102b70dcab7d
BLAKE2b-256 checksum
How to use checksums
470bf30ed034bb4c49af28318b25ce20d4b0ded748710afc106753fcd2e8412f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release files / fontreport-2.0-py3-none-any.whl

Download URL fontreport-2.0-py3-none-any.whl
Size 22.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7683f0b0ec6bd280266bf03e533ca746ab795d85bcf19d669289a0a0f1f83eb6
BLAKE2b-256 checksum
How to use checksums
a3b3a45b7f11107ba50fe704a563a817161f390ea2c732bb7ed49a56c96c820e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Security for fontreport 2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page