[webkit-reviews] review requested: [Bug 130322] Operator stretching: use size variants and glyph assembly from the MATH data : [Attachment 228402] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 2 09:33:01 PDT 2014


Frédéric Wang <fred.wang at free.fr> has asked  for review:
Bug 130322: Operator stretching: use size variants and glyph assembly from the
MATH data
https://bugs.webkit.org/show_bug.cgi?id=130322

Attachment 228402: Patch
https://bugs.webkit.org/attachment.cgi?id=228402&action=review

------- Additional Comments from Frédéric Wang <fred.wang at free.fr>
I'm asking review for this patch. However, I see at least three points to
consider:

1) I've tested the operator stretching with the new fonts on the EFL and GTK
ports. Ideally, I'd like someone to test the Windows/Mac ports before taking
this patch: http://www.maths-informatique-jeux.com/ulule/mathml_torture_test/.
Also, that would be great to have the pixel references on all platforms.

2) At the moment, the patch does not change the default math fonts and still
relies on the old fonts to do operator stretching with unicode constructions.
I'd like to set MATH fonts as the default instead as they will be important for
future work. However, I want to be sure that they are installed on Apple's
operating systems. Who should I contact to do that?

  * As I understand the old STIXGeneral set (without MATH table) is installed
by default on Mac, but I don't know if that's the case with the STIXWord set
(with the MATH table). Event if that's the case, the official STIX Word has
many bugs and it's not clear when they will be fixed so perhaps the fork
https://github.com/khaledhosny/xits-math will be better if we want a STIX-like
font.

  * The special case of iOS in mathml.css seems to say that it just has the
Symbol font, which I don't think has a MATH table. Would it be possible to
install a MATH font on iOS too (or add a table to the Symbol font)? Although
I'm not a font designer, I can help to do that.

  * Many people are used to the TeX's default font (Computer Modern). So I
think installing Latin Modern Math
(http://www.gust.org.pl/projects/e-foundry/lm-math) on iOS/Mac and setting it
as the default would be the best option. It is provided by default with most
TeXLive distributions.

3) I added WOFF fonts in LayoutTests/ (Latin Modern Math and a custom font from
a Mozilla test suite) to check the new MATH support. If we want Latin Modern
Math to become the default later, would it be possible to install that font on
the try bot machines, so that we don't need to provide it as a Web font?


More information about the webkit-reviews mailing list