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

Uploaded Source

Built Distribution

sfdnormalize-1.0.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sfdnormalize-1.0.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9

File hashes

Hashes for sfdnormalize-1.0.0.tar.gz
Algorithm Hash digest
SHA256 500eeddb8b1d0dd7c3e807a04429be64ebf165e3e1cb572b81ac1195728a35e0
MD5 7cd7b23e0b27f03b4cc74610cfc7231a
BLAKE2b-256 133fb28d5da445ad89a8cdaeee9df51710b6d10ff9dacdeb0b430de8ce408769

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: sfdnormalize-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9

File hashes

Hashes for sfdnormalize-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 33a27ae0a8270b1a6b411857dfb0998ed27bc8d6c74c402fc2d94f4f05b48937
MD5 a72c540eb7e344e53652de3f23e2641f
BLAKE2b-256 0843ca5d85ea0ae60372ea3d813bf670a023bec2a5d7e94e85a3d42180f08dce

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