diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-04-05 00:52:28 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-05-12 12:45:27 -0400 |
commit | 63a77de2fc3718e1c8967bbc1281e0735ac2e807 (patch) | |
tree | 6b49e6602715e9d377c41686f56faf78268eac0c /gnu/packages/fontutils.scm | |
parent | ab2bab6d48e1a878301a708a71721a321c707a6d (diff) | |
download | guix-63a77de2fc3718e1c8967bbc1281e0735ac2e807.tar.gz guix-63a77de2fc3718e1c8967bbc1281e0735ac2e807.zip |
gnu: Add python-ufonormalizer.
* gnu/packages/fontutils.scm (python-ufonormalizer): New variable.
Diffstat (limited to 'gnu/packages/fontutils.scm')
-rw-r--r-- | gnu/packages/fontutils.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm index 062b8fbd62..a2e71f1ad0 100644 --- a/gnu/packages/fontutils.scm +++ b/gnu/packages/fontutils.scm @@ -357,6 +357,32 @@ tools can generate partial instances. @end itemize") (license license:expat))) +(define-public python-ufonormalizer + (package + (name "python-ufonormalizer") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "ufonormalizer" version ".zip")) + (sha256 + (base32 "0v5awian2alap7nvxfz38aahyqbqnma16nrqcpr8602hbbki04g6")))) + (build-system python-build-system) + (native-inputs (list python-setuptools-scm unzip)) + (home-page "https://github.com/unified-font-object/ufoNormalizer") + (synopsis "Script to normalize @acronym{UFO, Unified Font Object} data") + (description "The purpose of the @command{ufonormalizer} command is to +provide a standard formatting so that updates to @acronym{UFO, Unified Font +Object} data can be usefully versioned. Examples of formatting applied by +ufoNormalizer include: +@itemize +@item Changing floating-point numbers to integers where it doesn't alter the +value (e.g. @samp{x=\"95.0\"} becomes @samp{x=\"95\"}) +@item Rounding floating-point numbers to 10 digits +@item Formatting XML with tabs rather than spaces. +@end itemize") + (license license:bsd-3))) + (define-public ttfautohint (package (name "ttfautohint") |