speedup math init time when symbol font is not available (qt)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10669 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2005-12-19 11:03:07 +00:00
parent 863e0fc180
commit 5858a82efa
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-12-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* symbols: avoid use of symbol font if cmsy is available.
Saves 3 seconds in initMath() for me (qt, ~20.000 fonts)
2005-12-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org> 2005-12-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* CREDITS: * CREDITS:

View File

@ -815,16 +815,16 @@ endif
\def\AA{\AA}{Å} \def\AA{\AA}{Å}
\def\O{\O}{Ø} \def\O{\O}{Ø}
textdegree lyxsymbol 176 0 mathord x
iffont cmsy iffont cmsy
# The \sim is placed too high... # The \sim is placed too high...
\def\cong{\stackrel{_\sim}{=}} \def\cong{\stackrel{_\sim}{=}}
lyxsurd cmsy 112 0 mathord x lyxsurd cmsy 112 0 mathord x
\def\surd{^\lyxsurd} \def\surd{^\lyxsurd}
\def\textdegree{\kern-1mu^{\circ}\kern-4mu}
else else
cong lyxsymbol 64 0 mathrel x cong lyxsymbol 64 0 mathrel x
surd lyxsymbol 214 0 mathord x surd lyxsymbol 214 0 mathord x
textdegree lyxsymbol 176 0 mathord x
endif endif
#"{\hat{}} #"{\hat{}}