From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jul 26 23:40:26 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C35916A4CE for ; Mon, 26 Jul 2004 23:40:26 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32E9143D41 for ; Mon, 26 Jul 2004 23:40:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i6QNeQuX025760 for ; Mon, 26 Jul 2004 23:40:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6QNeQdt025758; Mon, 26 Jul 2004 23:40:26 GMT (envelope-from gnats) Resent-Date: Mon, 26 Jul 2004 23:40:26 GMT Resent-Message-Id: <200407262340.i6QNeQdt025758@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Eric Anholt Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A00DF16A4CE for ; Mon, 26 Jul 2004 23:38:06 +0000 (GMT) Received: from anholt.dyndns.org (c-24-21-18-195.client.comcast.net [24.21.18.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1839B43D54 for ; Mon, 26 Jul 2004 23:38:06 +0000 (GMT) (envelope-from anholt@anholt.dyndns.org) Received: from anholt.dyndns.org (localhost [127.0.0.1]) by anholt.dyndns.org (8.12.11/8.12.11) with ESMTP id i6QNc2QA096400 for ; Mon, 26 Jul 2004 16:38:03 -0700 (PDT) (envelope-from anholt@anholt.dyndns.org) Received: (from anholt@localhost) by anholt.dyndns.org (8.12.11/8.12.11/Submit) id i6QNc1Ua096399; Mon, 26 Jul 2004 16:38:01 -0700 (PDT) (envelope-from anholt) Message-Id: <200407262338.i6QNc1Ua096399@anholt.dyndns.org> Date: Mon, 26 Jul 2004 16:38:01 -0700 (PDT) From: Eric Anholt To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/69642: xpdf needs gsfonts to correctly render many PDFs X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Eric Anholt List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jul 2004 23:40:26 -0000 >Number: 69642 >Category: ports >Synopsis: xpdf needs gsfonts to correctly render many PDFs >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jul 26 23:40:25 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Eric Anholt >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD anholt.dyndns.org 5.2-CURRENT FreeBSD 5.2-CURRENT #17: Fri Jun 18 03:01:45 PDT 2004 anholt@anholt.dyndns.org:/usr/src/current/sys/i386/compile/MYKERNEL i386 >Description: xpdf only looks for Type1 fonts and doesn't use X fonts, as far as I can tell. This is a problem if you don't have gsfonts, because PDFs that require fonts that aren't embedded will give you "No display font for 'Times-Italic'" and things and not print the text. One solution to ensure this doesn't happen is to depend on gsfonts. >How-To-Repeat: >Fix: --- xpdf-fontsdep.diff begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/graphics/xpdf/Makefile,v retrieving revision 1.58 diff -u -r1.58 Makefile --- Makefile 1 Jul 2004 17:06:39 -0000 1.58 +++ Makefile 26 Jul 2004 23:30:03 -0000 @@ -7,7 +7,7 @@ PORTNAME= xpdf PORTVERSION= 3.00 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics print MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ \ ${MASTER_SITE_TEX_CTAN} @@ -19,6 +19,7 @@ BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2 LIB_DEPENDS= t1.5:${PORTSDIR}/devel/t1lib \ freetype.9:${PORTSDIR}/print/freetype2 +RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/fonts/n021003l.pfb:${PORTSDIR}/print/gsfonts USE_X_PREFIX= yes USE_MOTIF= yes --- xpdf-fontsdep.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: