Fontquery
fontquery is a tool to query fonts in the certain Fedora release.
How to install
$ pip3 install fontquery
Or in Fedora,
# dnf install fontquery
How to install from git
$ pip3 install --user build wheel
$ python3 -m build
$ pip3 install --user dist/fontquery*.whl
Or in Fedora,
# dnf install python3-build python3-wheel
$ python3 -m build
$ pip3 install --user dist/fontquery*.whl
Usage
usage: fontquery [-h] [-C] [--disable-cache] [-f FILENAME_FORMAT] [-r RELEASE] [-l LANG]
[-m {fcmatch,fclist,json,html}] [-O OUTPUT_DIR] [-t {minimal,extra,all}] [-T TITLE] [-v] [-V]
[args ...]
Query fonts
positional arguments:
args Queries (default: None)
options:
-h, --help show this help message and exit
-C, --clean-cache Clean caches before processing (default: False)
--disable-cache Enforce processing everything even if not updating (default: False)
-f FILENAME_FORMAT, --filename-format FILENAME_FORMAT
Output filename format. only take effects with --mode=html (default:
{platform}-{release}-{target}.{mode})
-r RELEASE, --release RELEASE
Release number such as "rawhide" and "39". "local" to query from current environment
instead of images (default: ['local'])
-l LANG, --lang LANG Language list to dump fonts data into JSON (default: None)
-m {fcmatch,fclist,json,html}, --mode {fcmatch,fclist,json,html}
Action to perform for query (default: fcmatch)
-O OUTPUT_DIR, --output-dir OUTPUT_DIR
Output directory (default: .)
-t {minimal,extra,all}, --target {minimal,extra,all}
Query fonts from (default: minimal)
-T TITLE, --title TITLE
Page title format. only take effects with --mode=html (default: {platform} {release}:
{target})
-v, --verbose Show more detailed logs (default: 0)
-V, --version Show version (default: False)
usage: fontquery-diff [-h] [-C] [--disable-cache] [--disable-update] [-l LANG] [--loose-comparison] [-o OUTPUT] [-P {fedora,centos}]
[-R {html,text}] [-t {minimal,extra,all}] [-v] [-V]
[compare_a] [compare_b]
Show difference between releases
positional arguments:
compare_a Release to compare (default: rawhide)
compare_b Release to compare (default: local)
options:
-h, --help show this help message and exit
-C, --clean-cache Clean up caches before processing (default: False)
--diff-only Show diff only (default: False)
--disable-cache Enforce processing everything even if not updating (default: False)
--disable-update Do not update the container image (default: False)
-l, --lang LANG Language list to dump fonts data into JSON (default: None)
--loose-comparison Do not compare results accurately (default: False)
-o, --output OUTPUT Output file (default: -)
-P, --product {fedora,centos}
Product name to operate (default: fedora)
-R, --render {html,text}
-t, --target {minimal,extra,all}
Query fonts from (default: minimal)
-v, --verbose Show more detailed logs (default: 0)
-V, --version Show version (default: False)
usage: fontquery-pkgdiff [-h] [-C] [--disable-cache] [--disable-update] [-r RELEASE] [-l LANG] [--loose-comparison] [-o OUTPUT]
[-P {fedora,centos}] [-R {html,text}] [-t {minimal,extra,all}] [-v] [-V]
package [package ...]
Check if a given package makes any difference
positional arguments:
package Test package to see difference
options:
-h, --help show this help message and exit
-C, --clean-cache Clean up caches before processing (default: False)
--diff-only Show diff only (default: False)
--disable-cache Enforce processing everything even if not updating (default: False)
--disable-update Do not update the container image (default: False)
-r, --release RELEASE
Target release to check (default: rawhide)
-l, --lang LANG Language list to dump fonts data into JSON (default: None)
--loose-comparison Do not compare results accurately (default: False)
-o, --output OUTPUT Output file (default: -)
-P, --product {fedora,centos}
Product name to operate (default: fedora)
-R, --render {html,text}
-t, --target {minimal,extra,all}
Query fonts from (default: minimal)
-v, --verbose Show more detailed logs (default: 0)
-V, --version Show version (default: False)
To query sans-serif for Hindi on Fedora 36,
$ fontquery -r 36 sans-serif:lang=hi
Lohit-Devanagari.ttf: "Lohit Devanagari" "Regular"
To generate JSON from default-fonts installed environment:
$ fontquery -m json -t minimal
...
To generate html table:
$ fontquery -m json -t minimal | fq2html -o minimal.html -
Or simply
$ fontquery -m html -t minimal -r 40
To check difference between local and reference:
$ fontquery-diff -R text rawhide local
To check difference but ignore insignificant changes such as filename:
$ fontquery-diff --loose-comparison -R text
To check difference with certain packages:
$ fontquery-pkgdiff /path/to/package ...
For developers
Before committing something into git repository, you may want to do:
$ git config core.hooksPath hooks
to make sure our hook scripts works.
Release files for fontquery 1.36
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fontquery-1.36.tar.gz | 34.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fontquery-1.36-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 72.4 kB
Release files / fontquery-1.36.tar.gz
| Download URL | fontquery-1.36.tar.gz |
|---|---|
| Size | 34.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bcd41bc023df7ef7692c4faec6658af46e81762c1fb35eced8639feba44fe887
|
|
BLAKE2b-256 checksum How to use checksums |
a982a70e9391ee899dd032d4f73c5521f307034a07d20d038a5dcbd7fa4121d8
|
| 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 Sep 14, 2026.
Transparency logRelease files / fontquery-1.36-py3-none-any.whl
| Download URL | fontquery-1.36-py3-none-any.whl |
|---|---|
| Size | 38.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7224694636e7cf33d3fb841811c90b7f1ddce64358dbcbada119b2cfe7925c99
|
|
BLAKE2b-256 checksum How to use checksums |
3e9ddf37bd984ff74db24142fc2d67174feca8a4b0cd250be38625af4bc6ed34
|
| 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 Sep 14, 2026.
Transparency log