lyx_mirror/src/mathed
Enrico Forestieri a33f6ed840 Avoid random kerning values.
* src/mathed/MathData.C
	(MathArray::metrics): Explicitly initialize kerning_ as it may
	contain random data when the nucleus is an empty MathFont inset.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17560 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-26 00:05:28 +00:00
..
BUGS
ChangeLog fix bug 2234 2006-03-16 15:05:47 +00:00
InsetFormulaMacro.C * src/mathed/InsetMath.C: plaintext(): assert that this 2007-02-24 15:06:04 +00:00
InsetFormulaMacro.h * src/mathed/InsetMath.C: plaintext(): assert that this 2007-02-24 15:06:04 +00:00
InsetMath.C silence compiler warning 2007-03-18 16:52:54 +00:00
InsetMath.h Account for real width of nucleus when positioning superscripts in mathed 2007-03-21 17:21:59 +00:00
InsetMathAMSArray.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathAMSArray.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathArray.C remove unused stuff 2006-12-17 15:05:18 +00:00
InsetMathArray.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathBig.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathBig.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathBinom.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathBinom.h Prepare for independent decoration drawing. 2007-01-20 00:55:24 +00:00
InsetMathBoldSymbol.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathBoldSymbol.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathBox.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathBox.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathBoxed.C remove unused stuff 2006-12-17 15:05:18 +00:00
InsetMathBoxed.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathBrace.C * Dimension is a simple wrapper class again. 2006-12-04 10:45:43 +00:00
InsetMathBrace.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathCases.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathCases.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathChar.C Account for real width of nucleus when positioning superscripts in mathed 2007-03-21 17:21:59 +00:00
InsetMathChar.h Account for real width of nucleus when positioning superscripts in mathed 2007-03-21 17:21:59 +00:00
InsetMathColor.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathColor.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathCommand.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathCommand.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathComment.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathComment.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathDecoration.C remove unused stuff 2006-12-17 15:05:18 +00:00
InsetMathDecoration.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathDelim.C * Dimension is a simple wrapper class again. 2006-12-04 10:45:43 +00:00
InsetMathDelim.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathDFrac.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathDFrac.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathDiff.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathDiff.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathDim.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
InsetMathDim.h move plaintext output of math macros where it belongs 2007-02-24 18:00:13 +00:00
InsetMathDots.C * Dimension is a simple wrapper class again. 2006-12-04 10:45:43 +00:00
InsetMathDots.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathEnv.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathEnv.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathExFunc.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathExFunc.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathExInt.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathExInt.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathFBox.C remove unused stuff 2006-12-17 15:05:18 +00:00
InsetMathFBox.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathFont.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathFont.h Account for real width of nucleus when positioning superscripts in mathed 2007-03-21 17:21:59 +00:00
InsetMathFontOld.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathFontOld.h Account for kerning when positioning scripts in the MathFontOld and 2007-03-23 18:55:50 +00:00
InsetMathFrac.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathFrac.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathFracBase.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
InsetMathFracBase.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
InsetMathFrameBox.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathFrameBox.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathGrid.C Fix bug 2932 (non-UI part only) 2007-03-19 16:08:17 +00:00
InsetMathGrid.h Fix bug 2932 (non-UI part only) 2007-03-19 16:08:17 +00:00
InsetMathHull.C Fix bug 3235 2007-03-18 10:59:16 +00:00
InsetMathHull.h * src/mathed/InsetMath.C: plaintext(): assert that this 2007-02-24 15:06:04 +00:00
InsetMathKern.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathKern.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathLefteqn.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathLefteqn.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathLim.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathLim.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathMacro.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathMacro.h Prepare for independent decoration drawing. 2007-01-20 00:55:24 +00:00
InsetMathMakebox.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathMakebox.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathMatrix.C use more unicode in math 2006-10-22 10:15:23 +00:00
InsetMathMatrix.h use more unicode in math 2006-10-22 10:15:23 +00:00
InsetMathMBox.C compile fix (forgot this in rev. 17470) 2007-03-19 15:58:20 +00:00
InsetMathMBox.h * InsetMathMBox.h: 2007-02-23 08:27:03 +00:00
InsetMathNest.C revert 17429 2007-03-13 15:20:26 +00:00
InsetMathNest.h Prepare for independent decoration drawing. 2007-01-20 00:55:24 +00:00
InsetMathNumber.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathNumber.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathOverset.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathOverset.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathPar.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathPar.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathPhantom.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathPhantom.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathRef.C * src/mathed/InsetMathRef.*: remove plaintext() 2007-02-20 21:04:29 +00:00
InsetMathRef.h * src/mathed/InsetMathRef.*: remove plaintext() 2007-02-20 21:04:29 +00:00
InsetMathRoot.C fix #3295 2007-03-12 23:42:35 +00:00
InsetMathRoot.h Fix conversion of n-th roots to mathematica and octave syntax. 2007-01-07 03:28:53 +00:00
InsetMathScript.C Correctly implement rule 18a in appendix G of the TeXbook 2007-03-23 02:12:48 +00:00
InsetMathScript.h Account for real width of nucleus when positioning superscripts in mathed 2007-03-21 17:21:59 +00:00
InsetMathSize.C remove unused stuff 2006-12-17 15:05:18 +00:00
InsetMathSize.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathSpace.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathSpace.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathSplit.C use more unicode in math 2006-10-22 10:15:23 +00:00
InsetMathSplit.h use more unicode in math 2006-10-22 10:15:23 +00:00
InsetMathSqrt.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathSqrt.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathStackrel.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathStackrel.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathString.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathString.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathSubstack.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathSubstack.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathSymbol.C Correctly implement rule 18a in appendix G of the TeXbook 2007-03-23 02:12:48 +00:00
InsetMathSymbol.h Correctly implement rule 18a in appendix G of the TeXbook 2007-03-23 02:12:48 +00:00
InsetMathTabular.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathTabular.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathTFrac.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathTFrac.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathUnderset.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathUnderset.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathUnknown.C Account for kerning when positioning scripts in the MathFontOld and 2007-03-23 18:55:50 +00:00
InsetMathUnknown.h Account for kerning when positioning scripts in the MathFontOld and 2007-03-23 18:55:50 +00:00
InsetMathXArrow.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathXArrow.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathXYArrow.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathXYArrow.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathXYMatrix.C * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
InsetMathXYMatrix.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
Makefile.am some compile fixes, more to be expected 2006-10-22 11:00:04 +00:00
MathAtom.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
MathAtom.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
MathAutoCorrect.C remove unused stuff 2006-12-17 15:05:18 +00:00
MathAutoCorrect.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
MathData.C Avoid random kerning values. 2007-03-26 00:05:28 +00:00
MathData.h Account for real width of nucleus when positioning superscripts in mathed 2007-03-21 17:21:59 +00:00
MathExtern.C Pass input data to a CAS program through a file instead of piping it to stdin 2007-01-16 18:10:10 +00:00
MathExtern.h use more unicode in math 2006-10-22 10:15:23 +00:00
MathFactory.C remove unused stuff 2006-12-17 15:05:18 +00:00
MathFactory.h use more unicode in math 2006-10-22 10:15:23 +00:00
MathGridInfo.h use more unicode in math 2006-10-22 10:15:23 +00:00
MathMacroArgument.C remove unused includes 2007-02-24 18:00:42 +00:00
MathMacroArgument.h * dimension.h: new operator!=() and operator=() 2006-11-28 15:15:49 +00:00
MathMacroTable.C Add support for the esint package 2006-11-13 17:35:18 +00:00
MathMacroTable.h remove unused stuff 2006-12-17 15:05:18 +00:00
MathMacroTemplate.C move plaintext() implementation to MathMacroTemplate.C; 2007-02-25 09:27:11 +00:00
MathMacroTemplate.h move plaintext() implementation to MathMacroTemplate.C; 2007-02-25 09:27:11 +00:00
MathParser.C Fix bug 2932 (non-UI part only) 2007-03-19 16:08:17 +00:00
MathParser.h Fix bug 3034 2006-12-19 14:24:25 +00:00
MathReplace.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
MathStream.C Output a space if pendingSpace() is true and it is actually needed 2006-10-31 20:16:47 +00:00
MathStream.h use more unicode in math 2006-10-22 10:15:23 +00:00
MathSupport.C Account for real width of nucleus when positioning superscripts in mathed 2007-03-21 17:21:59 +00:00
MathSupport.h Account for real width of nucleus when positioning superscripts in mathed 2007-03-21 17:21:59 +00:00
pch.h
README
texify
TextPainter.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
TextPainter.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00

Inset 'Xyz' is implemented by 'MathXyzInset' in 'math_xyzinset.[hC]'


Inset hierarchy:

                                   MathInset
                                (abstract base)

                         /            |               \

              Dim                  Char               Symbol, Space, ...
         (thing that need       (for things formerly
          the width_/ascent_     known as characters)
          /descent_ cache)

          /             \

       Nest              Dots,  Func, ...
  (for thing with
   nested content)

        |         \

      Grid        Decoration   Delim   Frac  Macro  Root  Script  Sqrt

      /   \

 Array    Hull
         (base for eqnarray/align/...)