From e48f83ea52d82cc81f8cf046d31d8e357bacaaa4 Mon Sep 17 00:00:00 2001 From: adam Date: Mon, 29 Nov 2004 10:03:33 +0000 Subject: Renamed from pfaedit Changes 20041115: * If ff started without a prefs file, then creating a new font would crash * If a copyright string contained a newline then ff would generate bad postscript * If user added a comment to an empty glyph then the comment wasn't saved in the sfd file. * If ff saved a utf7 string to an sfd file (ttf names, etc.) and that string contained a hyphen that followed immediately after something that needed to be encoded in base64, then the hyphen would be lost. * new french UI * ff was (usually) setting the ascent/descent fields of the 'hhea' table to 0. When the font was drawn on the mac it was clipped to nothing. --- fonts/fontforge/DESCR | 3 +++ fonts/fontforge/Makefile | 29 +++++++++++++++++++++++++++++ fonts/fontforge/PLIST | 16 ++++++++++++++++ fonts/fontforge/distinfo | 5 +++++ fonts/fontforge/patches/patch-aa | 22 ++++++++++++++++++++++ 5 files changed, 75 insertions(+) create mode 100644 fonts/fontforge/DESCR create mode 100644 fonts/fontforge/Makefile create mode 100644 fonts/fontforge/PLIST create mode 100644 fonts/fontforge/distinfo create mode 100644 fonts/fontforge/patches/patch-aa (limited to 'fonts') diff --git a/fonts/fontforge/DESCR b/fonts/fontforge/DESCR new file mode 100644 index 00000000000..2e0de95ca44 --- /dev/null +++ b/fonts/fontforge/DESCR @@ -0,0 +1,3 @@ +A postscript font editor that lets you create your own postscript, +truetype, opentype, cid-keyed and bitmap (bdf) fonts, or edit +existing ones. Also lets you convert one format to another. diff --git a/fonts/fontforge/Makefile b/fonts/fontforge/Makefile new file mode 100644 index 00000000000..1e445e5ec77 --- /dev/null +++ b/fonts/fontforge/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/11/29 10:03:33 adam Exp $ + +DISTNAME= fontforge_full-${VERSION} +PKGNAME= fontforge-${VERSION} +CATEGORIES= fonts editors +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fontforge/} +EXTRACT_SUFX= .tgz + +MAINTAINER= adam@NetBSD.org +HOMEPAGE= http://fontforge.sourceforge.net/ +COMMENT= Postscript font editor + +VERSION= 20041115 + +USE_BUILDLINK3= YES +USE_GNU_TOOLS+= make +USE_LIBTOOL= YES +USE_X11= YES +GNU_CONFIGURE= YES +CONFIGURE_ARGS+= --with-freetype-src=no +WRKSRC= ${WRKDIR}/fontforge-${VERSION} + +.include "../../graphics/freetype2/buildlink3.mk" +.include "../../graphics/jpeg/buildlink3.mk" +.include "../../graphics/libungif/buildlink3.mk" +.include "../../graphics/png/buildlink3.mk" +.include "../../graphics/tiff/buildlink3.mk" + +.include "../../mk/bsd.pkg.mk" diff --git a/fonts/fontforge/PLIST b/fonts/fontforge/PLIST new file mode 100644 index 00000000000..dc7ecf51b51 --- /dev/null +++ b/fonts/fontforge/PLIST @@ -0,0 +1,16 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/11/29 10:03:34 adam Exp $ +bin/fontforge +bin/sfddiff +lib/libgdraw.la +lib/libgunicode.la +man/man1/fontforge.1 +man/man1/sfddiff.1 +share/fontforge/pfaedit-de.ui +share/fontforge/pfaedit-en.ui +share/fontforge/pfaedit-es.ui +share/fontforge/pfaedit-fr.ui +share/fontforge/pfaedit-gr.ui +share/fontforge/pfaedit-it.ui +share/fontforge/pfaedit-ja.ui +share/fontforge/pfaedit-ru.ui +@dirrm share/fontforge diff --git a/fonts/fontforge/distinfo b/fonts/fontforge/distinfo new file mode 100644 index 00000000000..5397ac8313b --- /dev/null +++ b/fonts/fontforge/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/11/29 10:03:34 adam Exp $ + +SHA1 (fontforge_full-20041115.tgz) = ad1edfb6c0f93b3d344875aba27c7ccfafbdd317 +Size (fontforge_full-20041115.tgz) = 4296201 bytes +SHA1 (patch-aa) = dcad123c2a5f844913fd5b3b73a887b5081c99be diff --git a/fonts/fontforge/patches/patch-aa b/fonts/fontforge/patches/patch-aa new file mode 100644 index 00000000000..cbc98f66347 --- /dev/null +++ b/fonts/fontforge/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/11/29 10:03:34 adam Exp $ + +--- fontforge/Makefile.dynamic.in.orig 2004-09-30 03:56:44.000000000 +0000 ++++ fontforge/Makefile.dynamic.in +@@ -13,7 +13,7 @@ LIBTOOL = @LIBTOOL@ + CC = @CC@ + + X_CFLAGS = @X_CFLAGS@ +-X_LIBS = @X_LIBS@ ++X_LIBS = @X_LIBS@ -Wl,-R${X11BASE}/lib + X_11LIB = @X_11LIB@ + X_EXTRA_LIBS = @X_EXTRA_LIBS@ + X_PRE_LIBS = @X_PRE_LIBS@ +@@ -69,7 +69,7 @@ splinerefigure.o: splinerefigure.c + #this makes all the .ui files but wildcarding doesn't work too well if the + # files don't exist. + nomen.h pfaedit-ui.c pfaedit-en.ui: $(srcdir)/nomen-*.c makenomenh.c +- $(LIBTOOL) $(CC) -o makenomenh $(CFLAGS) $(srcdir)/makenomenh.c $(LIBS) ++ $(LIBTOOL) $(CC) -o makenomenh $(CFLAGS) $(LDFLAGS) $(srcdir)/makenomenh.c $(LIBS) + -ln -s $(srcdir)/nomen-*.c . + ./makenomenh + mv pfaedit-ui-en.c pfaedit-ui.c -- cgit v1.2.3