]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeX.cpp
Factor code for math axis height
[lyx.git] / src / LaTeX.cpp
index cfa6e1d3f96d7daf691f4da19425c140b47550cc..c4f987014d28c38f2a0441d9ff22c4dced93bf7b 100644 (file)
@@ -899,9 +899,11 @@ int LaTeX::scanLogFile(TeXErrors & terr)
                                                 from_local8bit("pdfTeX Error"),
                                                 from_local8bit(token),
                                                 child_name);
-                       } else if (prefixIs(token, "Missing character: There is no ")) {
-                               // XeTeX/LuaTeX error about missing glyph in selected font
-                               // (bug 9610)
+                       } else if (prefixIs(token, "Missing character: There is no ")
+                                          && !contains(token, "nullfont")) {
+                               // Warning about missing glyph in selected font
+                               // may be dataloss (bug 9610)
+                               // but can be ignored for 'nullfont' (bug 10394).
                                retval |= LATEX_ERROR;
                                terr.insertError(0,
                                                 from_local8bit("Missing glyphs!"),