From owner-freebsd-mozilla@FreeBSD.ORG Sun Apr 16 08:21:03 2006 Return-Path: X-Original-To: freebsd-mozilla@freebsd.org Delivered-To: freebsd-mozilla@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 188AC16A401 for ; Sun, 16 Apr 2006 08:21:03 +0000 (UTC) (envelope-from peter@vk2pj.dyndns.org) Received: from mail20.syd.optusnet.com.au (mail20.syd.optusnet.com.au [211.29.132.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7455D43D45 for ; Sun, 16 Apr 2006 08:21:02 +0000 (GMT) (envelope-from peter@vk2pj.dyndns.org) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail20.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k3G8L0GL019012 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Sun, 16 Apr 2006 18:21:01 +1000 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k3G8L0Dr003289 for ; Sun, 16 Apr 2006 18:21:00 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k3G8L0i2003288 for freebsd-mozilla@freebsd.org; Sun, 16 Apr 2006 18:21:00 +1000 (EST) (envelope-from peter) Date: Sun, 16 Apr 2006 18:20:59 +1000 From: Peter Jeremy To: freebsd-mozilla@freebsd.org Message-ID: <20060416082059.GD830@turion.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 Subject: Complex Text Rendering in Mozilla X-BeenThere: freebsd-mozilla@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mozilla browser issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Apr 2006 08:21:03 -0000 I'm trying to get mozilla to render Devanagari (Hindi) text and whilst the correct glyphs are displayed (so the correct font is found), the vowel/consonant ordering is wrong (which indicates that the complex text rendering isn't working). For an example of the problem, see http://en.wikipedia.org/wiki/Wikipedia:Enabling_complex_text_support_for_Indic_scripts#Check_for_existing_support I've checked and --enable-ctl is defined and the appropriate shared libraries are built and installed. But looking at the access times, they are never loaded: -r-xr-xr-x 1 root wheel 25144 Apr 16 09:16 components/libctl.so -rwxr-xr-x 1 root wheel 96584 Apr 16 17:57 libmoz_art_lgpl.so -rwxr-xr-x 1 root wheel 603680 Apr 16 17:57 libmozjs.so -rwxr-xr-x 1 root wheel 25344 Apr 16 09:16 libmozpango-dvngx.so (*) -rwxr-xr-x 1 root wheel 12544 Apr 16 09:16 libmozpango-thaix.so -rwxr-xr-x 1 root wheel 25080 Apr 16 09:16 libmozpango.so -rw-r--r-- 1 root wheel 245 Apr 16 09:16 pango.modules (*) is the devanagari rendering module. Googling the problem suggests that either: 1) I need to use MOZ_ENABLE_PANGO in the environment. This has no effect and I can't find any reference to this environment variable in the mozilla source code or any dependencies. 2) It should work automatically (which it doesn't for me) My reading of the code suggests that libctl should load libmozpango which reads pango.modules and then loads both libmozpango-dvngx.so and libmozpango-thaix.so - but I'm not sure how to get libctl to load. I'm running 6.1-RC1 with a newly upgraded ports tree but I had previously tried in January with the same results. Can anyone help? -- Peter Jeremy