mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Report missing characters on conversion with XeTeX or LuaTeX (bug #9610)
As discussed on trac, we treat this as error, since it severely corrupts the output (dataloss).
This commit is contained in:
parent
a6fdc1196b
commit
664ef2c459
@ -883,6 +883,14 @@ int LaTeX::scanLogFile(TeXErrors & terr)
|
|||||||
from_local8bit("pdfTeX Error"),
|
from_local8bit("pdfTeX Error"),
|
||||||
from_local8bit(token),
|
from_local8bit(token),
|
||||||
child_name);
|
child_name);
|
||||||
|
} else if (prefixIs(token, "Missing character: There is no ")) {
|
||||||
|
// XeTeX/LuaTeX error about missing glyph in selected font
|
||||||
|
// (bug 9610)
|
||||||
|
retval |= LATEX_ERROR;
|
||||||
|
terr.insertError(0,
|
||||||
|
from_local8bit("Missing glyphs!"),
|
||||||
|
from_local8bit(token),
|
||||||
|
child_name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -46,7 +46,7 @@ QRegExp exprInfo("^(Document Class:|LaTeX Font Info:|File:|Package:|Language:|Un
|
|||||||
// Warnings
|
// Warnings
|
||||||
QRegExp exprWarning("^(LaTeX Warning|LaTeX Font Warning|Package [\\w\\.]+ Warning|Class \\w+ Warning|Warning--|.*> WARN - ).*$");
|
QRegExp exprWarning("^(LaTeX Warning|LaTeX Font Warning|Package [\\w\\.]+ Warning|Class \\w+ Warning|Warning--|.*> WARN - ).*$");
|
||||||
// Errors
|
// Errors
|
||||||
QRegExp exprError("^(!|.*---line [0-9]+ of file|.*> FATAL - |.*> ERROR - ).*$");
|
QRegExp exprError("^(!|.*---line [0-9]+ of file|.*> FATAL - |.*> ERROR - |Missing character: There is no ).*$");
|
||||||
|
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user