Date: Mon, 26 Jul 2004 16:38:01 -0700 (PDT) From: Eric Anholt <anholt@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/69642: xpdf needs gsfonts to correctly render many PDFs Message-ID: <200407262338.i6QNc1Ua096399@anholt.dyndns.org> Resent-Message-ID: <200407262340.i6QNeQdt025758@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407262338.i6QNc1Ua096399>