[XeTeX] Unable to read OpenType/TrueType unicode cmap table.
Nannilam, Baskaran (TNQSoftware)
n.k.baskaran at tnqsoftware.co.in
Fri Mar 1 10:03:28 CET 2013
Hi,
I am new to XeLaTeX
I have installed MiKTeX latest version with Xelatex.
I need some math symbols in STIXGeneral font. Here I attached small file.
When I compile the below tex coding..
The following error comes
** WARNING ** Unable to read OpenType/TrueType unicode cmap table.
** WARNING ** Failed to load ToUnicode CMap for font "STIXGeneral-Regular"
Note: When I call \newfontfamily\testfont{STIXGeneral}, It works fine:
Kindly suggest and guide me
Regards
Baskar
%-----------------------------------------------TeX file
start --------------------------------------------------
\documentclass{article}
\usepackage{mathspec}
\DeclareFontFamily{EU1}{STIXGeneral}{}
\DeclareSymbolFont{operator}{EU1}{STIXGeneral}{m}{n}
\SetSymbolFont{operator} {normal}{EU1}{STIXGeneral}{m}{n}
\DeclareFontShape{EU1}{STIXGeneral}{m}{n}%
{<-5.5> "[STIXGeneral]:mapping=tex-text" <5.5-6.5>
"[STIXGeneral]:mapping=tex-text"
<6.5-7.5> "[STIXGeneral]:mapping=tex-text" <7.5-8.5>
"[STIXGeneral]:mapping=tex-text"
<8.5-9.5> "[STIXGeneral]:mapping=tex-text" <9.5-11>
"[STIXGeneral]:mapping=tex-text"
<11-15> "[STIXGeneral]:mapping=tex-text"
<15-> "[STIXGeneral]:mapping=tex-text"
}{}
\DeclareMathSymbol{+}{\mathbin} {operator}{'024}
\DeclareMathSymbol{-}{\mathbin} {operator}{'020}
\begin{document}
This is the text. The {\bfseries\itshape bolditalic}
vvvvvv\textit{textit}mmmmm\textbf{textbf} yyyyyy
$$(abc+bzc-\sin\theta)\left[\frac{a}{b}\longrightarrow\right]$$
\end{document}
%-----------------------------------------------TeX file
end--------------------------------------------------
More information about the XeTeX
mailing list