From owner-freebsd-questions@FreeBSD.ORG Mon May 12 08:47: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 D334F37B401 for ; Mon, 12 May 2003 08:47:19 -0700 (PDT) Received: from ms-smtp-01.southeast.rr.com (ms-smtp-01.southeast.rr.com [24.93.67.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3E9A43FDD for ; Mon, 12 May 2003 08:47:18 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from mail4.nc.rr.com (fe4 [24.93.67.51])h4CFg9hA002558; Mon, 12 May 2003 11:42:09 -0400 (EDT) Received: from creme-brulee.marcuscom.com ([66.57.17.158]) by mail4.nc.rr.com with Microsoft SMTPSVC(5.5.1877.757.75); Mon, 12 May 2003 11:49:13 -0400 Received: from vpn-client-4.marcuscom.com (vpn-client-4.marcuscom.com [10.2.1.4])h4CFkerT016203; Mon, 12 May 2003 11:46:41 -0400 (EDT) (envelope-from marcus@marcuscom.com) X-Authentication-Warning: creme-brulee.marcuscom.com: vpn-client-4.marcuscom.com [10.2.1.4] didn't use HELO protocol From: Joe Marcus Clarke To: ticso@cicely.de In-Reply-To: <20030512122341.GK3789@cicely9.cicely.de> References: <20030512122341.GK3789@cicely9.cicely.de> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-m+DQq/LOcSgW7Y/nNPE2" Organization: MarcusCom, Inc. Message-Id: <1052754404.308.4.camel@gyros> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.3.3 (Preview Release) Date: 12 May 2003 11:46:45 -0400 X-Spam-Status: No, hits=-39.2 required=5.0 tests=BAYES_00,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,QUOTE_TWICE_1,REFERENCES, REPLY_WITH_QUOTES autolearn=ham version=2.53 X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp) 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2003 15:47:20 -0000 --=-m+DQq/LOcSgW7Y/nNPE2 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2003-05-12 at 08:29, Bernd Walter wrote: > 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: > > > >=20 > > > >>I seem to remember that Mozilla somehow out-of-the-box could displa= y > > > >>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 somethi= ng > > > >>about Mozilla in its pkg-descr file. I installed it and included th= e > > > >>directory in my fonts for X11; to no avail. > > > >> > > > >>In Mozilla I can select as the character set "Korean(JOHAB)", but w= hen I > > > >>check it next time, it is again on "Korean(EUC-KR)". > > > >> > > > >>Non-roman characters are displayed as squares that seem to have fou= r 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? > > > >=20 > > > >=20 > > > > I had the same problem. > > > > Compile the mozilla port with -DWITHOUT_XFT=3Dyes. > > >=20 > > > Indeed that did it! > >=20 > > Can you give me a site using the characters in question? I have no > > problem displaying non-Roman (Cyrillic in this case) characters, as wel= l > > as Japanese Kanji in Mozilla _with_ Xft support enabled. In fact, > > http://www.kr.freebsd.org/ looks fine to me, too with Xft. >=20 > 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. >=20 > > 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 >=20 > fontconfig-2.1_2 > freetype2-2.0.9 > IIRC these were recent when I first noticed this problem. They're not anymore. You should update to fontconfig-2.2.0, and freetype2-2.1.4_1. >=20 > > 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 >=20 > 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. Mozilla uses a completely new font system now. If you want to take advantage of it, you need to make sure all your ports are up-to-date.=20 If you're happy without anti-alias support in Mozilla, then I guess you're done. However, I can confirm Korean webpages work for me in Mozilla with anti-alias support. Joe >=20 > > Then run fc-cache -f as root. >=20 > Well - this is the server side for shure. --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-m+DQq/LOcSgW7Y/nNPE2 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQA+v8Hkb2iPiv4Uz4cRAqrIAJoCD3ABHiC6M0SAzfaF6OVulhPoHwCfc+M8 EdL29d0ROLDUDczpDPlnNf0= =S4Uk -----END PGP SIGNATURE----- --=-m+DQq/LOcSgW7Y/nNPE2--