[4670] in Release_7.7_team

home help back first fref pref prev next nref lref last post

Re: Xft-enabled Mozilla

daemon@ATHENA.MIT.EDU (Robert A Basch)
Thu Jul 8 19:19:27 2004

From: Robert A Basch <rbasch@MIT.EDU>
To: release-team@mit.edu
In-Reply-To: <1089232674.3305.13.camel@anhedonia.mit.edu>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Message-Id: <1089328761.12627.54.camel@anhedonia.mit.edu>
Mime-Version: 1.0
Date: Thu, 08 Jul 2004 19:19:22 -0400

On Wed, 2004-07-07 at 16:37, I wrote:
> I have found that the Xft-enabled Mozilla build has issues with
> MathML; at a minimum, it looks like we will need to add a different
> set of fonts for MathML.

Here is a summary of the situation:

1) Our current set of MathML fonts do not work in the Xft-enabled
    Mozilla.

2) There are TrueType fonts available which WILL work, and seem to
    offer an improvement in rendering MathML, particularly on
    Solaris.

3) I don't believe we can distribute the fonts freely, though
    ideally we would install them locally and add their directory
    to fonts.conf.  (With the current fonts, we handle this by
    keeping the fonts in a protected (system:authuser) directory
    in infoagents, and adding the directory to the X font path
    in a script invoked by the mozilla wrapper.  I don't think we
    want to add such a directory to fonts.conf).

4) With the new fonts configured, Mozilla still complains about
    missing the Symbol font, though we have the "Standard Symbols L"
    font installed.  I have not been able to set up an alias which
    prevents Mozilla from complaining, but we could silence it by
    changing font.mathfont-family in the mathfont.properties file.

5) On Solaris, we need to apply the Xft fixes I submitted today;
    otherwise, Mozilla crashes frequently on MathML pages.

If we can figure out how to deal with the packaging and distribution
issues (see (3) above), I think the Xft-enabled build would be a win
for MathML.

For more information, see:

	http://bugzilla.mozilla.org/show_bug.cgi?id=128153#c81

	http://www.mozilla.org/projects/mathml/fonts/

Bob


home help back first fref pref prev next nref lref last post