Discard GUI information from SFD files
Project description
SFD Normalize
Normalize Spline Font Database (SFD) files by discarding GUI state information making them easier to track in version control without clutter and conflicts between users.
$ sfdnormalize --help
usage: sfdnormalize [-h] [--replace] [--version] [--keep KEEP]
[--sfd-version VERSION]
input_file [output_file]
https://github.com/alerque/sfdnormalize
(For authors, see AUTHORS in source distribution.)
Normalize Spline Font Database (SFD) files
positional arguments:
input_file Input SFD before normalization
output_file Path to write normalized SFD (default: None)
optional arguments:
-h, --help show this help message and exit
--replace, -r Replace in place (default: False)
--version, -V show program's version number and exit
--keep KEEP, -k KEEP Keep lines beginning with these even if they'd be
normally dropped. (Can provide multiple times.)
(default: None)
--sfd-version VERSION, -s VERSION
By default, latest SFD revision known to this program
will be written, unless specified here (default: 3.2)
History
This script started life in the DejaVu Font project written in Perl (and dedicated to the Public Domain). At some point somebody rewrote it in Python, although I was unable to find any history between the latest Perl version and the first Python version that showed up in the Libertinus Font project.
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
sfdnormalize-1.1.1.tar.gz
(9.2 kB
view hashes)
Built Distribution
Close
Hashes for sfdnormalize-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10b8c9b1aacf5cdf4d0c8820cc37ab5d5d92891d0effb1011b0befc815282659 |
|
MD5 | 0a3ea57636d545b0a8979e640624ffd9 |
|
BLAKE2b-256 | 7fe935b40d5148b6e744e12a6e2bec4e94e0b0ac0eeb2d087a578593d11c42ca |