ports/69642: xpdf needs gsfonts to correctly render many PDFs
Eric Anholt
anholt at FreeBSD.org
Mon Jul 26 23:40:26 UTC 2004
>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 at 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:
More information about the freebsd-ports-bugs
mailing list