]> git.lyx.org Git - lyx.git/commit
Account for kerning when positioning scripts in the MathFontOld and
authorEnrico Forestieri <forenr@lyx.org>
Fri, 23 Mar 2007 18:55:50 +0000 (18:55 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Fri, 23 Mar 2007 18:55:50 +0000 (18:55 +0000)
commite53e4d06726919c0fbf386bbe8f9d62a640b74d7
treed1e8e43addd043f5d8c41382b16f30d0a848c58d
parentc79381b9aa1c0ee8d9eee58caab5c7703ebe4342
Account for kerning when positioning scripts in the MathFontOld and
MathUnknown insets.

* src/mathed/InsetMathUnknown.C
(InsetMathUnknown::metrics): Cache kerning of last char.

* src/mathed/InsetMathUnknown.h
* src/mathed/InsetMathFontOld.h
(InsetMathUnknown::kerning): New. Return cached kerning value.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17528 a592a061-630c-0410-9148-cb99ea01b6c8
src/mathed/InsetMathFontOld.h
src/mathed/InsetMathUnknown.C
src/mathed/InsetMathUnknown.h