[Tex/LaTex] Check for missing fonts/characters in XeLaTeX

fontsxetex

Because I began to use many Unicode characters (Japanese, some unusual diacritics, etc.) I switched from LaTeX to XeLaTeX to render my documents. Unfortunately, if a font is missing, the letters are simply left out (for example, when I had forgotten to specify the font for Japanese) without any error (and I can't seem to spot a warning either). I will read the result, but I prefer to get some early warning if some character isn't available. Is there any way to get a warning about characters that have not been rendered? An error would be even better.

Best Answer

The log should list all missing characters in the form of:

Missing character: There is no <char> in font <font>

Where <char> and <font> is real character and TeX font name respectively. I usually use a simple grep call to check for such messages in the log.