On Wednesday 22 November 2000 18:33, [EMAIL PROTECTED] wrote:
> Hi again,
>
> Still working on my lengthy list of changes to UserGuide (for 1.1.5fix2).
> The font size changing shortcuts don't seem to be working, e.g. M-s t for
> tiny-font. Apparently, some message is being written to the lyx-buffer,
> but it is immediately overwritten by "Font: Default", so that I get only
> the slightest glimpse of it.
>
> Mike
Fixed by the following one line patch. This should be applied to both
1.1.5fix2 and to current CVS.
bufferview_func.C: 228
void FontSize(BufferView * bv, string const & size)
{
LyXFont font(LyXFont::ALL_IGNORE);
- font.setGUISize(size);
+ font.setLyXSize(size);
ToggleAndShow(bv, font);
}
Incidentally, setGUISize() is now not called by anything. Judging by the
comments in lyxfont.C, it should be removed.
/// Sets size after GUI name
LyXFont & LyXFont::setGUISize(string const & siz)
{
// CHECK this might be wrong.
/// ??????
// this is how it was how it was done in the lyx repository...
// but this does not make sense.
setColor(lcolor.getFromGUIName(siz));
return *this;
}
Angus