Hi guys Do not forget that Word etc have a different model for microtypography and how they treat font metrics and 'normal horizontal stacking' of glyph sequences. The big difference that has a major effect on how math layout is acheived is that they do not use the concept of nested boxes: everything is simply 'positioned glyphs'. There are other important differences but they are not so likely to affect math typesetting. If you get Windows 2010, I think that all the math stuff is available 'at the OS level' which I think means that it is also all in an Active-X control for developers use. But probably with zero documentattion! Finally, if you want to know about their algorithm, just ask them! Although they may reply, as I would about details like that, 'we have forgotten'. Cheers, chris
Office 2007 seems to handle sub/superscripts of big operators differently; superscript is placed immediately after base glyph while a negative kern equal to italic correction is inserted between base and subscript i.e. the reverse of what is described in the spec, and math kerning is ignored completely.
Big sigh. I'll see if I can get my hands on a copy of Word2009.
Best wishes,
Taco
-----dev-luatex-bounces@ntg.nl wrote: -----
To: dev-luatex@ntg.nl
From: dev-luatex-request@ntg.nl
Sent by: dev-luatex-bounces@ntg.nl
Date: 02/11/2009 11:00
Subject: dev-luatex Digest, Vol 46, Issue 2
Send dev-luatex mailing list submissions to
dev-luatex@ntg.nl
To subscribe or unsubscribe via the World Wide Web, visit
http://www.ntg.nl/mailman/listinfo/dev-luatex
or, via email, send a message with subject or body 'help' to
dev-luatex-request@ntg.nl
You can reach the person managing the list at
dev-luatex-owner@ntg.nl
When replying, please edit your Subject line so it is more specific
than "Re: Contents of dev-luatex digest..."
Today's Topics:
1. Re: Luatex 0.44.0 announcement (Khaled Hosny)
2. echoing system call argument to stderr (T T)
3. Re: echoing system call argument to stderr
(Manuel P?gouri?-Gonnard)
4. Re: kpse.find_file (Reinhard Kotucha)
5. Re: echoing system call argument to stderr (T T)
6. Re: echoing system call argument to stderr (Akira Kakuto)
7. Re: Luatex 0.44.0 announcement (Taco Hoekwater)
----------------------------------------------------------------------
Message: 1
Date: Sun, 1 Nov 2009 15:00:25 +0200
From: Khaled Hosny
Hi,
Khaled Hosny wrote:
On Tue, Oct 27, 2009 at 12:06:09PM +0100, Taco Hoekwater wrote:
* Math delimiters and large operators in new MATH fonts no longer apply the italic correction (this fixes placements of super- and subscripts on such items for those fonts).
This doesn't sound the correct way to me. The described algorithm in MATH specification is to set subscripts immediately after the base (without italic correction) and shift superscripts horizontally by the amount of italic correction, then apply math kerning if present, this way fonts with no math kerning will still give acceptable output and need for math kerning will be minimized.
Well, I am clearly doing something wrong, because both the old and new outputs look crappy. I'll rethink this.
Office 2007 seems to handle sub/superscripts of big operators differently; superscript is placed immediately after base glyph while a negative kern equal to italic correction is inserted between base and subscript i.e. the reverse of what is described in the spec, and math kerning is ignored completely. So I think the current positioning of superscripts is correct, only subscripts need to be fixed, though I'm not really sure about any of those conclusions :) Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer