On Tue, 2006-02-21 at 00:57 +0200, Martin Vermeer wrote:
> On Mon, Feb 20, 2006 at 10:15:27PM +0100, Juergen Spitzmueller wrote:
> > Martin Vermeer wrote:
>  
> > The problem is, again, that font_ has Roman family, even if the defaultFont 
> > is 
> > Sans. 
> 
> This isn't necessarily even related to applyOuterFont.
> 
> One wild idea you could try: in insettext.C, replace
> 
>      84         text_.current_font.setLanguage(bp.language);
>      85         text_.real_current_font.setLanguage(bp.language);
> 
> by the correponding statements for the whole font 
> 
>       text_.current_font = bp.getFont();
>       text_.real_current_font = bp.getFont();
> 
> - Martin

Eh, I just tested with the Slides textclass, and applyOuterFont
commented out from rowpainter (and no other changes): everything works
fine. Default font in main text is Sans, text in inserted insets is Sans
too. And the cursor is perfectly aligned.

What was the bug you were trying to fix (besides cursor alignment, which
commenting out applyOuterFont fixes)?

- Martin

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to