Python script to convert font kerning data from Adobe fea format to UFO plist format and vice-versa
Project description
Kerning Convertor
This is a python script to convert kerning data in AFDKO features.fea format to UFO groups.plist and kerning.plist format.
usage
- Clone this repository
git clone github.com/mitradranirban/kern-convertor
- Set up virtual environment
python3 -m venv venv
- Activate Virtual environment
venv/bin/activate
- Update pip and install dependencies
pip install -U pip
pip install -r requirements.txt
- Copy the features.fea file in the directory and run the scripts
python3 kern-groups.py features.fea groups.plist
python3 kern-convertor features.fea kerning.plist
Now you can copy the .plist files in your ufo directory.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kern_convertor-0.1.0.tar.gz.
File metadata
- Download URL: kern_convertor-0.1.0.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a34ed5b4e4621a8b552401c598322335c011258824a89686f2ea0b0e1773efc0
|
|
| MD5 |
a777f7de564a2c83badc95d1e4cdb2b2
|
|
| BLAKE2b-256 |
0d265f98f8690573e18dfac5b3e50d50b3e436166132bb8c6c964e468b657cdd
|
File details
Details for the file kern_convertor-0.1.0-py3-none-any.whl.
File metadata
- Download URL: kern_convertor-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb791d862d372bf9419eb5480d3d49edbcffe98f6444e4d3431a080d056ad272
|
|
| MD5 |
28a4c85c6816c858fa4a66f029154c3f
|
|
| BLAKE2b-256 |
34405ee8fa0d0da00d2ead89cc648f8391f46b3748c979b761a2aab9e8bd24c2
|