[Tex/LaTex] Couldn’t open font map file “kanjix.map”. with MiKTeX

compilingmappingmiktexwarningsxetex

\documentclass{article}
\begin{document}
Foo
\end{document}

When compiling this MWE with MiKTeX 2.9’s xelatex, I get the following warning:

** WARNING ** Couldn't open font map file "kanjix.map".

The compilation runs through, no problems, but it bugs me that I get this message every time. It seems to come from Windows and not from xelatex, because it doesn’t appear in the log file, only in the command line. Here is the full command line output:

C:\Users\doncherry\Documents\LaTeX>xelatex bar.tex
This is XeTeX, Version 3.1415926-2.5-0.9999.3 (MiKTeX 2.9)
entering extended mode
(C:\Users\doncherry\Documents\LaTeX\bar.tex
LaTeX2e 
Babel  and hyphenation patterns for english, ancientgreek, french, germa
n, german-x-2013-05-26, greek, italian, latin, ngerman, ngerman-x-2013-05-26, r
ussian, spanish, swissgerman, ukenglish, usenglishmax, loaded.
("C:\Program Files (x86)\MiKTeX\2.9\tex\latex\base\article.cls"
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
("C:\Program Files (x86)\MiKTeX\2.9\tex\latex\base\size10.clo"))
(C:\Users\doncherry\Documents\LaTeX\bar.aux) [1]
(C:\Users\doncherry\Documents\LaTeX\bar.aux) )
** WARNING ** Couldn't open font map file "kanjix.map".

Output written on bar.pdf (1 page).
Transcript written on bar.log.

There are a few similar questions here, but none of them apply to this specific situation:

Is there any way I can get rid of this warning? (Not just silence it, but cure the cause)

Best Answer

You need a kanjix.map (an empty, dummy map is quite ok) or you should change the dvipdfmx.cfg. http://sourceforge.net/p/miktex/bugs/2286/