MathML:Fonts

Revision as of 06:52, 29 April 2010 by Fred.wang (talk | contribs) (stretchy accents, closing bug)

[DONE] Complete entries in mathfontSTIXSize1.properties

We are mainly relying on STIX Fonts to build Composite Chars and Variants. We should find other variants of characters and add entries for them.

See bug 407101

[fred] A first patch has been pushed for angle brackets and large operators that should fix some bugs reported by users.

[fred] A second patch has been pushed for stretchy accents. This fixes all stretchy bugs reported by users, at least for small sizes.

read OpenType MATH table for variants and parts of stretchy characters

The OpenType MATH table contains information about Composite Chars and Variants. The purpose is to directly read the tables in the fonts that contain this information rather than maintaining our own mathfonts*.properties.

See bug 407059 and thread on mozilla.dev.tech.mathml

Asana Math

Asana Math is available under the Open Font License and "includes almost all mathematical Unicode symbols". Unicode Mappings for Composite Chars and Variants are provided, so it would be possible to support them by adding a mathfontAsanaMath.properties. However, it would probably be better to directly read the OpenType MATH table.

See bug 407439

Microsoft Cambria Math

Windows Vista and Office 2007 come with new fonts Cambria and Cambria Math. They are also installed as part of PowerPoint Viewer 2007 and the Microsoft Office Compatibility Pack. We can get support for some Composite Chars and Variants by writing a mathfontCambriaMath.properties. However, we won't have access to the non-Unicode glyphs since there is no character maps for them. The ideal approach is to read the OpenType MATH table.

See bug 372351

Improve font installation

Various Unicode fonts are already installed by default on many systems and we should try to support them. However, we should also ensure that supported fonts are really installed so that users do not wonder why MathML is no working correctly on their system. In former versions of Mozilla, a pop-up dialog appeared and invited the user to go to the Fonts for MathML-enabled Mozilla page. This dialog was really not a pleasant UI and is now disabled. It was suggested to replace this dialog by an information bar bug 309090. Also, people proposed to help users any further by adding some kind of automated installation bug 233950 bug 295193.