From owner-freebsd-isp Wed Mar 5 13:21:40 2003 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E120D37B401 for ; Wed, 5 Mar 2003 13:21:36 -0800 (PST) Received: from coloradosurf.com (12-252-207-129.client.attbi.com [12.252.207.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id E095043F3F for ; Wed, 5 Mar 2003 13:21:34 -0800 (PST) (envelope-from mike@coloradosurf.com) Received: from coloradosurf.com (localhost.coloradosurf.com [127.0.0.1]) by coloradosurf.com (8.12.7/8.12.7) with ESMTP id h25LLXYN017110 for ; Wed, 5 Mar 2003 14:21:34 -0700 (MST) (envelope-from mike@coloradosurf.com) From: "Poppa Mike" To: freebsd-isp@freebsd.org Subject: pdflib and fonts w/ php from ports Date: Wed, 5 Mar 2003 14:21:33 -0700 Message-Id: <20030305210523.M32192@coloradosurf.com> X-Mailer: Open WebMail 1.90 20030212 X-OriginatingIP: 64.6.172.35 (mike@coloradosurf.com) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, Sorry if this is a bit OT. I installed mod_php4 from ports and chose the pdflib (among others) support. It installed pdflib 4.0.3. I'm trying to play around with the pdf generation but am getting errors. Fatal error: PDFlib error: Outline data for font 'Helvetica' not found in myfile.php on line 20 The offending line: $font = pdf_findfont($pdf, "Helvetica", "builtin", 1); (I also got this error with "host") I created a "generic" pdflib.upr file (from the pdflib-manual) but it doesn't seem to be finding the fonts. Well, I can't either ;). I did notice they were in the work directory of the port (/usr/ports/print/pdflib/work/pdflib-4.0.3/fonts/), but `locate afm` yielded nothing (the locate db has not updated to find the ones I just extracted). Am I missing something very basic (like what fonts to install, where, etc.) or should the port have installed these somewhere? Someone please knock me upside the head with a clue-stick. TIA, mike - please Cc: me as I'm not subscribed to -isp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message