guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/20: gnu: Add r-extrafont.


From: guix-commits
Subject: 03/20: gnu: Add r-extrafont.
Date: Wed, 27 Mar 2019 11:17:29 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 2331bf2a64f06fac24e1ce9fb0b5614ffb98c160
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Mar 27 15:20:32 2019 +0100

    gnu: Add r-extrafont.
    
    * gnu/packages/cran.scm (r-extrafont): New variable.
---
 gnu/packages/cran.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 2eacf24..00b6734 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -13010,3 +13010,36 @@ interaction search in high-dimensional data.")
     (description
      "This package holds the database for the @code{extrafont} package.")
     (license license:gpl2)))
+
+(define-public r-extrafont
+  (package
+    (name "r-extrafont")
+    (version "0.17")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "extrafont" version))
+       (sha256
+        (base32
+         "0b9k2n9sk23bh45hjgnkxpjyvpdrz1hx7kmxvmb4nhlhm1wpsv9g"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-extrafontdb" ,r-extrafontdb)
+       ("r-rttf2pt1" ,r-rttf2pt1)))
+    (home-page "https://github.com/wch/extrafont";)
+    (synopsis "Tools for using fonts in R")
+    (description
+     "The extrafont package makes it easier to use fonts other than the basic
+PostScript fonts that R uses.  Fonts that are imported into extrafont can be
+used with PDF or PostScript output files.  There are two hurdles for using
+fonts in PDF (or Postscript) output files:
+
address@hidden
address@hidden Making R aware of the font and the dimensions of the characters.
address@hidden Embedding the fonts in the PDF file so that the PDF can be 
displayed
+  properly on a device that doesn't have the font.  This is usually needed if
+  you want to print the PDF file or share it with others.
address@hidden enumerate
+
+The extrafont package makes both of these things easier.")
+    (license license:gpl2)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]