mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
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:
parent
28a1fdfa46
commit
23752e6114
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user