Displays Unicode chars coverage of system fonts
Project description
UniCover is a simple command-line tool displaying information about Unicode coverage of system fonts. It should work on systems that utilize Fontconfig (Linux and other Unix-like).
Dependencies: Python-fontconfig, freetype-py.
Installation
In most cases issuing the following command will be sufficient:
pip3 install --user UniCover
If you get an error from Python Fontconfig library, try installing its header files first, eg. for Debian or Ubuntu:
sudo apt install libfontconfig1-dev
Usage
Basic usage
Display all characters contained given font family or font file
Returns list of characters grouped by Unicode blocks.
unicover -f 'Liberation Sans'
unicover -f /usr/share/fonts/TTF/LiberationSans-Bold.ttf
unicover -f 'Liberation Sans' -g # lists only Unicode blocks
unicover -f 'Liberation Sans' -o # omits summary line (total number of characters)
You can discover what fonts are installed in your system using Fontconfig:
fc-list : family # lists font families
fc-list : file family # lists font files with families they belong to
List all system fonts that contain the specified character
unicover -c ₹
unicover -c 54f6
unicover -f ₹ -g # lists only font families
unicover -f ₹ -o # omits summary line (total number of fonts)
System fonts summaries
Display all Unicode blocks supported by the system fonts
unicover -g
List all characters supported by the system fonts
unicover -l
unicover -gl # group characters by Unicode block
Note: output will be very long.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file UniCover-0.1.tar.gz
.
File metadata
- Download URL: UniCover-0.1.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2593a7cc94bd9a4eb51e309fde1080278c55d8cccd6171c4de44195ea0c0dced |
|
MD5 | 84401db5e6a85b721e85bac280f5f994 |
|
BLAKE2b-256 | dd204018e818308545720e3086248853f913eca716da60cc698944fda1eb2a44 |
File details
Details for the file UniCover-0.1-py3-none-any.whl
.
File metadata
- Download URL: UniCover-0.1-py3-none-any.whl
- Upload date:
- Size: 16.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5db25bf7c09daebb93515b88cc8c3f6f151070cdea0a16db939dcdf4276df659 |
|
MD5 | 516e81360b9c2ab3e5c5321a470c2bc5 |
|
BLAKE2b-256 | bc3dab82706717d47475897d28afed3756e4c9f2fa9ddc418d36643f0bed5f29 |