Browse Source

gnu: Add t1lib.

* gnu/packages/freetype.scm (t1lib): New variable.
Andreas Enge 9 years ago
1 changed files with 30 additions and 1 deletions
  1. +30

+ 30
- 1
gnu/packages/freetype.scm View File

@ -62,7 +62,7 @@ anti-aliased glyph bitmap generation with 256 gray levels.")
(inputs `(("expat" ,expat)
("freetype" ,freetype)
("pkg-config" ,pkg-config)))
(synopsis "Fontconfig, a library for configuring and customising font access. ")
(synopsis "Fontconfig, a library for configuring and customising font access.")
"Fontconfig can discover new fonts when installed automatically;
perform font name substitution, so that appropriate alternative fonts can
@ -76,3 +76,32 @@ high quality, anti-aliased and subpixel rendered text on a display.")
(license (license:bsd-style "file://COPYING"
"See COPYING in the distribution."))
(home-page "")))
(define-public t1lib
(name "t1lib")
(version "5.1.2")
(source (origin
(method url-fetch)
(uri "")
(sha256 (base32
(build-system gnu-build-system)
;; Making the documentation requires latex, but t1lib is also an input
;; for building texlive.
`(#:tests? #f ; no test target
(synopsis "T1lib, a library for generating bitmaps from type 1 fonts.")
"T1lib is a library for generating/rasterising bitmaps from Type 1 fonts.
It is based on the code of the X11 rasteriser of the X11 project.
The bitmaps created by t1lib are returned in a data structure with type
GLYPH. This special GLYPH-type is also used in the X11 window system to
describe character bitmaps. It contains the bitmap data as well as some
metric information. But t1lib is in itself entirely independent of the
X11-system or any other graphical user interface. ")
(license license:gpl2)
(home-page "")))