Re: About Text::font_ (was Re: r20001 - /lyx-devel/trunk/src/Text.h

2007-09-07 Thread Jean-Marc Lasgouttes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > Martin Vermeer wrote: >> On Sun, Sep 02, 2007 at 04:08:28PM +0200, Abdelrazak Younes wrote: >>> Could someone please elaborate on what is the purpose of this? >>> >>> Abdel. >> >> Yes... this is how the text inside an inset receives the font from the

Re: About Text::font_ (was Re: r20001 - /lyx-devel/trunk/src/Text.h

2007-09-02 Thread Abdelrazak Younes
Martin Vermeer wrote: On Sun, Sep 02, 2007 at 04:08:28PM +0200, Abdelrazak Younes wrote: Could someone please elaborate on what is the purpose of this? Abdel. Yes... this is how the text inside an inset receives the font from the surrounding textinset (as defined in its metrics info). Look at

Re: About Text::font_ (was Re: r20001 - /lyx-devel/trunk/src/Text.h

2007-09-02 Thread Martin Vermeer
On Sun, Sep 02, 2007 at 04:08:28PM +0200, Abdelrazak Younes wrote: > Could someone please elaborate on what is the purpose of this? > > Abdel. Yes... this is how the text inside an inset receives the font from the surrounding textinset (as defined in its metrics info). Look at InsetText.cpp and t

Re: About Text::font_ (was Re: r20001 - /lyx-devel/trunk/src/Text.h

2007-09-02 Thread Andre Poenitz
On Sun, Sep 02, 2007 at 04:08:28PM +0200, Abdelrazak Younes wrote: > Could someone please elaborate on what is the purpose of this? Judging from the comment it gives all insets access to some 'outermost font' duting the metrics and the painting phase. Without looking at the implementation Id expec