summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorcjep <cjep@pkgsrc.org>2002-05-11 11:39:13 +0000
committercjep <cjep@pkgsrc.org>2002-05-11 11:39:13 +0000
commit2f518ce85c0d4dbb4e6c99bb31ac625667041e5d (patch)
tree7857ad93e6e0b356fdbb30e19480c9d17f7d6c6d /misc
parent3f5e7c521428d88c679d43dfe7eba27e5ffdbb4b (diff)
downloadpkgsrc-2f518ce85c0d4dbb4e6c99bb31ac625667041e5d.tar.gz
Import of the Open Type Organizer project to the NetBSD Packages
Collection. The software can list and modify OpenType font files. More specifically, it can be used to translate the 'name' and 'cmap' tables of an OpenType font. One application is to translate the 'name' and 'cmap' of an OpenType font to use Unicode encodings. The font can then be used in an environment that does not understand locale encodings. From Rui-Xiang Guo in PR#16753.
Diffstat (limited to 'misc')
-rw-r--r--misc/oto/DESCR14
-rw-r--r--misc/oto/Makefile17
-rw-r--r--misc/oto/PLIST7
-rw-r--r--misc/oto/distinfo5
-rw-r--r--misc/oto/patches/patch-aa13
5 files changed, 56 insertions, 0 deletions
diff --git a/misc/oto/DESCR b/misc/oto/DESCR
new file mode 100644
index 00000000000..00244417eb5
--- /dev/null
+++ b/misc/oto/DESCR
@@ -0,0 +1,14 @@
+The Open Type Organizer project provides programs to list, modify
+OpenType font files, specifically, their 'name' and 'cmap' tables.
+It can be used to translate the 'name' and 'cmap' of an OpenType font
+in locale encodings to Unicode encodings so the font file can be
+used in an environment which does not understand locale encodings.
+The translated tables are added to the font while keeping the
+original tables intact.
+
+Have a True Type font which is not recognized by X Window system?
+Chances are, the font is listed/indexed in an encoding other than
+Unicode! Open Type Organizer (oTo) will help to solve the problem.
+It will list font file organization and even add Unicode 'name' and
+'cmap' tables by translating the original ones. Your favorite ttf
+font can really work for you now.
diff --git a/misc/oto/Makefile b/misc/oto/Makefile
new file mode 100644
index 00000000000..7d8358ef2bd
--- /dev/null
+++ b/misc/oto/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/05/11 11:39:13 cjep Exp $
+#
+
+DISTNAME= oto-0.3
+CATEGORIES= print
+MASTER_SITES= ftp://ftp.sourceforge.net/pub/sourceforge/oto/
+
+MAINTAINER= rxg@netbsd.org
+HOMEPAGE= http://sourceforge.net/projects/oto/
+COMMENT= list, modify OpenType font files
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+
+.include "../../converters/libiconv/buildlink.mk"
+.include "../../devel/libgetopt/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/oto/PLIST b/misc/oto/PLIST
new file mode 100644
index 00000000000..8eb6b52a16a
--- /dev/null
+++ b/misc/oto/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/11 11:39:13 cjep Exp $
+bin/oto
+share/oto/GB2312.TXT
+share/oto/GB12345.TXT
+share/oto/GB12345p.TXT
+share/oto/BIG5.TXT
+@dirrm share/oto
diff --git a/misc/oto/distinfo b/misc/oto/distinfo
new file mode 100644
index 00000000000..dd55ddc987b
--- /dev/null
+++ b/misc/oto/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/05/11 11:39:13 cjep Exp $
+
+SHA1 (oto-0.3.tar.gz) = 980d4a7444f198a659058d2e2c1ddb4f5b93e4e0
+Size (oto-0.3.tar.gz) = 268638 bytes
+SHA1 (patch-aa) = a7ea2508f7d6d57a892c1f8b3f89bfdf464abd6c
diff --git a/misc/oto/patches/patch-aa b/misc/oto/patches/patch-aa
new file mode 100644
index 00000000000..c4f0c402555
--- /dev/null
+++ b/misc/oto/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/05/11 11:39:13 cjep Exp $
+
+--- src/Makefile.in.orig Fri Sep 14 00:20:02 2001
++++ src/Makefile.in
+@@ -81,7 +81,7 @@
+ DEFS = @DEFS@ -I. -I$(srcdir) -I..
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-LIBS = @LIBS@
++LIBS = @LIBS@ -liconv $(LIBGETOPT)
+ oto_OBJECTS = main.o misc.o u2c.o directory.o name.o cmap.o
+ oto_DEPENDENCIES =
+ oto_LDFLAGS =