kern-convertor
kern-convertor is a Python utility for converting kerning data in AFDKO features.fea format into UFO-compatible groups.plist and kerning.plist files.
Features
-
Converts AFDKO-style kerning features into UFO-format kerning and group files for direct use in font editors or build processes.
-
Command-line interface for batch processing kerning data from feature files.
-
The fea2kern.py script provides the ability to convert UFO-format groups.plist and kerning.plist files back into Adobe FEA (features) syntax.
Installation
Install via pip from PyPI:
pip install kern-convertor
Usage
After installation, kern-convertor provides command-line scripts to generate kerning and group files from Adobe Feature File and vice-versa :
Convert Adobe Feature file to UFO plist format
To convert a features file to groups.plist:
kern-groups features.fea groups.plist
To convert kerning pairs to kerning.plist:
kern-convertor features.fea kerning.plist
Replace features.fea with the path to your AFDKO features file. Output .plist files can be copied into the appropriate UFO font directory.
Example
To convert your kerning feature file and save the outputs in the current directory:
kern-groups path/to/features.fea groups.plist
kern-convertor path/to/features.fea kerning.plist
Convert kerning data in ufo plist format to Adobe Fea format
fea2kern script converts existing UFO groups.plist and kerning.plist files to a FEA features format file.
Command
fea2kern path/to/groups.plist path/to/kerning.plist output.fea
The first argument is the path to groups.plist
The second argument is the path to kerning.plist
The third argument is the output .fea filename
Example
To generate an Adobe FEA kerning feature from UFO data:
fea2kern groups.plist kerning.plist features.fea
This command writes an AFDKO FEA kerning feature, reconstructed from the groups.plist and kerning.plist files, to features.fea.
Requirements
This tool requires Python 3.7 or later. Any additional dependencies will be installed automatically via pip.
License
See the LICENSE file for licensing details.
Metadata
Release files for kern-convertor 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kern_convertor-0.1.1.tar.gz | 2.3 kB | Without provenance | Details for kern_convertor-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kern_convertor-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for kern_convertor-0.1.1-py3-none-any.whl |
Total release size: 4.8 kB
Release files / kern_convertor-0.1.1.tar.gz
| Download URL | kern_convertor-0.1.1.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9757704a68245fe21d9fc054147eca85c1d7bd166f86bbccdbb5737f2c98db96
|
|
BLAKE2b-256 checksum How to use checksums |
31b88a941f57fd2d8a8f746f25b4c5c2d61c38e11de0dc01ce762117c0ec80d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / kern_convertor-0.1.1-py3-none-any.whl
| Download URL | kern_convertor-0.1.1-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6c0e1d83df95158a3b8edec799a612caada3a29019dd5cfd69ccd7da5ba4e546
|
|
BLAKE2b-256 checksum How to use checksums |
686d9ed44869cbded6d52db7da5c9830c54a755c02a7aedc7a58ccfcce7343c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for kern-convertor 0.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.