[XeTeX] Getting vinculum in fractions with Asana Math and unicode-math when compiled with xelatex

Paul Vojta vojta at math.berkeley.edu
Tue Jan 4 09:36:10 CET 2011


On Tue, Jan 04, 2011 at 12:14:35AM -0800, Paul Vojta wrote:
> On Sat, Jan 01, 2011 at 10:48:46PM +0100, Ulrik Vieth wrote:
> > On 12/27/2010 08:37 AM, R (Chandra) Chandrasekhar wrote:
> > >
> > > A xetex bug report has been filed at:
> > >
> > > https://sourceforge.net/tracker/?func=detail&aid=3145819&group_id=194926&atid=951385
> > 
> > I have verified the issue on my machine, where I have both a 32-bit
> > and 64-bit binary of xetex running on a 64-bit Linux system.
> > 
> > With the same texmf tree (same versions of macros and fonts), I get 
> > correct results on 32bit and incorrect results on 64bit binaries.
> 
> If I uncomment line 196 in xetexdir/XeTeXOTMath.cpp, then it prints out
> 
> 	math_ex(25, 8) returns 0.708
> 
> on a 32-bit system, and
> 
> 	math_ex(25, 8) returns 0.000
> 
> on a 64-bit system.
> 
> --Paul Vojta, vojta at math.berkeley.edu

One more thing:

I found that this is occurring because the test on line 83 of
xetexdir/XeTeXOTMath.cpp is failing on 64-bit machines.  This line is the
line

	if (fontarea[f] == OTGR_FONT_FLAG) {

in getotmathconstant().

On 64-bit machines, fontarea[f] == 0, instead of OTGR_FONT_FLAG(=65534).

--Paul Vojta, vojta at math.berkeley.edu


More information about the XeTeX mailing list