[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
18/47: gnu: Add r-showtext.
From: |
guix-commits |
Subject: |
18/47: gnu: Add r-showtext. |
Date: |
Fri, 13 Dec 2019 16:42:17 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit d7937243bad6ffb204b98521c8cdda0f7864bf5a
Author: Ricardo Wurmus <address@hidden>
Date: Fri Dec 13 18:28:53 2019 +0100
gnu: Add r-showtext.
* gnu/packages/cran.scm (r-showtext): New variable.
---
gnu/packages/cran.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index c4f1586..cddf789 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -16485,3 +16485,35 @@ into R, in order to support other packages.")
"This package provides font files that can be used by the @code{showtext}
package.")
(license license:asl2.0)))
+
+(define-public r-showtext
+ (package
+ (name "r-showtext")
+ (version "0.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "showtext" version))
+ (sha256
+ (base32
+ "1ihgqzfia36b0n9aa41p1w98wxxvs1lxh1zz0570hbfqmph1sk73"))))
+ (properties `((upstream-name . "showtext")))
+ (build-system r-build-system)
+ (inputs
+ `(("freetype" ,freetype)
+ ("libpng" ,libpng)
+ ("zlib" ,zlib)))
+ (propagated-inputs
+ `(("r-showtextdb" ,r-showtextdb)
+ ("r-sysfonts" ,r-sysfonts)))
+ (native-inputs `(("pkg-config" ,pkg-config)))
+ (home-page "https://github.com/yixuan/showtext")
+ (synopsis "Using fonts more easily in R graphs")
+ (description
+ "This package aims to make it easy to use various types of
+fonts (TrueType, OpenType, Type 1, web fonts, etc.) in R graphs, and supports
+most output formats of R graphics including PNG, PDF and SVG. Text glyphs
+will be converted into polygons or raster images, hence after the plot has
+been created, it no longer relies on the font files. No external software
+such as Ghostscript is needed to use this package.")
+ (license license:asl2.0)))
- 14/47: gnu: Add r-abemus., (continued)
- 14/47: gnu: Add r-abemus., guix-commits, 2019/12/13
- 22/47: gnu: Add r-activedriverwgs., guix-commits, 2019/12/13
- 26/47: gnu: Add r-tcltk2., guix-commits, 2019/12/13
- 31/47: gnu: Add r-sparselda., guix-commits, 2019/12/13
- 08/47: gnu: Add r-abacus., guix-commits, 2019/12/13
- 20/47: gnu: Add r-abstractr., guix-commits, 2019/12/13
- 13/47: gnu: Add r-abcrlda., guix-commits, 2019/12/13
- 17/47: gnu: Add r-showtextdb., guix-commits, 2019/12/13
- 33/47: gnu: Add r-ace2fastq., guix-commits, 2019/12/13
- 30/47: gnu: Add r-elasticnet., guix-commits, 2019/12/13
- 18/47: gnu: Add r-showtext.,
guix-commits <=
- 21/47: gnu: Add r-abtest., guix-commits, 2019/12/13
- 32/47: gnu: Add r-accsda., guix-commits, 2019/12/13
- 35/47: gnu: Add r-randtoolbox., guix-commits, 2019/12/13
- 39/47: gnu: Add r-acfmperiod., guix-commits, 2019/12/13
- 44/47: gnu: Add r-filematrix., guix-commits, 2019/12/13
- 45/47: gnu: Add r-acmeeqtl., guix-commits, 2019/12/13
- 46/47: gnu: Add r-acmer., guix-commits, 2019/12/13
- 47/47: gnu: Add r-r-huge., guix-commits, 2019/12/13
- 15/47: gnu: Add r-rintrojs., guix-commits, 2019/12/13
- 16/47: gnu: Add r-sysfonts., guix-commits, 2019/12/13