Disable unicode math symbol replacement.

This seems to work only in some cases, so better display the symbol in ERT.
This commit is contained in:
Georg Baum 2014-03-09 10:56:05 +01:00
parent 28a1fdfa46
commit 23752e6114

View File

@ -120,6 +120,8 @@ bool canBeDisplayed(char_type c)
bool isUnicodeSymbolAvailable(docstring const & name, char_type & c)
{
// this is too fragile, e.g. prodes W instead of capital omega on OS X
#if 0
docstring cmd(from_ascii("\\") + name);
bool is_combining;
bool termination;
@ -133,6 +135,7 @@ bool isUnicodeSymbolAvailable(docstring const & name, char_type & c)
is_combining, termination);
}
return c != 0 && !is_combining;
#endif
}