I'm trying to use the following code to generate my xelatex PDF document. The main problem is that I get the error
! Internal error: bad native font flag in `map_char_to_glyph'
when I compile my document
\documentclass[a4paper,11pt]{article}
% XeLaTeX
\usepackage{polyglossia}
\setmainlanguage{english}
\usepackage{unicode-math}
\usepackage{fontspec}
\setmainfont{Neo Euler}
\setmathfont{Neo Euler}
\usepackage{blindtext}
\blindmathtrue
\begin{document}
\blindmathpaper
\blindmathpaper
\end{document}
The problem goes away if I remove the line
\setmathfont{Neo Euler}
but then I get Latin Modern Math fonts, which is not ideal. So, my question is, how to properly use Neo Euler Math fonts with XeLaTeX. I'm using TexLive 2015.
\blindmathpaperthat triggers the error. – egreg Feb 07 '16 at 19:24\usepackage[math-style=upright]{unicode-math}which fixes most of the things, except the facts that the double quotes are now replaced by square boxes. This happens even when there is no blindtext package used. – Feb 07 '16 at 19:26