# Font problems when using IPAexMincho

I am trying to run some fonts named IPAexMincho in latex under win 8 using MikTeX under TeXnic, but I got error messages in regard to not being able to run Kanji map when I have the following valid settings (well, valid in the sense that I tried them out with other installed fonts and they just appeared to work find.

\documentclass{article}
\usepackage{xltxtra}
\usepackage{amsmath,amssymb}
\usepackage{fontspec}
\setmainfont[Mapping=tex-text]{IPAexMincho}
\usepackage{sansmath}
\begin{document}
helo word.
\end{document}


So when I do XeLaTeX , the resulting pdf does not even get generated.

The specific warning messages I get

xelatex> Warning Couldn't open font map file "kanjix.map".
xelatex> Warning Invalid glyph name index number : 12502 (>= 12495)
xelatex> Warning Invalid version 2.0 'post' tabe
xelatex> Error Could not obtain necessary font info


I of course obtain three other warnings XeLaTeX to xparse/refedefine-command but I don't think that those are crucial for this problem.

Yes, I know there are similar seemingly helpful posts here

and some posts related to setting a new fonts in the main text. The problem though is that with other Japanese fonts, I seem not to have this problem.

Cheers,

T

-
Update: when i use option LUaLATEX--> PDF instead of XeLATEX-->PDF I seem to be able to generate the pdf. WHy ? ANy hints, comments and suggestions are greatly appreaciated. – Tom Jul 13 '13 at 4:55
I am never able to get XeLaTex to work for me, but when I use LuaTeX, it works as well. I always receive that same error about missing fonts. – dustin Jul 13 '13 at 8:14

It sounds as if you do not have the font correctly installed: looking for a map file indicates that XeTeX did not find it using the system font approach.

For me, everything works correctly if I do the following: