]> git.lyx.org Git - features.git/blobdiff - src/mathed/MathFactory.cpp
Disable unicode math symbol replacement.
[features.git] / src / mathed / MathFactory.cpp
index 961e70e9f459250191b717d16e5d228d006c76b1..274acd997f390cf4d9b2c1d49d7feb23aafd5a0e 100644 (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
 }