Skip to main content

TTFQuery

FontTools-based package for querying system fonts

TTFQuery builds on the FontTools package to allow the Python programmer to accomplish a number of tasks:

  • query the system to find installed fonts
  • retrieve metadata about any TTF font file (even those not yet installed)
    • abstract family type
    • proper font name
    • glyph outlines
  • build simple metadata registries for run-time font matching, holding the fonts text can be laid out with and reporting the files that cannot

With these functionalities, it is possible to readily create OpenGL solid-text rendering libraries which can accept abstract font-family names as font specifiers and deliver platform-specific TTF files to match those libraries.

TTFQuery doesn't provide rendering services, but a sample implementation can be found in the OpenGLContext project, from which TTFQuery was refactored.

Metadata

Release files for TTFQuery 2.1.1

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

Source distribution (sdist)

Source distribution for TTFQuery 2.1.1
File Size Uploaded Provenance Actions
ttfquery-2.1.1.tar.gz 34.9 kB With provenance Details for ttfquery-2.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 62.5 kB

Release files / ttfquery-2.1.1.tar.gz

Download URL ttfquery-2.1.1.tar.gz
Size 34.9 kB
Tags Source
SHA-256 checksum
How to use checksums
63f8fd0a4c5f5a10318f316da5ccd1f26cbd0eafd5a2a512cad1ec0f5544beca
BLAKE2b-256 checksum
How to use checksums
c25ab116c050adb534704eb4b12c4eafb6fa8a8b65ea1898c38fba454d6bf964
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / ttfquery-2.1.1-py3-none-any.whl

Download URL ttfquery-2.1.1-py3-none-any.whl
Size 27.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68ca01ad4e403c5d02ae52ba54a24f202ea0f9433ec20a8132dcbdeadeb3cb34
BLAKE2b-256 checksum
How to use checksums
31de4d7362cfe3af520c20ad8073cbe34937f6f30b145d011366ed62dad6f531
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Security for TTFQuery 2.1.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ttfquery-2.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

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.

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