<div dir="ltr">I recently reported this bug on XeTeX mailing list but with the invistigation that I have done it seems this is only the problem with x86_64 linux build and everything is just fine on i386 linux. I also have attched the output as PDF.<br>
<br><a href="http://tug.org/pipermail/xetex/2008-November/011177.html">http://tug.org/pipermail/xetex/2008-November/011177.html</a><br><br><br><pre>I am using TeXLive 2008.<br><br>I tried unicode-math package on 32 bin Linux and it is fine, but if you use<br>
that on 64 bit Linux, you will see some strange things. At first I thought<br>maybe this is a bug of a specific 64bit Linux distribution but I tried<br>various other 64 bit Linux dstribution and the same happened.<br><br>
Try:<br><br>%%%%%%%%%%%%%%%%%%%%%<br>\documentclass{article}<br>\usepackage{unicode-math}<br>\begin{document}<br>$$\sum_{n=1}$$<br>$$\sqrt{x+6}$$<br>$$X=Ae^{\sqrt{|\lambda|}x}+Be^{-\sqrt{|\lambda|}x}$$<br>\end{document}<br>
%%%%%%%%%%%%%%%%5<br><br>As you can see there are problems with every single of those formulas, but<br>there was no problem on 32 Bit Linux.<br><br>This is the log:<br>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>This is XeTeXk, Version 3.1415926-2.2-0.999.6 (Web2C 7.5.7) (format=xelatex<br>
2008.11.7) 7 NOV 2008 10:35<br>entering extended mode<br> %&-line parsing enabled.<br>**untitled-1.tex<br>(./untitled-1.tex<br>LaTeX2e <2005/12/01><br>Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang,<br>
noh<br>yphenation, german-x-2008-06-18, ngerman-x-2008-06-18, ancientgreek, ibycus,<br>ar<br>abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish,<br>dutc<br>h, esperanto, estonian, farsi, finnish, french, galician, german, ngerman,<br>
mono<br>greek, greek, hungarian, icelandic, indonesian, interlingua, irish, italian,<br>la<br>tin, lithuanian, mongolian, mongolian2a, bokmal, nynorsk, polish,<br>portuguese, r<br>omanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish,<br>
turki<br>sh, ukenglish, ukrainian, uppersorbian, welsh, loaded.<br>(/usr/local/texlive/2008/texmf-dist/tex/latex/base/article.cls<br>Document Class: article 2005/09/16 v1.4f Standard LaTeX document class<br>(/usr/local/texlive/2008/texmf-dist/tex/latex/base/size10.clo<br>
File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)<br>)<br>\<a href="http://tug.org/mailman/listinfo/xetex">c at part</a>=\count79<br>\<a href="http://tug.org/mailman/listinfo/xetex">c at section</a>=\count80<br>
\<a href="http://tug.org/mailman/listinfo/xetex">c at subsection</a>=\count81<br>\<a href="http://tug.org/mailman/listinfo/xetex">c at subsubsection</a>=\count82<br>\<a href="http://tug.org/mailman/listinfo/xetex">c at paragraph</a>=\count83<br>
\<a href="http://tug.org/mailman/listinfo/xetex">c at subparagraph</a>=\count84<br>\<a href="http://tug.org/mailman/listinfo/xetex">c at figure</a>=\count85<br>\<a href="http://tug.org/mailman/listinfo/xetex">c at table</a>=\count86<br>
\abovecaptionskip=\skip41<br>\belowcaptionskip=\skip42<br>\bibindent=\dimen102<br>)<br>(./unicode-math.sty<br>Package: unicode-math 2008/08/27 v0.3b Unicode maths in XeLaTeX<br><br>(/usr/local/texlive/2008/texmf-dist/tex/xelatex/fontspec/fontspec.sty<br>
Package: fontspec 2008/08/09 v1.18 Advanced font selection for XeLaTeX<br><br>(/usr/local/texlive/2008/texmf-dist/tex/generic/ifxetex/ifxetex.sty<br>Package: ifxetex 2008/09/18 v0.4 Provides ifxetex conditional<br>)<br>\<a href="http://tug.org/mailman/listinfo/xetex">c at zf</a>@newff=\count87<br>
\<a href="http://tug.org/mailman/listinfo/xetex">c at zf</a>@index=\count88<br>\<a href="http://tug.org/mailman/listinfo/xetex">c at zf</a>@script=\count89<br>\<a href="http://tug.org/mailman/listinfo/xetex">c at zf</a>@language=\count90<br>
<br>(/usr/local/texlive/2008/texmf-dist/tex/latex/tools/calc.sty<br>Package: calc 2005/08/06 v4.2 Infix arithmetic (KKT,FJ)<br>\<a href="http://tug.org/mailman/listinfo/xetex">calc at Acount</a>=\count91<br>\<a href="http://tug.org/mailman/listinfo/xetex">calc at Bcount</a>=\count92<br>
\<a href="http://tug.org/mailman/listinfo/xetex">calc at Adimen</a>=\dimen103<br>\<a href="http://tug.org/mailman/listinfo/xetex">calc at Bdimen</a>=\dimen104<br>\<a href="http://tug.org/mailman/listinfo/xetex">calc at Askip</a>=\skip43<br>
\<a href="http://tug.org/mailman/listinfo/xetex">calc at Bskip</a>=\skip44<br>LaTeX Info: Redefining \setlength on input line 75.<br>LaTeX Info: Redefining \addtolength on input line 76.<br>\<a href="http://tug.org/mailman/listinfo/xetex">calc at Ccount</a>=\count93<br>
\<a href="http://tug.org/mailman/listinfo/xetex">calc at Cskip</a>=\skip45<br>)<br>(/usr/local/texlive/2008/texmf-dist/tex/latex/xkeyval/xkeyval.sty<br>Package: xkeyval 2008/08/13 v2.6a package option processing (HA)<br><br>
(/usr/local/texlive/2008/texmf-dist/tex/generic/xkeyval/xkeyval.tex<br>\<a href="http://tug.org/mailman/listinfo/xetex">XKV at toks</a>=\toks14<br>\<a href="http://tug.org/mailman/listinfo/xetex">XKV at tempa</a>@toks=\toks15<br>
\<a href="http://tug.org/mailman/listinfo/xetex">XKV at depth</a>=\count94<br>File: xkeyval.tex 2008/08/13 v2.6a key=value parser (HA)<br><br>(/usr/local/texlive/2008/texmf-dist/tex/generic/xkeyval/keyval.tex)))<br>(/usr/local/texlive/2008/texmf-dist/tex/latex/base/fontenc.sty<br>
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package<br><br>(/usr/local/texlive/2008/texmf-dist/tex/xelatex/euenc/eu1enc.def<br>File: eu1enc.def 2008/03/08 v0.1d Experimental unicode font encoding<br>)<br>LaTeX Font Info: Try loading font information for EU1+lmr on input line<br>
100.<br><br><br>(/usr/local/texlive/2008/texmf-dist/tex/xelatex/euenc/eu1lmr.fd<br>File: eu1lmr.fd 2007/01/14 v1.3 Font defs for Latin Modern<br>))<br>LaTeX Info: Redefining \itshape on input line 1163.<br>LaTeX Info: Redefining \slshape on input line 1166.<br>
LaTeX Info: Redefining \scshape on input line 1169.<br>LaTeX Info: Redefining \upshape on input line 1172.<br><br>fontspec.cfg loaded.<br>(/usr/local/texlive/2008/texmf-dist/tex/xelatex/fontspec/fontspec.cfg))<br>\<a href="http://tug.org/mailman/listinfo/xetex">c at um</a>@fam=\count95<br>
<br>(./unicode-math.tex) (./unicode-math-add.tex)<br>LaTeX Info: Redefining \sqrt on input line 995.<br>) (./untitled-1.aux)<br>\openout1 = `untitled-1.aux'.<br><br>LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 3.<br>
LaTeX Font Info: ... okay on input line 3.<br>LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 3.<br>LaTeX Font Info: ... okay on input line 3.<br>LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 3.<br>
LaTeX Font Info: ... okay on input line 3.<br>LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 3.<br>LaTeX Font Info: ... okay on input line 3.<br>LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 3.<br>
LaTeX Font Info: ... okay on input line 3.<br>LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 3.<br>LaTeX Font Info: ... okay on input line 3.<br>LaTeX Font Info: Checking defaults for EU1/lmr/m/n on input line 3.<br>
LaTeX Font Info: ... okay on input line 3.<br>LaTeX Font Info: Redeclaring math version `normal' on input line 3.<br>\<a href="http://tug.org/mailman/listinfo/xetex">c at zf</a>@<a href="http://tug.org/mailman/listinfo/xetex">famc at Cambria</a> Math=\count96<br>
Package fontspec Info: Defining font family for 'Cambria Math' with options<br>[Sc<br>ript=Math,SizeFeatures={{Size=10-},{Size=7-10,Font=Cambria<br>Math,ScriptStyle},{S<br>ize=-7,Font=Cambria Math,ScriptScriptStyle}},] on input line 3.<br>
Package fontspec Info: Could not resolve font Cambria Math/B (it might not<br>exis<br>t) on input line 3.<br>Package fontspec Info: Could not resolve font Cambria Math/I (it might not<br>exis<br>t) on input line 3.<br>Package fontspec Info: Could not resolve font Cambria Math/BI (it might not<br>
exi<br>st) on input line 3.<br>Package unicode-math Info: Defining the default maths font as 'Cambria Math'<br>on<br> input line 3.<br>\<a href="http://tug.org/mailman/listinfo/xetex">symum at allsym</a>=\mathgroup4<br>
<br>(./unicode-math.tex) (./unicode-math-add.tex)<br>LaTeX Font Info: External font `cmex10' loaded for size<br>(Font) <7> on input line 4.<br>LaTeX Font Info: External font `cmex10' loaded for size<br>
(Font) <5> on input line 4.<br> [1<br><br>] (./untitled-1.aux) )<br>Here is how much of TeX's memory you used:<br> 4795 strings out of 494701<br> 68886 string characters out of 1164829<br> 225139 words of memory out of 3000000<br>
8036 multiletter control sequences out of 10000+50000<br> 3973 words of font info for 20 fonts, out of 3000000 for 5000<br> 669 hyphenation exceptions out of 8191<br> 34i,4n,58p,472b,208s stack positions out of<br>5000i,500n,10000p,200000b,50000s<br>
<br>Output written on untitled-1.pdf (1 page).<br>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br><br>Thanks<br></pre><br clear="all"><br>-- <br>``Life is not empty,<br>There is kindness, there is apple and there is faith<br><br>One day will come,<br>
and to a mendicant I will endow a jasmine''<br><br>-- Sohrab Sepehri<br>
</div>