From owner-freebsd-questions@FreeBSD.ORG Mon May 12 05:30:19 2003 Return-Path: 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 C6B6137B404 for ; Mon, 12 May 2003 05:30:19 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id D671B44001 for ; Mon, 12 May 2003 05:30:14 -0700 (PDT) (envelope-from ticso@cicely9.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) by srv1.cosmo-project.de (8.12.9/8.12.9) with ESMTP id h4CCTurN014649 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 12 May 2003 14:30:08 +0200 (CEST) (envelope-from ticso@cicely9.cicely.de) Received: from cicely9.cicely.de (cicely9.cicely.de [IPv6:3ffe:400:8d0:301:210:5aff:fe30:1c1a]) by cicely5.cicely.de (8.12.9/8.12.9) with ESMTP id h4CCTsp4001876 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 May 2003 14:29:55 +0200 (CEST) (envelope-from ticso@cicely9.cicely.de) Received: from cicely9.cicely.de (localhost [127.0.0.1]) by cicely9.cicely.de (8.12.9/8.12.9) with ESMTP id h4CCTrRw006954; Mon, 12 May 2003 14:29:54 +0200 (CEST) (envelope-from ticso@cicely9.cicely.de) Received: (from ticso@localhost) by cicely9.cicely.de (8.12.9/8.12.9/Submit) id h4CCTkB7006953; Mon, 12 May 2003 14:29:46 +0200 (CEST) (envelope-from ticso) Date: Mon, 12 May 2003 14:29:46 +0200 From: Bernd Walter To: Joe Marcus Clarke Message-ID: <20030512122341.GK3789@cicely9.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1052671677.6810.16.camel@shumai.marcuscom.com> X-Operating-System: FreeBSD cicely9.cicely.de 5.0-CURRENT alpha User-Agent: Mutt/1.5.3i cc: FreeBSD User Questions List cc: Rob Lahaye Subject: Re: How to make Mozilla display Korean (or CJK-type) characters? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2003 12:30:20 -0000 On Sun, May 11, 2003 at 12:47:57PM -0400, Joe Marcus Clarke wrote: > On Sun, 2003-05-11 at 11:28, Rob Lahaye wrote: > > Bernd Walter wrote: > > > On Tue, May 06, 2003 at 12:00:49PM +0900, Rob Lahaye wrote: > > > > > >>I seem to remember that Mozilla somehow out-of-the-box could display > > >>non-roman charactersets, such as Korean. But Mozilla doesn't seem > > >>to do that anymore. What should I do ? > > >> > > >>I have installed the Korean johabfonts-port, which mentions something > > >>about Mozilla in its pkg-descr file. I installed it and included the > > >>directory in my fonts for X11; to no avail. > > >> > > >>In Mozilla I can select as the character set "Korean(JOHAB)", but when I > > >>check it next time, it is again on "Korean(EUC-KR)". > > >> > > >>Non-roman characters are displayed as squares that seem to have four tiny > > >>roman characters in them. > > >> > > >>Is this a bug in Mozilla, or is my fonts setup buggy, or is this a > > >>more fundamental FreeBSD issue? > > > > > > > > > I had the same problem. > > > Compile the mozilla port with -DWITHOUT_XFT=yes. > > > > Indeed that did it! > > Can you give me a site using the characters in question? I have no > problem displaying non-Roman (Cyrillic in this case) characters, as well > as Japanese Kanji in Mozilla _with_ Xft support enabled. In fact, > http://www.kr.freebsd.org/ looks fine to me, too with Xft. I tested with http://freebsd.jp.freebsd.org The characters were displayed as a square with 4 hex digits in them I guess the number were Unicode or something like this. > With all font issues in Mozilla, you must have fontconfig, freetype2, > and Xft ports up-to-date. If you add new fonts, make sure you add them fontconfig-2.1_2 freetype2-2.0.9 IIRC these were recent when I first noticed this problem. > to /usr/X11R6/lib/X11/fonts, ~/.fonts, or, if another location, make > sure you add that location to /usr/X11R6/etc/fonts/local.conf per the > instructions at > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-fonts.html#ANTIALIAS Sound like much to read - and given that I run XFree86-4.2.0_1,1 on my display. Are you expect this might a problem on the X-server? I had not thought about this, because no-roman fonts always worked until then. > Then run fc-cache -f as root. Well - this is the server side for shure. -- B.Walter BWCT http://www.bwct.de ticso@bwct.de info@bwct.de