Subject: pkg/16051: xpdf needs freetype2 to handle cid fonts
To: None <gnats-bugs@gnats.netbsd.org>
From: Johan Danielsson <joda@pdc.kth.se>
List: netbsd-bugs
Date: 03/25/2002 14:55:23
>Number:         16051
>Category:       pkg
>Synopsis:       xpdf needs freetype2 to handle cid fonts
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 25 05:56:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Johan Danielsson
>Release:        NetBSD 1.5ZA
>Organization:
>Environment:
>Description:

>How-To-Repeat:

Try to view http://www.storage.ibm.com/hdd/library/noise.pdf, notice
that the text isn't rendered.

>Fix:

--- xpdf/Makefile	2002/02/03 05:28:51	1.5
+++ xpdf/Makefile	2002/03/25 13:49:11
@@ -20,7 +20,7 @@
 
 CONFIGURE_ARGS+=	--enable-japanese
 CONFIGURE_ARGS+=	--enable-chinese
-CONFIGURE_ARGS+=	--with-freetype-includes=${BUILDLINK_DIR}/include
+CONFIGURE_ARGS+=	--with-freetype2-includes=${BUILDLINK_DIR}/include/freetype2
 CONFIGURE_ARGS+=	--with-t1-includes=${BUILDLINK_DIR}/include
 CONFIGURE_ENV+=		CXXFLAGS="${CXXFLAGS}"
 MAKE_ENV+=		SED="${SED}" ECHO="${ECHO}"
@@ -36,7 +36,7 @@
 		${FILESDIR}/xpdf-app-defaults				\
 		> ${X11PREFIX}/lib/X11/app-defaults/Xpdf
 
-.include "../../graphics/freetype-lib/buildlink.mk"
+.include "../../graphics/freetype2/buildlink.mk"
 .include "../../graphics/xpm/buildlink.mk"
 .include "../../textproc/t1lib/buildlink.mk"
 .include "../../mk/x11.buildlink.mk"

>Release-Note:
>Audit-Trail:
>Unformatted: