summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authoruebayasi <uebayasi>2002-04-02 11:51:25 +0000
committeruebayasi <uebayasi>2002-04-02 11:51:25 +0000
commite1ae64c27aed8192ef9bdd9c20ec5deb764898ba (patch)
tree7c29fd0fee3bdfc8c73ac2a08a083bfb50be4bf7 /print
parent485fce6a3fec543a4c1f99ce652286638f3adecd (diff)
downloadpkgsrc-e1ae64c27aed8192ef9bdd9c20ec5deb764898ba.tar.gz
Initial import of ttftot42, TrueType font to Type 42 converter. Submitted
by Rui-Xiang Guo <rxg@netbsd.org> in pkg/14773. This package stems from FreeBSD's one. From DESCR: TrueType fonts cannot be converted to Type 1 fonts without loss of quality, since conversion introduces rounding errors and loses hinting information. Therefore, newer PostScript interpreters (Adobe PostScript since version 2013, ghostscript since 5.03) include a TrueType rasterizers. To use a TrueType font with them, it has to be embedded in a PostScript font dictionary; this format is called Type 42. This program generates such Type 42 fonts from TrueType fonts. It can also generate Adobe Font Metrics files (AFM files), including kerning information. Not yet supported are TrueType Collections and the creation of CID keyed fonts from large TrueType fonts (East Asian or Unicode fonts).
Diffstat (limited to 'print')
-rw-r--r--print/ttftot42/DESCR13
-rw-r--r--print/ttftot42/Makefile16
-rw-r--r--print/ttftot42/PLIST2
-rw-r--r--print/ttftot42/distinfo4
4 files changed, 35 insertions, 0 deletions
diff --git a/print/ttftot42/DESCR b/print/ttftot42/DESCR
new file mode 100644
index 00000000000..904ba2e558b
--- /dev/null
+++ b/print/ttftot42/DESCR
@@ -0,0 +1,13 @@
+ TrueType fonts cannot be converted to Type 1 fonts without loss of
+quality, since conversion introduces rounding errors and loses hinting
+information. Therefore, newer PostScript interpreters (Adobe
+PostScript since version 2013, ghostscript since 5.03) include a
+TrueType rasterizers. To use a TrueType font with them, it has to be
+embedded in a PostScript font dictionary; this format is called Type 42.
+
+ This program generates such Type 42 fonts from TrueType fonts. It
+can also generate Adobe Font Metrics files (AFM files), including
+kerning information.
+
+ Not yet supported are TrueType Collections and the creation of CID
+keyed fonts from large TrueType fonts (East Asian or Unicode fonts).
diff --git a/print/ttftot42/Makefile b/print/ttftot42/Makefile
new file mode 100644
index 00000000000..859e95a77ae
--- /dev/null
+++ b/print/ttftot42/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/04/02 11:51:25 uebayasi Exp $
+# FreeBSD Id: ports/print/ttftot42/Makefile,v 1.2 2001/07/25 17:36:26 steve Exp
+
+DISTNAME= ttftot42-0.3.1
+CATEGORIES= print fonts
+MASTER_SITES= http://www.giga.or.at/pub/nih/ttftot42/
+
+MAINTAINER= rxg@ms25.url.com.tw
+HOMEPAGE= http://ftp.giga.or.at/pub/nih/ttftot42/
+COMMENT= TrueType font to Type 42 converter
+
+GNU_CONFIGURE= yes
+CPPFLAGS+= -I${BUILDLINK_DIR}/include/freetype
+
+.include "../../graphics/freetype-lib/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/print/ttftot42/PLIST b/print/ttftot42/PLIST
new file mode 100644
index 00000000000..6d53cd43937
--- /dev/null
+++ b/print/ttftot42/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/04/02 11:51:25 uebayasi Exp $
+bin/ttftot42
diff --git a/print/ttftot42/distinfo b/print/ttftot42/distinfo
new file mode 100644
index 00000000000..d9be928d321
--- /dev/null
+++ b/print/ttftot42/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/04/02 11:51:25 uebayasi Exp $
+
+SHA1 (ttftot42-0.3.1.tar.gz) = 2790e5df866c487ad3dbeca99c8f88698f6dee57
+Size (ttftot42-0.3.1.tar.gz) = 54489 bytes