Skip to main content

FontTools-based package for querying system fonts

Project description

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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ttfquery-2.0.1a1.tar.gz (20.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ttfquery-2.0.1a1-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

Details for the file ttfquery-2.0.1a1.tar.gz.

File metadata

  • Download URL: ttfquery-2.0.1a1.tar.gz
  • Upload date:
  • Size: 20.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ttfquery-2.0.1a1.tar.gz
Algorithm Hash digest
SHA256 2fadfd08b318599661e273bf3a7a678624870670c6bedd506084d35c5c400500
MD5 3741adcfc472696f4299dc8b0823f32f
BLAKE2b-256 9af356a7dfafa2a4c38c1988f1d928198ca2e41c40609965f799eef2bfae06cd

See more details on using hashes here.

Provenance

The following attestation bundles were made for ttfquery-2.0.1a1.tar.gz:

Publisher: publish.yml on mcfletch/ttfquery

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ttfquery-2.0.1a1-py3-none-any.whl.

File metadata

  • Download URL: ttfquery-2.0.1a1-py3-none-any.whl
  • Upload date:
  • Size: 22.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ttfquery-2.0.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 808b15349b88168120f0134ecd7429c2eebe59fc88ca22128ea851b6eea19a19
MD5 3df88966aa870771be85084e1d6f5f3c
BLAKE2b-256 c7a31ec5fe52ecec6350ead41187696859e9d9fafbca0f5710f5d16790193baf

See more details on using hashes here.

Provenance

The following attestation bundles were made for ttfquery-2.0.1a1-py3-none-any.whl:

Publisher: publish.yml on mcfletch/ttfquery

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page