MCPcopy Create free account
hub / github.com/NanoMichael/MicroTeX / _init_

Method _init_

src/core/formula.cpp:19–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17float TeXFormula::PIXELS_PER_POINT = 1.f;
18
19void 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
39TeXFormula::TeXFormula(const TeXParser& tp)
40 : _parser(tp.getIsPartial(), L"", this, false) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected