| 17 | float TeXFormula::PIXELS_PER_POINT = 1.f; |
| 18 | |
| 19 | void TeXFormula::_init_() { |
| 20 | #ifdef HAVE_LOG |
| 21 | __dbg("%s\n", "init formula"); |
| 22 | #endif // HAVE_LOG |
| 23 | // Register external alphabet |
| 24 | DefaultTeXFont::registerAlphabet(new CyrillicRegistration()); |
| 25 | DefaultTeXFont::registerAlphabet(new GreekRegistration()); |
| 26 | #ifdef HAVE_LOG |
| 27 | __log << "elements in _symbolMappings:" << endl; |
| 28 | for (auto i : _symbolMappings) |
| 29 | __log << "\t" << i.first << "->" << i.second << endl; |
| 30 | __log << "elements in _symbolTextMappings:" << endl; |
| 31 | for (auto i : _symbolTextMappings) |
| 32 | __log << "\t" << i.first << "->" << i.second << endl; |
| 33 | __log << "elements in _symbolFormulaMappings:" << endl; |
| 34 | for (auto i : _symbolFormulaMappings) |
| 35 | __log << "\t" << i.first << "->" << i.second << endl; |
| 36 | #endif // HAVE_LOG |
| 37 | } |
| 38 | |
| 39 | TeXFormula::TeXFormula(const TeXParser& tp) |
| 40 | : _parser(tp.getIsPartial(), L"", this, false) { |
nothing calls this directly
no outgoing calls
no test coverage detected