From owner-freebsd-questions@FreeBSD.ORG Sun Dec 14 09:03:27 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD304106567B for ; Sun, 14 Dec 2008 09:03:27 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 175458FC13 for ; Sun, 14 Dec 2008 09:03:25 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3) with ESMTP id mBE93KGb048436; Sun, 14 Dec 2008 10:03:20 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3/Submit) with ESMTP id mBE93Ixq048433; Sun, 14 Dec 2008 10:03:20 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 14 Dec 2008 10:03:18 +0100 (CET) From: Wojciech Puchar To: cuongvt In-Reply-To: <20997257.post@talk.nabble.com> Message-ID: <20081214100115.U48394@wojtek.tensor.gdynia.pl> References: <20997257.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="1626729238-1480917943-1229245398=:48394" Cc: freebsd-questions@freebsd.org Subject: Re: imagemagick convert: japanese text broken in freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Dec 2008 09:03:27 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1626729238-1480917943-1229245398=:48394 Content-Type: TEXT/PLAIN; charset=iso-8859-2; format=flowed Content-Transfer-Encoding: 8BIT > Hi, > I know that IM support japanese text. > On Freebsd 7.0 with latest imagemagick built from port (6.4.7) and > msgothic.ttc copied from windows partition, > imagick extension of PHP installed by pecl. > in terminal (zsh) I type: > ================ > convert origin.jpg -fill white -font > /usr/X11R6/lib/X11/fonts/TrueType/msgothic.ttc -pointsize 125 -stroke blue > -strokewidth 1 -draw "text 20,130 'ÿÿÿÿÿÿÿÿ'" straight.jpg > ======== > IM did not informed any error, but the result is japanese text broken > (question marks). > However, if I ran PHp script (see below), japanese displayed in image fine. > What is the reason and how can I solve that? > thansk and regards, NTG please do ask on imagemagick support! it's not part of FreeBSD and this problem doesn't look like FreeBSD specific. If you find it FreeBSD port specific, ask at freebsd-ports --1626729238-1480917943-1229245398=:48394--