Skip to main content

Discard GUI information from SFD files

Project description

SFD Normalize

Build

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.0.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

sfdnormalize-1.1.0-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file sfdnormalize-1.1.0.tar.gz.

File metadata

  • Download URL: sfdnormalize-1.1.0.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for sfdnormalize-1.1.0.tar.gz
Algorithm Hash digest
SHA256 d8426bf8be99accd08afcd6f9ed987dd8d545cb44540d450db60da93b4e57248
MD5 4b60b584f588ed8b42d229357c590f2e
BLAKE2b-256 1bbee263580554e3cc005f0f6bc130c7f41b8867fed988cf7f6e9e443133d9dd

See more details on using hashes here.

Provenance

File details

Details for the file sfdnormalize-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: sfdnormalize-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for sfdnormalize-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b8afb7d8b8bd90483a4a1bd0497651f3dca397d32adbe686600b7df554ce10d1
MD5 4179580f25cf3f7fa9657319ac7bb978
BLAKE2b-256 7496738790aac676865cae00f94e5b642e22fd3455e30fbd97dd999b368d23f6

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page