summaryrefslogtreecommitdiff
path: root/fonts/ttftot42
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-07-16 15:26:01 +0000
committerwiz <wiz@pkgsrc.org>2002-07-16 15:26:01 +0000
commit7630bb1db05a2f420b5f39d02d5c7143f8e588ba (patch)
tree0fd02ea6e6b015320dddc4814b78ac3b8037fbfd /fonts/ttftot42
parent2f9308deb250d47318b7d2fd374983fdce9f5c4c (diff)
downloadpkgsrc-7630bb1db05a2f420b5f39d02d5c7143f8e588ba.tar.gz
Re-import of converters/ttf2pt1, print/p5-Font-AFM, and print/ttftot42
into fonts. Changes: CATEGORY fixed, minimal cleanup. Proposed by Rui-Xiang Guo.
Diffstat (limited to 'fonts/ttftot42')
-rw-r--r--fonts/ttftot42/DESCR13
-rw-r--r--fonts/ttftot42/Makefile16
-rw-r--r--fonts/ttftot42/PLIST2
-rw-r--r--fonts/ttftot42/distinfo4
4 files changed, 35 insertions, 0 deletions
diff --git a/fonts/ttftot42/DESCR b/fonts/ttftot42/DESCR
new file mode 100644
index 00000000000..904ba2e558b
--- /dev/null
+++ b/fonts/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/fonts/ttftot42/Makefile b/fonts/ttftot42/Makefile
new file mode 100644
index 00000000000..9c4a514523e
--- /dev/null
+++ b/fonts/ttftot42/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/07/16 15:26:01 wiz Exp $
+#
+
+DISTNAME= ttftot42-0.3.1
+CATEGORIES= fonts print
+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/fonts/ttftot42/PLIST b/fonts/ttftot42/PLIST
new file mode 100644
index 00000000000..dbee6e5481c
--- /dev/null
+++ b/fonts/ttftot42/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/07/16 15:26:01 wiz Exp $
+bin/ttftot42
diff --git a/fonts/ttftot42/distinfo b/fonts/ttftot42/distinfo
new file mode 100644
index 00000000000..90e9d031031
--- /dev/null
+++ b/fonts/ttftot42/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/07/16 15:26:01 wiz Exp $
+
+SHA1 (ttftot42-0.3.1.tar.gz) = 2790e5df866c487ad3dbeca99c8f88698f6dee57
+Size (ttftot42-0.3.1.tar.gz) = 54489 bytes