From owner-freebsd-emulation@FreeBSD.ORG Fri Aug 14 03:10:17 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29875106568B for ; Fri, 14 Aug 2009 03:10:17 +0000 (UTC) (envelope-from daichi@ongs.co.jp) Received: from natial.ongs.co.jp (natial.ongs.co.jp [202.216.246.90]) by mx1.freebsd.org (Postfix) with ESMTP id EE64D8FC43 for ; Fri, 14 Aug 2009 03:10:16 +0000 (UTC) Received: from parancell.ongs.co.jp (dullmdaler.ongs.co.jp [202.216.246.94]) by natial.ongs.co.jp (Postfix) with ESMTPSA id 3784D125424; Fri, 14 Aug 2009 12:10:15 +0900 (JST) Message-ID: <4A84D596.9000104@ongs.co.jp> Date: Fri, 14 Aug 2009 12:10:14 +0900 From: Daichi GOTO User-Agent: Thunderbird 2.0.0.22 (X11/20090808) MIME-Version: 1.0 To: Boris Samorodov References: <4A821338.5030301@ongs.co.jp> <68130604@serv3.int.kfs.ru> <4A847E7E.5010805@ongs.co.jp> <77075814@ipt.ru> In-Reply-To: <77075814@ipt.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: Flash10 on BETA2, by f10 / f8 (solved) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Aug 2009 03:10:17 -0000 Boris Samorodov wrote: > Daichi GOTO writes: > >> 1) >> FreeBSD 8-BETA2/amd64 >> % pkg_info | grep -E '(linux|fontconfig)' >> fontconfig-2.6.0,1 An XML-based font configuration API for X Windows >> linux-f10-fontconfig-2.6.0 An XML-based font configuration API for X Windows (Linux Fe > > Those ports have compatible cache files... > >> 2) >> FreeBSD 8-BETA2/i386 >> % pkg_info | grep -E '(linux|fontconfig)' >> fontconfig-2.6.0,1 An XML-based font configuration API for X Windows >> linux-f8-fontconfig-2.4.2_1 An XML-based font configuration API for X Windows (Linux Fe > > ...while those don't. > > I'm out of ideas, sorry. I'd expect 1) TDRT, but not the 2). > Anybody? Thanks Boris! At last I have found the cause of this problem and now it can display Japanese text well. Your description has given me some lights ;-) I have thought that ~/.fonts.conf maybe has effects because you said fontconfig of linux_base-f10 has compatibility with FreeBSD's fontconfig. So I had created a new user without some config files, and Firefox+flash10 of new user can display Japanese text. I am using ~/.fonts.conf including lines as follow: sans-serif Bitstream Vera Sans IPAUIGothic IPAPGothic IPAGothic VL PGothic VL Gothic Sazanami Gothic Kochi Gothic "Bitstream Vera Sans" first line and others from second line, thats order is very important. With above config, applications use "Bitstream Vera Sans" font for Alphabet text and other text are displayed with "IPAUIGothic" or something other listed Japanese font first matched. But flash10 uses "Bitstream Vera Sans" for all kind of text including Japanese. So flash10/f10 fails to display Japanese text. Is it correct to remove "Bitstream Vera Sans" line from ~/.fonts.conf? Maybe.... But I dislike Japanese font for all Alphabet, it's very bold to use. "Bitstream Vera Sans" and IPA fonts mixing using is better I guess, of course JIMO. So I have created home directory under /compat/linux and deploy customized .fonts.conf file under that for flash10. # mkdir -p /compat/linux/home/daichi # cp ~daichi/.fonts.conf /compat/linux/home/daichi/ # vi /compat/linux/home/daichi/.fonts.conf <-- rid of bitstream line Firefox refers to ~daichi/.fonts.conf including bitsteam line and flash10 refers to /compat/linux/home/daichi/.fonts.conf not including bitsteam line. Working well. Of course in this way, other Linux Applications (Acrobat Reader, Skype or something) are affected. But it's better than all applications are affected. -- ONGS Inc. CEO, Daichi GOTO (daichi@ongs.co.jp) TEL: 81-42-316-7945 FAX: 81-42-316-7946 WWW: http://www.ongs.co.jp/