<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 27/05/2010 05:55, Will Robertson wrote:
<blockquote cite="mid:BE12D9D1-0048-43D7-9F51-96FC361CF2DF@gmail.com"
 type="cite">
  <pre wrap="">Dear all,

I am almost to release my long-delayed "unicode-math" package, but an issue has arisen that I don't know how to debug. It is only reproducible under Windows while using the Asana Math font; a different font or a different platform gives acceptable output.

The system being used is Windows Vista with:

  </pre>
  <blockquote type="cite">
    <pre wrap="">This is XeTeX, Version 3.1415926-2.2-0.9995.1 (MiKTeX 2.8) (preloaded format=xelatex 2010.5.20)  25 MAY 2010 16:32
    </pre>
  </blockquote>
  <pre wrap="">
After selecting the maths font, the output is garbled; each glyph is off-by-one:

  </pre>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>


I've attached a minimal document with all the necessary files to reproduce this problem. Would anyone (especially with Windows) be able to try this out? Or is this a known problem that I've forgotten about?

-- Will


  </pre>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>


--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
  <a class="moz-txt-link-freetext" href="http://tug.org/mailman/listinfo/xetex">http://tug.org/mailman/listinfo/xetex</a>
  </pre>
</blockquote>
<br>
Hi,<br>
<br>
I've just tested it on Windows 7 x64, with a fully updated MiKTeX 2.8
(MiKTeX-XeTeX 2.8.3758 (0.9995.1 texlive svn 15079) (MiKTeX 2.8)).<br>
<br>
I recall having this exact problem before with Asana Math and
(possibly) Neo Euler, but not Cambria Math.<br>
<br>
I removed the earlier installed version of unicode-math, and ran your
test case and it now works fine for me. However, if I install the copy
of Asana-Math.otf you provided locally and replace
\setmathfont{Asana-Math.otf} with \setmathfont{Asana Math} (i.e. using
the version from my Fonts folder instead) the problem returns and I get
the output you had in your original email. I've also retested this with
Cambria Math and Neo Euler (not using local copies, but from the Fonts
folder), both of which work correctly.<br>
<br>
Hopefully this is of some use in diagnosing what's going wrong. If
you'd like any further test cases run, let me know.<br>
<br>
Also, I'd just like to say thanks for all the time you've put into
unicode-math. It's really a fantastic package!<br>
<br>
Regards,<br>
<br>
Mike<br>
</body>
</html>