pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/p5-Font-TTFMetrics Add fonts/p5-Font-TTFMetrics-0.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b036b5458dde
branches:  trunk
changeset: 508177:b036b5458dde
user:      abs <abs%pkgsrc.org@localhost>
date:      Wed Feb 15 23:37:26 2006 +0000

description:
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:

 devel/p5-Font-TTFMetrics/DESCR    |  11 +++++++++++
 devel/p5-Font-TTFMetrics/Makefile |  15 +++++++++++++++
 devel/p5-Font-TTFMetrics/PLIST    |   1 +
 devel/p5-Font-TTFMetrics/distinfo |   5 +++++
 4 files changed, 32 insertions(+), 0 deletions(-)

diffs (48 lines):

diff -r 940585b438c1 -r b036b5458dde devel/p5-Font-TTFMetrics/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Font-TTFMetrics/DESCR    Wed Feb 15 23:37:26 2006 +0000
@@ -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 -r 940585b438c1 -r b036b5458dde devel/p5-Font-TTFMetrics/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Font-TTFMetrics/Makefile Wed Feb 15 23:37:26 2006 +0000
@@ -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@localhost
+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 -r 940585b438c1 -r b036b5458dde devel/p5-Font-TTFMetrics/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Font-TTFMetrics/PLIST    Wed Feb 15 23:37:26 2006 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/02/15 23:37:26 abs Exp $
diff -r 940585b438c1 -r b036b5458dde devel/p5-Font-TTFMetrics/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Font-TTFMetrics/distinfo Wed Feb 15 23:37:26 2006 +0000
@@ -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



Home | Main Index | Thread Index | Old Index