Subject: [bug#27903] Font: font-open-dyslexic

From: ng0 <[email-masked]>
Date: Tue, 1 Aug 2017 10:29:28 +0000

Patch appended.
-- 
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://n0is.noblogs.org/my-keys
https://www.infotropique.org https://krosos.org
From 0a67c7714fe42d61b87446e4cba1f6318646832e Mon Sep 17 00:00:00 2001
From: ng0 <[email-masked]>
Date: Tue, 1 Aug 2017 10:27:46 +0000
Subject: [PATCH] gnu: Add font-open-dyslexic.

* gnu/packages/fonts.scm (font-open-dyslexic): New variable.
---
 gnu/packages/fonts.scm | 34 +++++++++++++++++++++++++++++++++-
 1 file changed, 33 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 51073eff9..bf96c439c 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -7,7 +7,7 @@
 ;;; Copyright © 2015 Eric Dvorsak <[email-masked]>
 ;;; Copyright © 2015, 2017 Ricardo Wurmus <[email-masked]>
 ;;; Copyright © 2015, 2016 Leo Famulari <[email-masked]>
-;;; Copyright © 2016, 2017 ng0 <[email-masked]>
+;;; Copyright © 2016, 2017 ng0 <[email-masked]>
 ;;; Copyright © 2016 Jookia <[email-masked]>
 ;;; Copyright © 2016 Eric Bavier <[email-masked]>
 ;;; Copyright © 2016 Dmitry Nikolaev <[email-masked]>
@@ -1073,3 +1073,35 @@ resolutions.")
     (synopsis "Fonts for MathJax")
     (description "This package contains the fonts required for MathJax.")
     (license license:asl2.0)))
+
+(define-public font-open-dyslexic
+  (package
+    (name "font-open-dyslexic")
+    (version "20160623")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/antijingoist/open-dyslexic/"
+                           "archive/" version "-Stable.tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0al0j9kb32kfavcpq1kigsd36yzvf5yhzqhds0jkh7ngbxyxwkx4"))))
+    (build-system font-build-system)
+    (home-page "https://github.com/antijingoist/open-dyslexic")
+    (synopsis "Font for dyslexics and high readability")
+    (description
+     "OpenDyslexic is a font designed to help readability, and help
+readability for some of the symptoms of dyslexia.
+Letters have heavy weighted bottoms to provide an indication of orientation
+to make it more difficult to confuse with other similar letters.
+Consistently weighted bottoms can also help reenforce the line of text.
+The unique shapes of each letter can help prevent flipping and swapping.
+The italic style for OpenDyslexic has been crafted to still be able to be
+used for emphasis while still being readable.")
+    (license
+     (license:fsdg-compatible
+      "https://www.gnome.org/fonts/#Final_Bitstream_Vera_Fonts"
+      "The Font Software may be sold as part of a larger software package but
+no copy of one or more of the Font Software typefaces may be sold by
+itself."))))
-- 
2.13.3