summaryrefslogtreecommitdiff
path: root/gnu/packages/fontutils.scm
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2023-10-09 21:21:29 +0200
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2023-10-09 21:21:29 +0200
commit24fee2615ce7a18a7fcd6054b73375a890556cf3 (patch)
tree353f9e87b8ec736f32eed840c58dc7d5651c19cf /gnu/packages/fontutils.scm
parent7d134b57b79188f8c878625d4e09f9bd6181e8c0 (diff)
parent7937c8827b8d23347a3159b4696335bd19fc17aa (diff)
Merge branch 'master' into gnome-team
Diffstat (limited to 'gnu/packages/fontutils.scm')
-rw-r--r--gnu/packages/fontutils.scm62
1 files changed, 62 insertions, 0 deletions
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index c781ae2baf..abb79711da 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -18,6 +18,7 @@
;;; Copyright © 2023 gemmaro <gemmaro.dev@gmail.com>
;;; Copyright © 2023 John Kehayias <john.kehayias@protonmail.com>
;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
+;;; Copyright © 2023 pinoaffe <pinoaffe@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -65,6 +66,7 @@
#:use-module (gnu packages python)
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-xyz)
+ #:use-module (gnu packages qt)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages webkit)
#:use-module (gnu packages xdisorg)
@@ -369,6 +371,37 @@ but also provides many useful font conversion and analysis facilities.
python-ufonormalizer
python-ufoprocessor))))
+(define-public python-beziers
+ (package
+ (name "python-beziers")
+ (version "0.5.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/simoncozens/beziers.py")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1dyr45m15sclbgaz1mrcnw8kny50h09gd45dlpfkgv9qpfxphkg3"))))
+ (build-system python-build-system)
+ (arguments
+ (list #:phases #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv")))))))
+ (native-inputs (list python-pytest python-dotmap python-matplotlib))
+ (propagated-inputs (list python-pyclipper))
+ (home-page "https://simoncozens.github.io/beziers.py/index.html")
+ (synopsis "Python bezier manipulation library")
+ (description
+ "Beziers provides a variety of classes for constructing,
+manipulating and drawing Bezier curves and paths. Principally designed for
+font design software, it allows you to join, split, offset, and perform many
+other operations on paths.")
+ (license license:expat)))
+
(define-public python-cffsubr
(package
(name "python-cffsubr")
@@ -960,6 +993,35 @@ value (e.g. @samp{x=\"95.0\"} becomes @samp{x=\"95\"})
@end itemize")
(license license:bsd-3)))
+(define-public fontobene-qt5
+ (package
+ (name "fontobene-qt5")
+ (version "0.2.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/fontobene/fontobene-qt5")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0gy3sfraf23k7dm4ha8nqpd6madzk0zmxkcb204micyn5b5l8ljg"))))
+ (inputs (list qtbase-5))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "./tests/fontobene-qt5-tests")))))))
+ (home-page "https://github.com/fontobene/fontobene-qt5")
+ (synopsis "Parser for FontoBene stroke fonts")
+ (description "FontoBene-Qt5 is a header-only library to parse FontoBene
+stroke fonts with C++11/Qt5.")
+ ;; Dual-licensed, either license applies.
+ (license (list license:asl2.0 license:expat))))
+
(define-public ttfautohint
(package
(name "ttfautohint")