commit 8f4226c6e3527c16d178e53f200b8166756d0d1d
Author: Juergen Spitzmueller <[email protected]>
Date: Sat Mar 14 18:50:00 2026 +0100
Ignore null character in missing character warning
---
src/LaTeX.cpp | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/LaTeX.cpp b/src/LaTeX.cpp
index 7057c560b0..c1a855c40c 100644
--- a/src/LaTeX.cpp
+++ b/src/LaTeX.cpp
@@ -1228,10 +1228,12 @@ int LaTeX::scanLogFile(TeXErrors & terr)
child_name);
} else if (!ignore_missing_glyphs
&& prefixIs(token, "Missing character: There
is no ")
- && !contains(token, "nullfont")) {
+ && !contains(token, "nullfont")
+ && !contains(token, "^^@")) {
// Warning about missing glyph in selected font
// may be dataloss (bug 9610)
- // but can be ignored for 'nullfont' (bug
10394).
+ // but can be ignored for 'nullfont' (bug
10394),
+ // null character (^^@ or U+0000),
// as well as for ZERO WIDTH NON-JOINER
(0x200C) which is
// missing in many fonts and output for
ligature break (bug 10727).
docstring const utoken = from_local8bit(token);
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs