On Fri, Jun 15, 2007 at 08:39:14AM +0200, Stefan Schimanski wrote:
> Here is a patch for http://bugzilla.lyx.org/show_bug.cgi?id=3705. It  
> adds the kerning method to a macro to inherit the kerning from the  
> expanded form. Moreover the marker metrics calls are remove as they  
> are not drawn anyway.
> 
> Stefan
> 
> Index: src/mathed/MathMacro.h
> ===================================================================
> --- src/mathed/MathMacro.h    (Revision 18774)
> +++ src/mathed/MathMacro.h    (Arbeitskopie)
> @@ -54,6 +54,8 @@
>       ///
>       docstring name() const;
>       ///
> +     int kerning() const { return kerning_; }

Could that be 

        int kerning() const { return expanded_.kerning(); }

or is expanded_ smashed before we access its kerning?

Andre'

Reply via email to