From owner-freebsd-questions Thu Sep 26 9:22: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB68437B401 for ; Thu, 26 Sep 2002 09:22:04 -0700 (PDT) Received: from mail.broadpark.no (217-13-4-9.dd.nextgentel.com [217.13.4.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99E9943E6A for ; Thu, 26 Sep 2002 09:22:03 -0700 (PDT) (envelope-from junkmail@sensewave.com) Received: from me (217-13-29-172.dd.nextgentel.com [217.13.29.172]) by mail.broadpark.no (Postfix) with ESMTP id B98C38157 for ; Thu, 26 Sep 2002 18:21:08 +0200 (MEST) From: "Kjell" To: freebsd-questions@FreeBSD.ORG Date: Thu, 26 Sep 2002 17:21:06 +0100 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: PHP, GD2 and True Type Fonts Reply-To: la3sg@sensewave.com Message-ID: <3D934202.6025.1DCC81E@localhost> X-mailer: Pegasus Mail for Win32 (v3.12c) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am calling the GD2 package from PHP to generate graphics to be displayed on web pages. Everything I have tried are working fine, with one exception: When I make a call like $size = ImageTTFBbox (10, 0, "fonts/arial.ttf" , "hello"); I get an arror message like Warning: Could not find/open font in /home/www/htdocs/t3.php on line 21 Is it required to compile GD2 with certain options to be able to use True Type Fonts? Could it be something wrong with my font files? regards from Kjell To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message