summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2006-02-15 23:37:26 +0000
committerabs <abs@pkgsrc.org>2006-02-15 23:37:26 +0000
commit775d8346256f6eff07ac82d3a1303f68bf9a2e0c (patch)
treec405f0f898f1d5b8bb1469fc47a3d5b050d0942e /devel
parent9afe0f92a72ccb4b1fb169058cb399367b50e810 (diff)
downloadpkgsrc-775d8346256f6eff07ac82d3a1303f68bf9a2e0c.tar.gz
Add fonts/p5-Font-TTFMetrics-0.1
Font::TTFMetrics encapsulates the font metrics of a true type font file. A true type font file contains several tables which need to be parsed before any useful information could be gathered about the font. There is the excellent module for parsing TTF font in CPAN by Martin Hosken, Font::TTF. But in my opinion the use of Font::TTF requires intimate knowledge of TTF font format. This module was written to support the use of TTF in Pastel 2D graphics library in Perl. Three factors prompted me to write this module: first, I required a fast module to access TTF file. Second, all the access required was read-only. Last, I wanted a user friendly, higher level API to access TTF file.
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Font-TTFMetrics/DESCR11
-rw-r--r--devel/p5-Font-TTFMetrics/Makefile15
-rw-r--r--devel/p5-Font-TTFMetrics/PLIST1
-rw-r--r--devel/p5-Font-TTFMetrics/distinfo5
4 files changed, 32 insertions, 0 deletions
diff --git a/devel/p5-Font-TTFMetrics/DESCR b/devel/p5-Font-TTFMetrics/DESCR
new file mode 100644
index 00000000000..1e9079db184
--- /dev/null
+++ b/devel/p5-Font-TTFMetrics/DESCR
@@ -0,0 +1,11 @@
+Font::TTFMetrics encapsulates the font metrics of a true type font
+file. A true type font file contains several tables which need to
+be parsed before any useful information could be gathered about
+the font. There is the excellent module for parsing TTF font in
+CPAN by Martin Hosken, Font::TTF. But in my opinion the use of
+Font::TTF requires intimate knowledge of TTF font format. This
+module was written to support the use of TTF in Pastel 2D graphics
+library in Perl. Three factors prompted me to write this module:
+first, I required a fast module to access TTF file. Second, all
+the access required was read-only. Last, I wanted a user friendly,
+higher level API to access TTF file.
diff --git a/devel/p5-Font-TTFMetrics/Makefile b/devel/p5-Font-TTFMetrics/Makefile
new file mode 100644
index 00000000000..bda9e15adfe
--- /dev/null
+++ b/devel/p5-Font-TTFMetrics/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/02/15 23:37:26 abs Exp $
+#
+
+DISTNAME= Font-TTFMetrics-0.1
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Font/}
+
+MAINTAINER= tech-pkg@NetBSD.org
+COMMENT= Perl parser for the True type font metric (TTF) files
+
+PERL5_PACKLIST= auto/Font/TTFMetrics/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-Font-TTFMetrics/PLIST b/devel/p5-Font-TTFMetrics/PLIST
new file mode 100644
index 00000000000..d80630e12ff
--- /dev/null
+++ b/devel/p5-Font-TTFMetrics/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/02/15 23:37:26 abs Exp $
diff --git a/devel/p5-Font-TTFMetrics/distinfo b/devel/p5-Font-TTFMetrics/distinfo
new file mode 100644
index 00000000000..d296c367679
--- /dev/null
+++ b/devel/p5-Font-TTFMetrics/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/02/15 23:37:26 abs Exp $
+
+SHA1 (Font-TTFMetrics-0.1.tar.gz) = 0e504a29e9f8c1cb5f76da243ade8e320b708d5d
+RMD160 (Font-TTFMetrics-0.1.tar.gz) = 8609503ba45beb6643832d724b816d10fd1e89a4
+Size (Font-TTFMetrics-0.1.tar.gz) = 14372 bytes