From owner-freebsd-chromium@FreeBSD.ORG Wed Nov 14 05:54:42 2012 Return-Path: Delivered-To: chromium@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6139E2AA for ; Wed, 14 Nov 2012 05:54:42 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 3C7718FC12 for ; Wed, 14 Nov 2012 05:54:42 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id qAE5sXO7067754; Tue, 13 Nov 2012 21:54:34 -0800 (PST) (envelope-from yuri@rawbw.com) Message-ID: <50A33219.2070000@rawbw.com> Date: Tue, 13 Nov 2012 21:54:33 -0800 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121107 Thunderbird/16.0.2 MIME-Version: 1.0 To: Jonathan Chen Subject: Re: Font display on Non-English sites References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: chromium@FreeBSD.ORG X-BeenThere: freebsd-chromium@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD-specific Chromium issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2012 05:54:42 -0000 On 11/13/2012 17:16, Jonathan Chen wrote: > Hi, > > I'm currently using chromium-23.0.1271.64 with LANG=en_NZ.UTF-8; and I've > noticed that non-latin characters do not display correctly, eg: > http://www.cnn.co.jp/ displays squares instead of Japanese characters. > > If I start chrome with LANG=ja_JP.UTF-8,http://www.cnn.co.jp/ displays > correctly; but all its prompts are in Japanese - not ideal. > > Is this a FreeBSD chromium issue, or is it a general failing of chromium? > > Workarounds and hints would be welcome. I also see this. On its face this looks like a regression from 22.x.x.x version which showed Japanese in the same environment. chrome shows the font-family in computed style as: メイリオ, Meiryo, Tahoma, Verdana, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', Osaka, 'MS Pゴシック', 'MS PGothic', sans-serif; chrome goes through the list of fonts in the style attempting to match the font, and it may be that none of them matches. It's hard to tell whether it really should or should not show Japanese with the fonts installed on the system. As a possible workaround you may try installing fonts from japanese/font-* ports. This will work if the problem is a genuine lack of Japanese font, not some other random bug. Maybe Japanese users will have a better perspective for this problem. Yuri